PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.6
ShopBuilder – WooCommerce Builder For Elementor v3.2.6
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Elementor/Widgets/Checkout/OrderReview.php +17 -1 2.2.23.2.6 View file →
@@ -39,9 +39,25 @@
39 39 */
40 40 public function widget_fields() {
41 41 return OrderReviewSettings::widget_fields( $this );
42 42 }
43 +
43 44 /**
45 + * Widget Field.
46 + *
47 + * @return void
48 + */
49 + public function apply_hooks() {
50 + // Remove Payment Button.
51 + remove_action( 'woocommerce_checkout_order_review', 'woocommerce_checkout_payment' );
52 + remove_action( 'woocommerce_checkout_order_review', 'woocommerce_checkout_payment', 20 );
53 + // Germanized for WooCommerce.
54 + if ( function_exists( 'woocommerce_gzd_template_order_submit' ) ) {
55 + remove_action( 'woocommerce_checkout_order_review', 'woocommerce_gzd_template_order_submit', 21 );
56 + }
57 + }
58 +
59 + /**
44 60 * Set Widget Keyword.
45 61 *
46 62 * @return array
47 63 */
@@ -57,9 +73,9 @@
57 73 protected function render() {
58 74 if ( $this->has_checkout_restriction() ) {
59 75 return;
60 76 }
61 -
77 + $this->apply_hooks();
62 78 $this->theme_support();
63 79
64 80 $data = [
65 81 'template' => 'elementor/checkout/order-review',