PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.0.2
ShopBuilder – WooCommerce Builder For Elementor v2.0.2
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/Helper/ControlHelper.php +71 -158 2.2.22.0.2 View file →
@@ -106,41 +106,22 @@
106 106 ],
107 107
108 108 'grid-layout3' => [
109 109 'title' => esc_html__( 'Grid Layout 3', 'shopbuilder' ),
110 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-3.png' ) ),
110 + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-03.png' ) ),
111 111 'is_pro' => $status,
112 112 ],
113 - 'grid-layout4' => [
114 - 'title' => esc_html__( 'Grid Layout 4', 'shopbuilder' ),
115 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-4.png' ) ),
116 - 'is_pro' => $status,
117 - ],
118 - 'grid-layout5' => [
119 - 'title' => esc_html__( 'Grid Layout 5', 'shopbuilder' ),
120 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-5.png' ) ),
121 - 'is_pro' => $status,
122 - ],
123 - 'grid-layout6' => [
124 - 'title' => esc_html__( 'Grid Layout 6', 'shopbuilder' ),
125 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-6.png' ) ),
126 - 'is_pro' => $status,
127 - ],
128 - 'grid-layout7' => [
129 - 'title' => esc_html__( 'Grid Layout 7', 'shopbuilder' ),
130 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-7.png' ) ),
131 - 'is_pro' => $status,
132 - ],
133 - 'grid-layout8' => [
134 - 'title' => esc_html__( 'Grid Layout 8', 'shopbuilder' ),
135 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-8.png' ) ),
136 - 'is_pro' => $status,
137 - ],
138 - 'grid-layout9' => [
139 - 'title' => esc_html__( 'Special Layout 1', 'shopbuilder' ),
140 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-9a.png' ) ),
141 - 'is_pro' => $status,
142 - ],
113 + // TODO: Will be activated later.
114 +// 'grid-layout4' => [
115 +// 'title' => esc_html__( 'Grid Layout 4', 'shopbuilder' ),
116 +// 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-02.png' ) ),
117 +// 'is_pro' => $status,
118 +// ],
119 +// 'grid-layout5' => [
120 +// 'title' => esc_html__( 'Grid Layout 5', 'shopbuilder' ),
121 +// 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ),
122 +// 'is_pro' => $status,
123 +// ],
143 124 ]
144 125 );
145 126 }
146 127
@@ -173,54 +154,8 @@
173 154 );
174 155 }
175 156
176 157 /**
177 - * Multi Step Checkout Layouts
178 - *
179 - * @return array
180 - */
181 - public static function multi_step_checkout_layouts() {
182 - $status = ! rtsb()->has_pro();
183 -
184 - return apply_filters(
185 - 'rtsb/elements/elementor/single_product_tab_layouts',
186 - [
187 - 'layout1' => [
188 - 'title' => esc_html__( 'Layout 1', 'shopbuilder' ),
189 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/tab-01.png' ) ),
190 - ],
191 -
192 - ]
193 - );
194 - }
195 -
196 - /**
197 - * Single Advanced Product Tab Layouts
198 - *
199 - * @return array
200 - */
201 - public static function single_advanced_product_tab_layouts() {
202 - // TODO:: Check If the FUnction Used Or Not.
203 - return apply_filters(
204 - 'rtsb/elements/elementor/single_advanced_product_tab_layouts',
205 - [
206 - 'default' => [
207 - 'title' => esc_html__( 'Default Layout', 'shopbuilder' ),
208 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/tab-01.png' ) ),
209 - ],
210 - 'custom-layout1' => [
211 - 'title' => esc_html__( 'Accordion Layout', 'shopbuilder' ),
212 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/tab-02.png' ) ),
213 - ],
214 - 'custom-layout2' => [
215 - 'title' => esc_html__( 'Tab Layout', 'shopbuilder' ),
216 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/tab-03.png' ) ),
217 - ],
218 - ]
219 - );
220 - }
221 -
222 - /**
223 158 * Slider Layouts
224 159 *
225 160 * @return array
226 161 */
@@ -239,44 +174,26 @@
239 174 'title' => esc_html__( 'Slider Layout 2', 'shopbuilder' ),
240 175 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-Layout-2.png' ) ),
241 176 ],
242 177
243 - 'slider-layout3' => [
244 - 'title' => esc_html__( 'Slider Layout 3', 'shopbuilder' ),
245 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/slider-style-3.png' ) ),
246 - 'is_pro' => $status,
247 - ],
248 -
249 - 'slider-layout4' => [
250 - 'title' => esc_html__( 'Slider Layout 4', 'shopbuilder' ),
251 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/slider-style-4.png' ) ),
252 - 'is_pro' => $status,
253 - ],
254 - 'slider-layout5' => [
255 - 'title' => esc_html__( 'Slider Layout 5', 'shopbuilder' ),
256 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/slider-style-5.png' ) ),
257 - 'is_pro' => $status,
258 - ],
259 - 'slider-layout6' => [
260 - 'title' => esc_html__( 'Slider Layout 6', 'shopbuilder' ),
261 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/slider-style-6.png' ) ),
262 - 'is_pro' => $status,
263 - ],
264 - 'slider-layout7' => [
265 - 'title' => esc_html__( 'Slider Layout 7', 'shopbuilder' ),
266 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/slider-style-7.png' ) ),
267 - 'is_pro' => $status,
268 - ],
269 - 'slider-layout8' => [
270 - 'title' => esc_html__( 'Slider Layout 8', 'shopbuilder' ),
271 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-6.png' ) ),
272 - 'is_pro' => $status,
273 - ],
274 - 'slider-layout9' => [
275 - 'title' => esc_html__( 'Slider Layout 9', 'shopbuilder' ),
276 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-8.png' ) ),
277 - 'is_pro' => $status,
278 - ],
178 + // TODO: Will be activated later.
179 + // 'slider-layout3' => [
180 + // 'title' => esc_html__( 'Slider Layout 3', 'shopbuilder' ),
181 + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-03.png' ) ),
182 + // 'is_pro' => $status,
183 + // ],
184 + //
185 + // 'slider-layout4' => [
186 + // 'title' => esc_html__( 'Slider Layout 4', 'shopbuilder' ),
187 + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-02.png' ) ),
188 + // 'is_pro' => $status,
189 + // ],
190 + //
191 + // 'slider-layout5' => [
192 + // 'title' => esc_html__( 'Slider Layout 5', 'shopbuilder' ),
193 + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ),
194 + // 'is_pro' => $status,
195 + // ],
279 196 ]
280 197 );
281 198 }
282 199
@@ -294,37 +211,25 @@
294 211 'list-layout1' => [
295 212 'title' => esc_html__( 'List Layout 1', 'shopbuilder' ),
296 213 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-Layout-1.png' ) ),
297 214 ],
215 +
298 216 'list-layout2' => [
299 217 'title' => esc_html__( 'List Layout 2', 'shopbuilder' ),
300 218 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-Layout-2.png' ) ),
301 219 ],
220 +
302 221 'list-layout3' => [
303 222 'title' => esc_html__( 'List Layout 3', 'shopbuilder' ),
304 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-3.png' ) ),
223 + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-02.png' ) ),
305 224 'is_pro' => $status,
306 225 ],
307 - 'list-layout4' => [
308 - 'title' => esc_html__( 'List Layout 4', 'shopbuilder' ),
309 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-4.png' ) ),
310 - 'is_pro' => $status,
311 - ],
312 - 'list-layout5' => [
313 - 'title' => esc_html__( 'List Layout 5', 'shopbuilder' ),
314 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-5.png' ) ),
315 - 'is_pro' => $status,
316 - ],
317 - 'list-layout6' => [
318 - 'title' => esc_html__( 'List Layout 6', 'shopbuilder' ),
319 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-6.png' ) ),
320 - 'is_pro' => $status,
321 - ],
322 - 'list-layout7' => [
323 - 'title' => esc_html__( 'List Layout 7', 'shopbuilder' ),
324 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-7.png' ) ),
325 - 'is_pro' => $status,
326 - ],
226 + // TODO: Will be activated later.
227 + // 'list-layout4' => [
228 + // 'title' => esc_html__( 'List Layout 4', 'shopbuilder' ),
229 + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-01.png' ) ),
230 + // 'is_pro' => $status,
231 + // ],
327 232 ]
328 233 );
329 234 }
330 235
@@ -340,26 +245,28 @@
340 245 'rtsb/elements/elementor/category_layouts',
341 246 [
342 247 'category-layout1' => [
343 248 'title' => esc_html__( 'Category Layout 1', 'shopbuilder' ),
344 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/categories-1.png' ) ),
249 + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ),
345 250 ],
346 251
347 252 'category-layout2' => [
348 253 'title' => esc_html__( 'Category Layout 2', 'shopbuilder' ),
349 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/categories-2.png' ) ),
254 + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ),
350 255 ],
351 - 'category-layout3' => [
352 - 'title' => esc_html__( 'Category Layout 3', 'shopbuilder' ),
353 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/categories-3.png' ) ),
354 - 'is_pro' => $status,
355 - ],
356 - 'category-layout4' => [
357 - 'title' => esc_html__( 'Category Layout 4', 'shopbuilder' ),
358 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/categories-3.png' ) ),
359 - 'is_pro' => $status,
360 - ],
361 256
257 + // TODO: Will be activated later.
258 + // 'category-layout3' => [
259 + // 'title' => esc_html__( 'Category Layout 3', 'shopbuilder' ),
260 + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ),
261 + // 'is_pro' => $status,
262 + // ],
263 + //
264 + // 'category-layout4' => [
265 + // 'title' => esc_html__( 'Category Layout 4', 'shopbuilder' ),
266 + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ),
267 + // 'is_pro' => $status,
268 + // ],
362 269 ]
363 270 );
364 271 }
365 272
@@ -482,16 +389,23 @@
482 389 'rtsb/elements/elementor/category_single_layouts',
483 390 [
484 391 'category-single-layout1' => [
485 392 'title' => esc_html__( 'Single Category Layout 1', 'shopbuilder' ),
486 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/single-category-1.png' ) ),
393 + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ),
487 394 ],
488 395
489 - 'category-single-layout2' => [
490 - 'title' => esc_html__( 'Single Category Layout 2', 'shopbuilder' ),
491 - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/single-category-2.png' ) ),
492 - 'is_pro' => $status,
493 - ],
396 + // TODO: Will be activated later.
397 + // 'category-single-layout2' => [
398 + // 'title' => esc_html__( 'Single Category Layout 2', 'shopbuilder' ),
399 + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ),
400 + // 'is_pro' => $status,
401 + // ],
402 + //
403 + // 'category-single-layout3' => [
404 + // 'title' => esc_html__( 'Single Category Layout 3', 'shopbuilder' ),
405 + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ),
406 + // 'is_pro' => $status,
407 + // ],
494 408 ]
495 409 );
496 410 }
497 411
@@ -543,14 +457,13 @@
543 457 * @return array
544 458 */
545 459 public static function filter_products() {
546 460 return [
547 - 'recent' => esc_html__( 'Default', 'shopbuilder' ),
548 - 'featured' => esc_html__( 'Featured Products', 'shopbuilder' ),
549 - 'best-selling' => esc_html__( 'Best Selling Products', 'shopbuilder' ),
550 - 'sale' => esc_html__( 'On Sale Products', 'shopbuilder' ),
551 - 'top-rated' => esc_html__( 'Top Rated Products', 'shopbuilder' ),
552 - 'recently-viewed' => esc_html__( 'Recently Viewed Products', 'shopbuilder' ),
461 + 'recent' => esc_html__( 'Recent Products', 'shopbuilder' ),
462 + 'featured' => esc_html__( 'Featured Products', 'shopbuilder' ),
463 + 'best-selling' => esc_html__( 'Best Selling Products', 'shopbuilder' ),
464 + 'sale' => esc_html__( 'Sale Products', 'shopbuilder' ),
465 + 'top-rated' => esc_html__( 'Top Rated Products', 'shopbuilder' ),
553 466 ];
554 467 }
555 468
556 469 /**