PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.6.3
ShopBuilder – WooCommerce Builder For Elementor v2.6.3
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/Abstracts/AdditionalQueryCustomLayout.php +8 -20 3.4.02.6.3 View file →
@@ -77,8 +77,10 @@
77 77 $this->widget_query()
78 78 )
79 79 );
80 80
81 + // unset( $fields['grid_style'] );
82 +
81 83 return $fields;
82 84 }
83 85
84 86 /**
@@ -123,24 +125,16 @@
123 125 */
124 126 protected function widget_layout() {
125 127 return Controls\LayoutFields::grid_layout( $this );
126 128 }
127 -
128 - /**
129 - * Controls for layout tab
130 - *
131 - * @return array
132 - */
133 129 public function variation_swatch_conditionaly() {
134 - if ( ! function_exists( 'rtwpvsp' ) && ! rtsb()->has_pro() ) {
130 + if ( ! function_exists( 'rtwpvsp' ) ) {
135 131 return [];
136 132 }
137 - $swatches_controls = Controls\SettingsFields::variation_swatch( $this );
138 - if ( ! empty( $swatches_controls['swatch_position'] ) ) {
139 - $swatches_controls['swatch_position']['condition'] = [
140 - 'layout' => [ 'grid-layout1' ],
141 - ];
142 - }
133 + $swatches_controls = Controls\SettingsFields::variation_swatch( $this );
134 + $swatches_controls['swatch_position']['condition'] = [
135 + 'layout' => [ 'grid-layout1' ],
136 + ];
143 137 return $swatches_controls;
144 138 }
145 139 /**
146 140 * Controls for layout tab
@@ -152,13 +146,8 @@
152 146 $additional_query['posts_limit']['separator'] = 'default';
153 147 return $additional_query;
154 148 }
155 149
156 - /**
157 - * Controls for style tab
158 - *
159 - * @return array
160 - */
161 150 protected function pagination_navigation() {
162 151 return Controls\StyleFields::pagination( $this );
163 152 }
164 153
@@ -183,9 +172,8 @@
183 172 Controls\StyleFields::product_add_to_cart( $this ),
184 173 Controls\StyleFields::product_wishlist( $this ),
185 174 Controls\StyleFields::product_quick_view( $this ),
186 175 Controls\StyleFields::product_compare( $this ),
187 - Controls\StyleFields::action_buttons( $this ),
188 176 Controls\StyleFields::product_badges( $this ),
189 177 $this->pagination_navigation(),
190 178 Controls\StyleFields::hover_icon_button( $this )
191 179 ),
@@ -195,9 +183,9 @@
195 183
196 184 /**
197 185 * Widget Field
198 186 *
199 - * @return string
187 + * @return void|array
200 188 */
201 189 protected function render_template_file() {
202 190 return 'elementor/general/grid/';
203 191 }