dvadf
File manager - Edit - /home/theblueo/tv/wp-includes/pomo/lib/checkout.tar
Back
payment.php 0000666 00000005213 15214213707 0006741 0 ustar 00 <?php /** * Checkout Payment Section * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/payment.php. * * HOWEVER, on occasion WooCommerce 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.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.5.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! is_ajax() ) { do_action( 'woocommerce_review_order_before_payment' ); } ?> <div id="payment" class="woocommerce-checkout-payment"> <?php if ( WC()->cart->needs_payment() ) : ?> <ul class="wc_payment_methods payment_methods methods"> <?php if ( ! empty( $available_gateways ) ) { foreach ( $available_gateways as $gateway ) { wc_get_template( 'checkout/payment-method.php', array( 'gateway' => $gateway ) ); } } else { echo '<li>' . apply_filters( 'woocommerce_no_available_payment_methods_message', WC()->customer->get_country() ? __( 'Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' ) : __( 'Please fill in your details above to see available payment methods.', 'woocommerce' ) ) . '</li>'; } ?> </ul> <?php endif; ?> <div class="form-row place-order"> <noscript> <?php _e( 'Since your browser does not support JavaScript, or it is disabled, please ensure you click the <em>Update Totals</em> button before placing your order. You may be charged more than the amount stated above if you fail to do so.', 'woocommerce' ); ?> <br/><input type="submit" class="button alt" name="woocommerce_checkout_update_totals" value="<?php esc_attr_e( 'Update totals', 'woocommerce' ); ?>" /> </noscript> <?php wc_get_template( 'checkout/terms.php' ); ?> <?php do_action( 'woocommerce_review_order_before_submit' ); ?> <?php echo apply_filters( 'woocommerce_order_button_html', '<input type="submit" class="button alt" name="woocommerce_checkout_place_order" id="place_order" value="' . esc_attr( $order_button_text ) . '" data-value="' . esc_attr( $order_button_text ) . '" />' ); ?> <?php do_action( 'woocommerce_review_order_after_submit' ); ?> <?php wp_nonce_field( 'woocommerce-process_checkout' ); ?> </div> </div> <?php if ( ! is_ajax() ) { do_action( 'woocommerce_review_order_after_payment' ); } form-billing.php 0000666 00000005222 15214213707 0007645 0 ustar 00 <?php /** * Checkout billing information form * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/form-billing.php. * * HOWEVER, on occasion WooCommerce 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.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.1.2 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /** @global WC_Checkout $checkout */ ?> <div class="woocommerce-billing-fields"> <?php if ( wc_ship_to_billing_address_only() && WC()->cart->needs_shipping() ) : ?> <h3><?php _e( 'Billing & Shipping', 'woocommerce' ); ?></h3> <?php else : ?> <h3><?php _e( 'Billing Details', 'woocommerce' ); ?></h3> <?php endif; ?> <?php do_action( 'woocommerce_before_checkout_billing_form', $checkout ); ?> <?php foreach ( $checkout->checkout_fields['billing'] as $key => $field ) : ?> <?php woocommerce_form_field( $key, $field, $checkout->get_value( $key ) ); ?> <?php endforeach; ?> <?php do_action('woocommerce_after_checkout_billing_form', $checkout ); ?> <?php if ( ! is_user_logged_in() && $checkout->enable_signup ) : ?> <?php if ( $checkout->enable_guest_checkout ) : ?> <p class="form-row form-row-wide create-account"> <input class="input-checkbox" id="createaccount" <?php checked( ( true === $checkout->get_value( 'createaccount' ) || ( true === apply_filters( 'woocommerce_create_account_default_checked', false ) ) ), true) ?> type="checkbox" name="createaccount" value="1" /> <label for="createaccount" class="checkbox"><?php _e( 'Create an account?', 'woocommerce' ); ?></label> </p> <?php endif; ?> <?php do_action( 'woocommerce_before_checkout_registration_form', $checkout ); ?> <?php if ( ! empty( $checkout->checkout_fields['account'] ) ) : ?> <div class="create-account"> <p><?php _e( 'Create an account by entering the information below. If you are a returning customer please login at the top of the page.', 'woocommerce' ); ?></p> <?php foreach ( $checkout->checkout_fields['account'] as $key => $field ) : ?> <?php woocommerce_form_field( $key, $field, $checkout->get_value( $key ) ); ?> <?php endforeach; ?> <div class="clear"></div> </div> <?php endif; ?> <?php do_action( 'woocommerce_after_checkout_registration_form', $checkout ); ?> <?php endif; ?> </div> form-shipping.php 0000666 00000004562 15214213707 0010054 0 ustar 00 <?php /** * Checkout shipping information form * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/form-shipping.php. * * HOWEVER, on occasion WooCommerce 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.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.2.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } ?> <div class="woocommerce-shipping-fields"> <?php if ( true === WC()->cart->needs_shipping_address() ) : ?> <h3 id="ship-to-different-address"> <label for="ship-to-different-address-checkbox" class="checkbox"><?php _e( 'Ship to a different address?', 'woocommerce' ); ?></label> <input id="ship-to-different-address-checkbox" class="input-checkbox" <?php checked( apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 ), 1 ); ?> type="checkbox" name="ship_to_different_address" value="1" /> </h3> <div class="shipping_address"> <?php do_action( 'woocommerce_before_checkout_shipping_form', $checkout ); ?> <?php foreach ( $checkout->checkout_fields['shipping'] as $key => $field ) : ?> <?php woocommerce_form_field( $key, $field, $checkout->get_value( $key ) ); ?> <?php endforeach; ?> <?php do_action( 'woocommerce_after_checkout_shipping_form', $checkout ); ?> </div> <?php endif; ?> <?php do_action( 'woocommerce_before_order_notes', $checkout ); ?> <?php if ( apply_filters( 'woocommerce_enable_order_notes_field', get_option( 'woocommerce_enable_order_comments', 'yes' ) === 'yes' ) ) : ?> <?php if ( ! WC()->cart->needs_shipping() || wc_ship_to_billing_address_only() ) : ?> <h3><?php _e( 'Additional Information', 'woocommerce' ); ?></h3> <?php endif; ?> <?php foreach ( $checkout->checkout_fields['order'] as $key => $field ) : ?> <?php woocommerce_form_field( $key, $field, $checkout->get_value( $key ) ); ?> <?php endforeach; ?> <?php endif; ?> <?php do_action( 'woocommerce_after_order_notes', $checkout ); ?> </div> payment-method.php 0000666 00000002745 15214213707 0010226 0 ustar 00 <?php /** * Output a single payment method * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/payment-method.php. * * HOWEVER, on occasion WooCommerce 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.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.3.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } ?> <li class="wc_payment_method payment_method_<?php echo $gateway->id; ?>"> <input id="payment_method_<?php echo $gateway->id; ?>" type="radio" class="input-radio" name="payment_method" value="<?php echo esc_attr( $gateway->id ); ?>" <?php checked( $gateway->chosen, true ); ?> data-order_button_text="<?php echo esc_attr( $gateway->order_button_text ); ?>" /> <label for="payment_method_<?php echo $gateway->id; ?>"> <?php echo $gateway->get_title(); ?> <?php echo $gateway->get_icon(); ?> </label> <?php if ( $gateway->has_fields() || $gateway->get_description() ) : ?> <div class="payment_box payment_method_<?php echo $gateway->id; ?>" <?php if ( ! $gateway->chosen ) : ?>style="display:none;"<?php endif; ?>> <?php $gateway->payment_fields(); ?> </div> <?php endif; ?> </li> form-checkout.php 0000666 00000004167 15214213707 0010041 0 ustar 00 <?php /** * Checkout Form * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/form-checkout.php. * * HOWEVER, on occasion WooCommerce 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.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.3.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } wc_print_notices(); do_action( 'woocommerce_before_checkout_form', $checkout ); // If checkout registration is disabled and not logged in, the user cannot checkout if ( ! $checkout->enable_signup && ! $checkout->enable_guest_checkout && ! is_user_logged_in() ) { echo apply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'woocommerce' ) ); return; } ?> <form name="checkout" method="post" class="checkout woocommerce-checkout" action="<?php echo esc_url( wc_get_checkout_url() ); ?>" enctype="multipart/form-data"> <?php if ( sizeof( $checkout->checkout_fields ) > 0 ) : ?> <?php do_action( 'woocommerce_checkout_before_customer_details' ); ?> <div class="col2-set" id="customer_details"> <div class="col-1"> <?php do_action( 'woocommerce_checkout_billing' ); ?> </div> <div class="col-2"> <?php do_action( 'woocommerce_checkout_shipping' ); ?> </div> </div> <?php do_action( 'woocommerce_checkout_after_customer_details' ); ?> <?php endif; ?> <h3 id="order_review_heading"><?php _e( 'Your order', 'woocommerce' ); ?></h3> <?php do_action( 'woocommerce_checkout_before_order_review' ); ?> <div id="order_review" class="woocommerce-checkout-review-order"> <?php do_action( 'woocommerce_checkout_order_review' ); ?> </div> <?php do_action( 'woocommerce_checkout_after_order_review' ); ?> </form> <?php do_action( 'woocommerce_after_checkout_form', $checkout ); ?> review-order.php 0000666 00000010267 15214213707 0007703 0 ustar 00 <?php /** * Review order table * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/review-order.php. * * HOWEVER, on occasion WooCommerce 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.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.3.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } ?> <table class="shop_table woocommerce-checkout-review-order-table"> <thead> <tr> <th class="product-name"><?php _e( 'Product', 'woocommerce' ); ?></th> <th class="product-total"><?php _e( 'Total', 'woocommerce' ); ?></th> </tr> </thead> <tbody> <?php do_action( 'woocommerce_review_order_before_cart_contents' ); foreach ( WC()->cart->get_cart() as $cart_item_key => $cart_item ) { $_product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key ); if ( $_product && $_product->exists() && $cart_item['quantity'] > 0 && apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) ) { ?> <tr class="<?php echo esc_attr( apply_filters( 'woocommerce_cart_item_class', 'cart_item', $cart_item, $cart_item_key ) ); ?>"> <td class="product-name"> <?php echo apply_filters( 'woocommerce_cart_item_name', $_product->get_title(), $cart_item, $cart_item_key ) . ' '; ?> <?php echo apply_filters( 'woocommerce_checkout_cart_item_quantity', ' <strong class="product-quantity">' . sprintf( '× %s', $cart_item['quantity'] ) . '</strong>', $cart_item, $cart_item_key ); ?> <?php echo WC()->cart->get_item_data( $cart_item ); ?> </td> <td class="product-total"> <?php echo apply_filters( 'woocommerce_cart_item_subtotal', WC()->cart->get_product_subtotal( $_product, $cart_item['quantity'] ), $cart_item, $cart_item_key ); ?> </td> </tr> <?php } } do_action( 'woocommerce_review_order_after_cart_contents' ); ?> </tbody> <tfoot> <tr class="cart-subtotal"> <th><?php _e( 'Subtotal', 'woocommerce' ); ?></th> <td><?php wc_cart_totals_subtotal_html(); ?></td> </tr> <?php foreach ( WC()->cart->get_coupons() as $code => $coupon ) : ?> <tr class="cart-discount coupon-<?php echo esc_attr( sanitize_title( $code ) ); ?>"> <th><?php wc_cart_totals_coupon_label( $coupon ); ?></th> <td><?php wc_cart_totals_coupon_html( $coupon ); ?></td> </tr> <?php endforeach; ?> <?php if ( WC()->cart->needs_shipping() && WC()->cart->show_shipping() ) : ?> <?php do_action( 'woocommerce_review_order_before_shipping' ); ?> <?php wc_cart_totals_shipping_html(); ?> <?php do_action( 'woocommerce_review_order_after_shipping' ); ?> <?php endif; ?> <?php foreach ( WC()->cart->get_fees() as $fee ) : ?> <tr class="fee"> <th><?php echo esc_html( $fee->name ); ?></th> <td><?php wc_cart_totals_fee_html( $fee ); ?></td> </tr> <?php endforeach; ?> <?php if ( wc_tax_enabled() && 'excl' === WC()->cart->tax_display_cart ) : ?> <?php if ( 'itemized' === get_option( 'woocommerce_tax_total_display' ) ) : ?> <?php foreach ( WC()->cart->get_tax_totals() as $code => $tax ) : ?> <tr class="tax-rate tax-rate-<?php echo sanitize_title( $code ); ?>"> <th><?php echo esc_html( $tax->label ); ?></th> <td><?php echo wp_kses_post( $tax->formatted_amount ); ?></td> </tr> <?php endforeach; ?> <?php else : ?> <tr class="tax-total"> <th><?php echo esc_html( WC()->countries->tax_or_vat() ); ?></th> <td><?php wc_cart_totals_taxes_total_html(); ?></td> </tr> <?php endif; ?> <?php endif; ?> <?php do_action( 'woocommerce_review_order_before_order_total' ); ?> <tr class="order-total"> <th><?php _e( 'Total', 'woocommerce' ); ?></th> <td><?php wc_cart_totals_order_total_html(); ?></td> </tr> <?php do_action( 'woocommerce_review_order_after_order_total' ); ?> </tfoot> </table> thankyou.php 0000666 00000005363 15214213707 0007134 0 ustar 00 <?php /** * Thankyou page * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/thankyou.php. * * HOWEVER, on occasion WooCommerce 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.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.2.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( $order ) : ?> <?php if ( $order->has_status( 'failed' ) ) : ?> <p class="woocommerce-thankyou-order-failed"><?php _e( 'Unfortunately your order cannot be processed as the originating bank/merchant has declined your transaction. Please attempt your purchase again.', 'woocommerce' ); ?></p> <p class="woocommerce-thankyou-order-failed-actions"> <a href="<?php echo esc_url( $order->get_checkout_payment_url() ); ?>" class="button pay"><?php _e( 'Pay', 'woocommerce' ) ?></a> <?php if ( is_user_logged_in() ) : ?> <a href="<?php echo esc_url( wc_get_page_permalink( 'myaccount' ) ); ?>" class="button pay"><?php _e( 'My Account', 'woocommerce' ); ?></a> <?php endif; ?> </p> <?php else : ?> <p class="woocommerce-thankyou-order-received"><?php echo apply_filters( 'woocommerce_thankyou_order_received_text', __( 'Thank you. Your order has been received.', 'woocommerce' ), $order ); ?></p> <ul class="woocommerce-thankyou-order-details order_details"> <li class="order"> <?php _e( 'Order Number:', 'woocommerce' ); ?> <strong><?php echo $order->get_order_number(); ?></strong> </li> <li class="date"> <?php _e( 'Date:', 'woocommerce' ); ?> <strong><?php echo date_i18n( get_option( 'date_format' ), strtotime( $order->order_date ) ); ?></strong> </li> <li class="total"> <?php _e( 'Total:', 'woocommerce' ); ?> <strong><?php echo $order->get_formatted_order_total(); ?></strong> </li> <?php if ( $order->payment_method_title ) : ?> <li class="method"> <?php _e( 'Payment Method:', 'woocommerce' ); ?> <strong><?php echo $order->payment_method_title; ?></strong> </li> <?php endif; ?> </ul> <div class="clear"></div> <?php endif; ?> <?php do_action( 'woocommerce_thankyou_' . $order->payment_method, $order->id ); ?> <?php do_action( 'woocommerce_thankyou', $order->id ); ?> <?php else : ?> <p class="woocommerce-thankyou-order-received"><?php echo apply_filters( 'woocommerce_thankyou_order_received_text', __( 'Thank you. Your order has been received.', 'woocommerce' ), null ); ?></p> <?php endif; ?> form-pay.php 0000666 00000007260 15214213707 0007022 0 ustar 00 <?php /** * Pay for order form * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/form-pay.php. * * HOWEVER, on occasion WooCommerce 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.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.5.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } ?> <form id="order_review" method="post"> <table class="shop_table"> <thead> <tr> <th class="product-name"><?php _e( 'Product', 'woocommerce' ); ?></th> <th class="product-quantity"><?php _e( 'Qty', 'woocommerce' ); ?></th> <th class="product-total"><?php _e( 'Totals', 'woocommerce' ); ?></th> </tr> </thead> <tbody> <?php if ( sizeof( $order->get_items() ) > 0 ) : ?> <?php foreach ( $order->get_items() as $item_id => $item ) : ?> <?php if ( ! apply_filters( 'woocommerce_order_item_visible', true, $item ) ) { continue; } ?> <tr class="<?php echo esc_attr( apply_filters( 'woocommerce_order_item_class', 'order_item', $item, $order ) ); ?>"> <td class="product-name"> <?php echo apply_filters( 'woocommerce_order_item_name', esc_html( $item['name'] ), $item, false ); do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order ); $order->display_item_meta( $item ); do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order ); ?> </td> <td class="product-quantity"><?php echo apply_filters( 'woocommerce_order_item_quantity_html', ' <strong class="product-quantity">' . sprintf( '× %s', esc_html( $item['qty'] ) ) . '</strong>', $item ); ?></td> <td class="product-subtotal"><?php echo $order->get_formatted_line_subtotal( $item ); ?></td> </tr> <?php endforeach; ?> <?php endif; ?> </tbody> <tfoot> <?php if ( $totals = $order->get_order_item_totals() ) : ?> <?php foreach ( $totals as $total ) : ?> <tr> <th scope="row" colspan="2"><?php echo $total['label']; ?></th> <td class="product-total"><?php echo $total['value']; ?></td> </tr> <?php endforeach; ?> <?php endif; ?> </tfoot> </table> <div id="payment"> <?php if ( $order->needs_payment() ) : ?> <ul class="wc_payment_methods payment_methods methods"> <?php if ( ! empty( $available_gateways ) ) { foreach ( $available_gateways as $gateway ) { wc_get_template( 'checkout/payment-method.php', array( 'gateway' => $gateway ) ); } } else { echo '<li>' . apply_filters( 'woocommerce_no_available_payment_methods_message', __( 'Sorry, it seems that there are no available payment methods for your location. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' ) ) . '</li>'; } ?> </ul> <?php endif; ?> <div class="form-row"> <input type="hidden" name="woocommerce_pay" value="1" /> <?php wc_get_template( 'checkout/terms.php' ); ?> <?php do_action( 'woocommerce_pay_order_before_submit' ); ?> <?php echo apply_filters( 'woocommerce_pay_order_button_html', '<input type="submit" class="button alt" id="place_order" value="' . esc_attr( $order_button_text ) . '" data-value="' . esc_attr( $order_button_text ) . '" />' ); ?> <?php do_action( 'woocommerce_pay_order_after_submit' ); ?> <?php wp_nonce_field( 'woocommerce-pay' ); ?> </div> </div> </form> form-login.php 0000666 00000002641 15214213707 0007337 0 ustar 00 <?php /** * Checkout login form * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/form-login.php. * * HOWEVER, on occasion WooCommerce 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.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } if ( is_user_logged_in() || 'no' === get_option( 'woocommerce_enable_checkout_login_reminder' ) ) { return; } $info_message = apply_filters( 'woocommerce_checkout_login_message', __( 'Returning customer?', 'woocommerce' ) ); $info_message .= ' <a href="#" class="showlogin">' . __( 'Click here to login', 'woocommerce' ) . '</a>'; wc_print_notice( $info_message, 'notice' ); ?> <?php woocommerce_login_form( array( 'message' => __( 'If you have shopped with us before, please enter your details in the boxes below. If you are a new customer, please proceed to the Billing & Shipping section.', 'woocommerce' ), 'redirect' => wc_get_page_permalink( 'checkout' ), 'hidden' => true ) ); ?> terms.php 0000666 00000001746 15214213707 0006425 0 ustar 00 <?php /** * Checkout terms and conditions checkbox * * @author WooThemes * @package WooCommerce/Templates * @version 2.5.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( wc_get_page_id( 'terms' ) > 0 && apply_filters( 'woocommerce_checkout_show_terms', true ) ) : ?> <?php do_action( 'woocommerce_checkout_before_terms_and_conditions' ); ?> <p class="form-row terms wc-terms-and-conditions"> <input type="checkbox" class="input-checkbox" name="terms" <?php checked( apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST['terms'] ) ), true ); ?> id="terms" /> <label for="terms" class="checkbox"><?php printf( __( 'I’ve read and accept the <a href="%s" target="_blank">terms & conditions</a>', 'woocommerce' ), esc_url( wc_get_page_permalink( 'terms' ) ) ); ?> <span class="required">*</span></label> <input type="hidden" name="terms-field" value="1" /> </p> <?php do_action( 'woocommerce_checkout_after_terms_and_conditions' ); ?> <?php endif; ?> cart-errors.php 0000666 00000002170 15214213707 0007526 0 ustar 00 <?php /** * Cart errors page * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/cart-errors.php. * * HOWEVER, on occasion WooCommerce 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.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.4.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } ?> <?php wc_print_notices(); ?> <p><?php _e( 'There are some issues with the items in your cart (shown above). Please go back to the cart page and resolve these issues before checking out.', 'woocommerce' ) ?></p> <?php do_action( 'woocommerce_cart_has_errors' ); ?> <p><a class="button wc-backward" href="<?php echo esc_url( wc_get_page_permalink( 'cart' ) ); ?>"><?php _e( 'Return To Cart', 'woocommerce' ) ?></a></p> form-coupon.php 0000666 00000003006 15214213707 0007526 0 ustar 00 <?php /** * Checkout coupon form * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/form-coupon.php. * * HOWEVER, on occasion WooCommerce 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.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } if ( ! wc_coupons_enabled() ) { return; } if ( empty( WC()->cart->applied_coupons ) ) { $info_message = apply_filters( 'woocommerce_checkout_coupon_message', __( 'Have a coupon?', 'woocommerce' ) . ' <a href="#" class="showcoupon">' . __( 'Click here to enter your code', 'woocommerce' ) . '</a>' ); wc_print_notice( $info_message, 'notice' ); } ?> <form class="checkout_coupon" method="post" style="display:none"> <p class="form-row form-row-first"> <input type="text" name="coupon_code" class="input-text" placeholder="<?php esc_attr_e( 'Coupon code', 'woocommerce' ); ?>" id="coupon_code" value="" /> </p> <p class="form-row form-row-last"> <input type="submit" class="button" name="apply_coupon" value="<?php esc_attr_e( 'Apply Coupon', 'woocommerce' ); ?>" /> </p> <div class="clear"></div> </form>
dvadf
dvadf
| ver. 1.4 |
Github
|
.
| PHP 7.0.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings