PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.3.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.3.0
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
← All changes | modules/checkout/classes/layouts/class-cartflows-instant-checkout.php +2 -1 3.1.1 → 3.3.0 View file →
@@ -123,9 +123,10 @@
123 123 remove_action( 'woocommerce_before_checkout_form_cart_notices', 'woocommerce_output_all_notices', 10 );
124 124 remove_action( 'woocommerce_before_checkout_form', 'woocommerce_output_all_notices', 10 );
125 125
126 126 // Change the structure of the checkout form.
127 - add_action( 'woocommerce_checkout_before_customer_details', array( $this, 'instant_checkout_wrapper_start' ), 10, 1 );
127 + // Bind to the CartFlows-owned action (fired before WC's own) so the wrapper opens before third-party output (e.g. Official Stripe Express Checkout) on woocommerce_checkout_before_customer_details.
128 + add_action( 'cartflows_checkout_before_customer_details', array( $this, 'instant_checkout_wrapper_start' ), 10, 1 );
128 129 add_action( 'woocommerce_checkout_after_customer_details', array( $this, 'order_review_wrapper_start' ), 15, 1 );
129 130
130 131 // Rarrange the payment section.
131 132 remove_action( 'woocommerce_checkout_order_review', 'woocommerce_checkout_payment', 20 );