PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / trunk
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster vtrunk
2.7.0 2.6.0 trunk 1.1.0 1.1.4 1.2.1 1.2.2 1.2.3 1.2.5 1.2.9 1.3.1 1.3.2 1.5.0 1.5.1 1.5.4 1.5.7 1.5.8 1.5.9 1.6.2 1.6.5 1.6.8 1.7.2 1.7.4 1.7.5 1.7.9 All 43 releases
sellkit / includes / block-editor / blocks / checkout / templates / payment-continue.php

payment-continue.php in SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster trunk, at includes/block-editor/blocks/checkout/templates/payment-continue.php

35 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Payment continue (place order) template — block checkout.
4 *
5 * @package Sellkit
6 */
7
8 defined( 'ABSPATH' ) || exit;
9 ?>
10 <section class="place-order sellkit-one-page-checkout-place-order">
11 <noscript>
12 <?php
13 //phpcs:disable
14 /* translators: $1 and $2 opening and closing emphasis tags respectively */
15 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.', 'sellkit' ), '<em>', '</em>' );
16 //phpcs:enable
17 ?>
18 <br/><button type="submit" class="button alt sellkit-checkout-widget-primary-button" name="woocommerce_checkout_update_totals" value="<?php esc_attr_e( 'Update totals', 'sellkit' ); ?>"><?php esc_html_e( 'Update totals', 'sellkit' ); ?></button>
19 </noscript>
20
21 <?php do_action( 'woocommerce_review_order_before_submit' ); ?>
22
23 <?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 ?>
24
25 <?php do_action( 'woocommerce_review_order_after_submit' ); ?>
26
27 <?php wp_nonce_field( 'woocommerce-process_checkout', 'woocommerce-process-checkout-nonce' ); ?>
28 <?php /* Hide place order button container after ajax call update. we already have it at bottom */ ?>
29 <script>
30 jQuery( document ).ajaxComplete( function() {
31 jQuery( '#payment > .place-order' ).css( 'display', 'none' ).hide();
32 } );
33 </script>
34 </section>
35