%PDF- %PDF-
Direktori : /var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/templates/order/ |
Current File : //var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/templates/order/form-tracking.php |
<?php /** * Order tracking form * * This template can be overridden by copying it to yourtheme/kkart/order/form-tracking.php. * * HOWEVER, on occasion Kkart will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and * the readme will list any important changes. * * @see https://docs.kkart.com/document/template-structure/ * @package Kkart\Templates * @version 3.6.0 */ defined( 'ABSPATH' ) || exit; global $post; ?> <form action="<?php echo esc_url( get_permalink( $post->ID ) ); ?>" method="post" class="kkart-form kkart-form-track-order track_order"> <p><?php esc_html_e( 'To track your order please enter your Order ID in the box below and press the "Track" button. This was given to you on your receipt and in the confirmation email you should have received.', 'kkart' ); ?></p> <p class="form-row form-row-first"><label for="orderid"><?php esc_html_e( 'Order ID', 'kkart' ); ?></label> <input class="input-text" type="text" name="orderid" id="orderid" value="<?php echo isset( $_REQUEST['orderid'] ) ? esc_attr( wp_unslash( $_REQUEST['orderid'] ) ) : ''; ?>" placeholder="<?php esc_attr_e( 'Found in your order confirmation email.', 'kkart' ); ?>" /></p><?php // @codingStandardsIgnoreLine ?> <p class="form-row form-row-last"><label for="order_email"><?php esc_html_e( 'Billing email', 'kkart' ); ?></label> <input class="input-text" type="text" name="order_email" id="order_email" value="<?php echo isset( $_REQUEST['order_email'] ) ? esc_attr( wp_unslash( $_REQUEST['order_email'] ) ) : ''; ?>" placeholder="<?php esc_attr_e( 'Email you used during checkout.', 'kkart' ); ?>" /></p><?php // @codingStandardsIgnoreLine ?> <div class="clear"></div> <p class="form-row"><button type="submit" class="button" name="track" value="<?php esc_attr_e( 'Track', 'kkart' ); ?>"><?php esc_html_e( 'Track', 'kkart' ); ?></button></p> <?php wp_nonce_field( 'kkart-order_tracking', 'kkart-order-tracking-nonce' ); ?> </form>