| 1 |
<section class="place-order sellkit-one-page-checkout-place-order"> |
| 2 |
<noscript> |
| 3 |
<?php |
| 4 |
//phpcs:disable |
| 5 |
/* translators: $1 and $2 opening and closing emphasis tags respectively */ |
| 6 |
printf( esc_html__( 'Since your browser does not support JavaScript, or it is disabled, please ensure you click the %1$sUpdate Totals%2$s button before placing your order. You may be charged more than the amount stated above if you fail to do so.', 'woocommerce' ), '<em>', '</em>' ); |
| 7 |
//phpcs:enable |
| 8 |
?> |
| 9 |
<br/><button type="submit" class="button alt sellkit-checkout-widget-primary-button" name="woocommerce_checkout_update_totals" value="<?php esc_attr_e( 'Update totals', 'woocommerce' ); ?>"><?php esc_html_e( 'Update totals', 'woocommerce' ); ?></button> |
| 10 |
</noscript> |
| 11 |
|
| 12 |
<?php do_action( 'woocommerce_review_order_before_submit' ); ?> |
| 13 |
|
| 14 |
<?php do_action( 'sellkit-checkout-multistep-third-step-back-btn' ); ?> |
| 15 |
|
| 16 |
<?php echo apply_filters( 'woocommerce_order_button_html', '<button type="submit" class="button alt sellkit-checkout-widget-primary-button" name="woocommerce_checkout_place_order" id="place_order" value="' . esc_attr( $order_button_text ) . '" data-value="' . esc_attr( $order_button_text ) . '">' . esc_html( $order_button_text ) . '</button>' ); // @codingStandardsIgnoreLine ?> |
| 17 |
|
| 18 |
<?php do_action( 'woocommerce_review_order_after_submit' ); ?> |
| 19 |
|
| 20 |
<?php wp_nonce_field( 'woocommerce-process_checkout', 'woocommerce-process-checkout-nonce' ); ?> |
| 21 |
<?php /* Hide place order button container after ajax call update. we already have it at bottom */ ?> |
| 22 |
<script> |
| 23 |
jQuery( document ).ajaxComplete( function() { |
| 24 |
jQuery( '#payment > .place-order' ).css( 'display', 'none' ).hide(); |
| 25 |
} ); |
| 26 |
</script> |
| 27 |
</section> |
| 28 |
|