PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.6.5
ShopBuilder – WooCommerce Builder For Elementor v2.6.5
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/Controllers/Hooks/BuilderHooks.php +3 -3 2.1.112.6.5 View file →
@@ -69,11 +69,11 @@
69 69 if ( BuilderFns::is_cart() ) {
70 70 $classes[] = 'woocommerce-cart';
71 71 // $indexToRemove = array_search( 'woocommerce' , $classes);
72 72 // if ($indexToRemove !== false) {
73 - // unset($classes[$indexToRemove]);
73 + // unset($classes[$indexToRemove]);
74 74 // }
75 - } else{
75 + } else {
76 76 $classes[] = 'woocommerce';
77 77 }
78 78
79 79 if ( BuilderFns::is_checkout() ) {
@@ -107,9 +107,9 @@
107 107 $this->page_edit_with = Fns::page_edit_with( $this->builder_page_id );
108 108 if ( $this->builder_page_id ) {
109 109 if ( did_action( 'elementor/loaded' ) && 'elementor' === $this->page_edit_with ) {
110 110 $this->elementor_frontend();
111 - } else {
111 + } elseif ( 'gutenberg' === $this->page_edit_with ) {
112 112 $this->gutenberg_frontend();
113 113 }
114 114 }
115 115 }