PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.4
ShopBuilder – WooCommerce Builder For Elementor v3.2.4
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/Models/ElementList.php +391 -20 2.2.03.2.4 View file →
@@ -11,9 +11,8 @@
11 11 use RadiusTheme\SB\Elementor\Widgets\Cart;
12 12 use RadiusTheme\SB\Elementor\Widgets\Checkout;
13 13 use RadiusTheme\SB\Elementor\Widgets\General;
14 14 use RadiusTheme\SB\Elementor\Widgets\Single;
15 -use RadiusTheme\SB\Helpers\Fns;
16 15 use RadiusTheme\SB\Models\Base\ListModel;
17 16 use RadiusTheme\SB\Traits\SingletonTrait;
18 17 use RadiusTheme\SBPRO\Elementor\Widgets\Checkout as CheckoutPro;
19 18
@@ -88,8 +87,9 @@
88 87 + $this->shop_archive_page_widget_list()
89 88 + $this->cart_page_widget_list()
90 89 + $this->checkout_page_widget_list()
91 90 + $this->thankyou_page_widget_list()
91 + + $this->orderpay_page_widget_list()
92 92 + $this->my_account_page_widget_list()
93 93 + $this->myaccount_auth_page_widget_list();
94 94
95 95 return apply_filters( 'rtsb/core/elements/raw_list', $list );
@@ -125,9 +125,8 @@
125 125 'package' => 'free',
126 126 'fields' => [],
127 127 ]
128 128 ),
129 -
130 129 'products_slider' => apply_filters(
131 130 'rtsb/elements/products_slider/options',
132 131 [
133 132 'id' => 'products_slider',
@@ -138,9 +137,19 @@
138 137 'package' => 'free',
139 138 'fields' => [],
140 139 ]
141 140 ),
142 -
141 + 'highlighted_product' => apply_filters(
142 + 'rtsb/elements/highlighted_product/options',
143 + [
144 + 'id' => 'highlighted_product',
145 + 'title' => esc_html__( 'Highlighted Product', 'shopbuilder' ),
146 + 'category' => 'general',
147 + 'active' => '',
148 + 'package' => $this->pro_package(),
149 + 'fields' => [],
150 + ]
151 + ),
143 152 'products_single_cateogory' => apply_filters(
144 153 'rtsb/elements/products_single_cateogory/options',
145 154 [
146 155 'id' => 'products_single_cateogory',
@@ -163,8 +172,31 @@
163 172 'package' => 'free',
164 173 'fields' => [],
165 174 ]
166 175 ),
176 + 'product_lookbook' => apply_filters(
177 + 'rtsb/elements/product_lookbook/options',
178 + [
179 + 'id' => 'product_lookbook',
180 + 'title' => esc_html__( 'Product LookBook', 'shopbuilder' ),
181 + 'category' => 'general',
182 + 'active' => '',
183 + 'package' => $this->pro_package(),
184 + 'fields' => [],
185 + ]
186 + ),
187 + 'rtsb_wishlist' => apply_filters(
188 + 'rtsb/elements/rtsb_wishlist/options',
189 + [
190 + 'id' => 'rtsb_wishlist',
191 + 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ),
192 + 'base_class' => General\Wishlist::class,
193 + 'category' => 'general',
194 + 'active' => 'on',
195 + 'package' => 'free',
196 + 'fields' => [],
197 + ]
198 + ),
167 199 'social_share' => apply_filters(
168 200 'rtsb/elements/social_share/options',
169 201 [
170 202 'id' => 'social_share',
@@ -199,14 +231,14 @@
199 231 'package' => 'free',
200 232 'fields' => [],
201 233 ]
202 234 ),
203 - 'rtsb_wishlist' => apply_filters(
204 - 'rtsb/elements/rtsb_wishlist/options',
235 + 'advanced_heading' => apply_filters(
236 + 'rtsb/elements/advanced_heading/options',
205 237 [
206 - 'id' => 'rtsb_wishlist',
207 - 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ),
208 - 'base_class' => General\Wishlist::class,
238 + 'id' => 'advanced_heading',
239 + 'title' => esc_html__( 'Advanced Heading', 'shopbuilder' ),
240 + 'base_class' => General\AdvancedHeading\AdvancedHeading::class,
209 241 'category' => 'general',
210 242 'active' => 'on',
211 243 'package' => 'free',
212 244 'fields' => [],
@@ -211,13 +243,85 @@
211 243 'package' => 'free',
212 244 'fields' => [],
213 245 ]
214 246 ),
215 - 'highlighted_product' => apply_filters(
216 - 'rtsb/elements/highlighted_product/options',
247 + 'dropcaps' => apply_filters(
248 + 'rtsb/elements/dropcaps/options',
217 249 [
218 - 'id' => 'highlighted_product',
219 - 'title' => esc_html__( 'Highlighted Product', 'shopbuilder' ),
250 + 'id' => 'dropcaps',
251 + 'title' => esc_html__( 'Dropcaps', 'shopbuilder' ),
252 + 'base_class' => General\DropCaps\DropCaps::class,
253 + 'category' => 'general',
254 + 'active' => 'on',
255 + 'package' => 'free',
256 + 'fields' => [],
257 + ]
258 + ),
259 + 'shopbuilder_button' => apply_filters(
260 + 'rtsb/elements/shopbuilder_button/options',
261 + [
262 + 'id' => 'shopbuilder_button',
263 + 'title' => esc_html__( 'Advanced Button', 'shopbuilder' ),
264 + 'base_class' => General\ShopBuilderButton\ShopBuilderButton::class,
265 + 'category' => 'general',
266 + 'active' => 'on',
267 + 'package' => 'free',
268 + 'fields' => [],
269 + ]
270 + ),
271 + 'shopbuilder_cta' => apply_filters(
272 + 'rtsb/elements/shopbuilder_cta/options',
273 + [
274 + 'id' => 'shopbuilder_cta',
275 + 'title' => esc_html__( 'Call To Action', 'shopbuilder' ),
276 + 'base_class' => General\CallToAction\CallToAction::class,
277 + 'category' => 'general',
278 + 'active' => 'on',
279 + 'package' => 'free',
280 + 'fields' => [],
281 + ]
282 + ),
283 + 'shopbuilder_info_box' => apply_filters(
284 + 'rtsb/elements/shopbuilder_info_box/options',
285 + [
286 + 'id' => 'shopbuilder_info_box',
287 + 'title' => esc_html__( 'Info Box', 'shopbuilder' ),
288 + 'base_class' => General\InfoBox\InfoBox::class,
289 + 'category' => 'general',
290 + 'active' => 'on',
291 + 'package' => 'free',
292 + 'fields' => [],
293 + ]
294 + ),
295 + 'shopbuilder_flip_box' => apply_filters(
296 + 'rtsb/elements/shopbuilder_flip_box/options',
297 + [
298 + 'id' => 'shopbuilder_flip_box',
299 + 'title' => esc_html__( 'Flip Box', 'shopbuilder' ),
300 + 'base_class' => General\FlipBox\FlipBox::class,
301 + 'category' => 'general',
302 + 'active' => 'on',
303 + 'package' => 'free',
304 + 'fields' => [],
305 + ]
306 + ),
307 + 'shopbuilder_pricing_table' => apply_filters(
308 + 'rtsb/elements/shopbuilder_pricing_table/options',
309 + [
310 + 'id' => 'shopbuilder_pricing_table',
311 + 'title' => esc_html__( 'Pricing Table', 'shopbuilder' ),
312 + 'base_class' => General\PricingTable\PricingTable::class,
313 + 'category' => 'general',
314 + 'active' => 'on',
315 + 'package' => 'free',
316 + 'fields' => [],
317 + ]
318 + ),
319 + 'image_hotspots' => apply_filters(
320 + 'rtsb/elements/image_hotspots/options',
321 + [
322 + 'id' => 'image_hotspots',
323 + 'title' => esc_html__( 'Image Hotspots', 'shopbuilder' ),
220 324 'category' => 'general',
221 325 'active' => '',
222 326 'package' => $this->pro_package(),
223 327 'fields' => [],
@@ -222,11 +326,173 @@
222 326 'package' => $this->pro_package(),
223 327 'fields' => [],
224 328 ]
225 329 ),
226 -
330 + 'coupon_list' => apply_filters(
331 + 'rtsb/elements/coupon_list/options',
332 + [
333 + 'id' => 'coupon_list',
334 + 'title' => esc_html__( 'Coupon List', 'shopbuilder' ),
335 + 'category' => 'general',
336 + 'active' => '',
337 + 'package' => $this->pro_package(),
338 + 'fields' => [],
339 + ]
340 + ),
341 + 'hero_slider' => apply_filters(
342 + 'rtsb/elements/hero_slider/options',
343 + [
344 + 'id' => 'hero_slider',
345 + 'title' => esc_html__( 'Hero Slider', 'shopbuilder' ),
346 + 'category' => 'general',
347 + 'active' => '',
348 + 'package' => $this->pro_package(),
349 + 'fields' => [],
350 + ]
351 + ),
352 + 'shopbuilder_counter' => apply_filters(
353 + 'rtsb/elements/shopbuilder_counter/options',
354 + [
355 + 'id' => 'shopbuilder_counter',
356 + 'title' => esc_html__( 'Fun Facts', 'shopbuilder' ),
357 + 'base_class' => General\Counter\Counter::class,
358 + 'category' => 'general',
359 + 'active' => 'on',
360 + 'package' => 'free',
361 + 'fields' => [],
362 + ]
363 + ),
364 + 'shopbuilder_countdown' => apply_filters(
365 + 'rtsb/elements/shopbuilder_countdown/options',
366 + [
367 + 'id' => 'shopbuilder_countdown',
368 + 'title' => esc_html__( 'Countdown', 'shopbuilder' ),
369 + 'base_class' => General\CountDown\CountDown::class,
370 + 'category' => 'general',
371 + 'active' => 'on',
372 + 'package' => 'free',
373 + 'fields' => [],
374 + ]
375 + ),
376 + 'shopbuilder_progress_bar' => apply_filters(
377 + 'rtsb/elements/shopbuilder_progress_bar/options',
378 + [
379 + 'id' => 'shopbuilder_progress_bar',
380 + 'title' => esc_html__( 'Progress Bar', 'shopbuilder' ),
381 + 'base_class' => General\ProgressBar\ProgressBar::class,
382 + 'category' => 'general',
383 + 'active' => 'on',
384 + 'package' => 'free',
385 + 'fields' => [],
386 + ]
387 + ),
388 + 'image_accordion' => apply_filters(
389 + 'rtsb/elements/image_accordion/options',
390 + [
391 + 'id' => 'image_accordion',
392 + 'title' => esc_html__( 'Image Accordion', 'shopbuilder' ),
393 + 'base_class' => General\ImageAccordion\ImageAccordion::class,
394 + 'category' => 'general',
395 + 'active' => 'on',
396 + 'package' => 'free',
397 + 'fields' => [],
398 + ]
399 + ),
400 + 'shopbuilder_faq' => apply_filters(
401 + 'rtsb/elements/shopbuilder_faq/options',
402 + [
403 + 'id' => 'shopbuilder_faq',
404 + 'title' => esc_html__( 'FAQ', 'shopbuilder' ),
405 + 'base_class' => General\ShopBuilderFaq\ShopBuilderFaq::class,
406 + 'category' => 'general',
407 + 'active' => 'on',
408 + 'package' => 'free',
409 + 'fields' => [],
410 + ]
411 + ),
412 + 'logo_slider_and_grid' => apply_filters(
413 + 'rtsb/elements/logo_slider_and_grid/options',
414 + [
415 + 'id' => 'logo_slider_and_grid',
416 + 'title' => esc_html__( 'Logo Slider and Grid', 'shopbuilder' ),
417 + 'base_class' => General\LogoSliderAndGrid\LogoSliderAndGrid::class,
418 + 'category' => 'general',
419 + 'active' => 'on',
420 + 'package' => 'free',
421 + 'fields' => [],
422 + ]
423 + ),
424 + 'testimonial' => apply_filters(
425 + 'rtsb/elements/testimonial/options',
426 + [
427 + 'id' => 'testimonial',
428 + 'title' => esc_html__( 'Testimonials', 'shopbuilder' ),
429 + 'base_class' => General\Testimonial\Testimonial::class,
430 + 'category' => 'general',
431 + 'active' => 'on',
432 + 'package' => 'free',
433 + 'fields' => [],
434 + ]
435 + ),
436 + 'team_member' => apply_filters(
437 + 'rtsb/elements/team_member/options',
438 + [
439 + 'id' => 'team_member',
440 + 'title' => esc_html__( 'Team Members', 'shopbuilder' ),
441 + 'base_class' => General\TeamMember\TeamMember::class,
442 + 'category' => 'general',
443 + 'active' => 'on',
444 + 'package' => 'free',
445 + 'fields' => [],
446 + ]
447 + ),
448 + 'post_grid' => apply_filters(
449 + 'rtsb/elements/post_grid/options',
450 + [
451 + 'id' => 'post_grid',
452 + 'title' => esc_html__( 'Post Grid', 'shopbuilder' ),
453 + 'base_class' => General\PostGrid\PostGrid::class,
454 + 'category' => 'general',
455 + 'active' => 'on',
456 + 'package' => 'free',
457 + 'fields' => [],
458 + ]
459 + ),
460 + 'post_list' => apply_filters(
461 + 'rtsb/elements/post_list/options',
462 + [
463 + 'id' => 'post_list',
464 + 'title' => esc_html__( 'Post List', 'shopbuilder' ),
465 + 'base_class' => General\PostList\PostList::class,
466 + 'category' => 'general',
467 + 'active' => 'on',
468 + 'package' => 'free',
469 + 'fields' => [],
470 + ]
471 + ),
472 + 'advanced_ajax_search' => apply_filters(
473 + 'rtsb/elements/advanced_ajax_search/options',
474 + [
475 + 'id' => 'advanced_ajax_search',
476 + 'title' => esc_html__( 'Advanced Ajax Search', 'shopbuilder' ),
477 + 'category' => 'general',
478 + 'active' => '',
479 + 'package' => $this->pro_package(),
480 + 'fields' => [],
481 + ]
482 + ),
483 + 'save_for_buy_later' => apply_filters(
484 + 'rtsb/elements/save_for_buy_later/options',
485 + [
486 + 'id' => 'save_for_buy_later',
487 + 'title' => esc_html__( 'Saved For Buy Later', 'shopbuilder' ),
488 + 'category' => 'general',
489 + 'active' => '',
490 + 'package' => $this->pro_package(),
491 + 'fields' => [],
492 + ]
493 + ),
227 494 ];
228 -
229 495 return apply_filters( 'rtsb/core/elements/general/widget_list', $list );
230 496 }
231 497
232 498 /**
@@ -506,8 +772,19 @@
506 772 'package' => $this->pro_package(),
507 773 'fields' => [],
508 774 ]
509 775 ),
776 + 'product_qr_code' => apply_filters(
777 + 'rtsb/elements/product_qr_code/options',
778 + [
779 + 'id' => 'product_qr_code',
780 + 'title' => esc_html__( 'QR Code', 'shopbuilder' ),
781 + 'category' => 'product',
782 + 'active' => '',
783 + 'package' => $this->pro_package(),
784 + 'fields' => [],
785 + ]
786 + ),
510 787 'product_reviews' => apply_filters(
511 788 'rtsb/elements/product_reviews/options',
512 789 [
513 790 'id' => 'product_reviews',
@@ -924,8 +1201,20 @@
924 1201 'package' => $this->pro_package(),
925 1202 'fields' => [],
926 1203 ]
927 1204 ),
1205 + 'product_filters' => apply_filters(
1206 + 'rtsb/elements/product_filters/options',
1207 + [
1208 + 'id' => 'product_filters',
1209 + 'title' => esc_html__( 'Product Filters', 'shopbuilder' ),
1210 + 'base_class' => Archive\ProductFilters::class,
1211 + 'category' => 'shop',
1212 + 'active' => 'on',
1213 + 'package' => 'free',
1214 + 'fields' => [],
1215 + ]
1216 + ),
928 1217
929 1218 'archive_result_count' => apply_filters(
930 1219 'rtsb/elements/archive_result_count/options',
931 1220 [
@@ -1044,8 +1333,20 @@
1044 1333 'package' => 'free',
1045 1334 'fields' => [],
1046 1335 ]
1047 1336 ),
1337 + 'save_for_later_preview' => apply_filters(
1338 + 'rtsb/elements/save_for_later_preview/options',
1339 + [
1340 + 'id' => 'save_for_later_preview',
1341 + 'title' => esc_html__( 'Save For Later Preview', 'shopbuilder' ),
1342 + 'base_class' => Cart\SaveForLaterPreview::class,
1343 + 'category' => 'cart',
1344 + 'active' => 'on',
1345 + 'package' => $this->pro_package(),
1346 + 'fields' => [],
1347 + ]
1348 + ),
1048 1349 ];
1049 1350
1050 1351 return apply_filters( 'rtsb/core/elements/cart/widget_list', $list );
1051 1352 }
@@ -1177,9 +1478,9 @@
1177 1478 * @return array
1178 1479 */
1179 1480 protected function thankyou_page_widget_list() {
1180 1481 return [
1181 - 'order_received_text' => apply_filters(
1482 + 'order_received_text' => apply_filters(
1182 1483 'rtsb/elements/order_received_text/options',
1183 1484 [
1184 1485 'id' => 'order_received_text',
1185 1486 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ),
@@ -1189,9 +1490,9 @@
1189 1490 'package' => $this->pro_package(),
1190 1491 'fields' => [],
1191 1492 ]
1192 1493 ),
1193 - 'order_details_summary' => apply_filters(
1494 + 'order_details_summary' => apply_filters(
1194 1495 'rtsb/elements/order_details_summary/options',
1195 1496 [
1196 1497 'id' => 'order_details_summary',
1197 1498 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ),
@@ -1201,9 +1502,9 @@
1201 1502 'package' => $this->pro_package(),
1202 1503 'fields' => [],
1203 1504 ]
1204 1505 ),
1205 - 'order_details_table' => apply_filters(
1506 + 'order_details_table' => apply_filters(
1206 1507 'rtsb/elements/order_details_table/options',
1207 1508 [
1208 1509 'id' => 'order_details_table',
1209 1510 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ),
@@ -1213,9 +1514,9 @@
1213 1514 'package' => $this->pro_package(),
1214 1515 'fields' => [],
1215 1516 ]
1216 1517 ),
1217 - 'downloadable_products' => apply_filters(
1518 + 'downloadable_products' => apply_filters(
1218 1519 'rtsb/elements/downloadable_products/options',
1219 1520 [
1220 1521 'id' => 'downloadable_products',
1221 1522 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ),
@@ -1225,9 +1526,9 @@
1225 1526 'package' => $this->pro_package(),
1226 1527 'fields' => [],
1227 1528 ]
1228 1529 ),
1229 - 'order_billing_address' => apply_filters(
1530 + 'order_billing_address' => apply_filters(
1230 1531 'rtsb/elements/order_billing_address/options',
1231 1532 [
1232 1533 'id' => 'order_billing_address',
1233 1534 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ),
@@ -1237,9 +1538,9 @@
1237 1538 'package' => $this->pro_package(),
1238 1539 'fields' => [],
1239 1540 ]
1240 1541 ),
1241 - 'order_shipping_address' => apply_filters(
1542 + 'order_shipping_address' => apply_filters(
1242 1543 'rtsb/elements/order_shipping_address/options',
1243 1544 [
1244 1545 'id' => 'order_shipping_address',
1245 1546 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ),
@@ -1249,11 +1550,45 @@
1249 1550 'package' => $this->pro_package(),
1250 1551 'fields' => [],
1251 1552 ]
1252 1553 ),
1554 + 'order_custom_fields_data' => apply_filters(
1555 + 'rtsb/elements/order_custom_fields_data/options',
1556 + [
1557 + 'id' => 'order_custom_fields_data',
1558 + 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ),
1559 + 'category' => 'thank_you',
1560 + 'is_front_page' => 'thank_you',
1561 + 'active' => 'on',
1562 + 'package' => $this->pro_package(),
1563 + 'fields' => [],
1564 + ]
1565 + ),
1253 1566 ];
1254 1567 }
1568 + /**
1569 + * Checkout Page Order Pay Widget List.
1570 + *
1571 + * @return array
1572 + */
1573 + protected function orderpay_page_widget_list() {
1574 + return [
1575 + 'order_pay_form' => apply_filters(
1576 + 'rtsb/elements/order_pay_form/options',
1577 + [
1578 + 'id' => 'order_pay_form',
1579 + 'title' => esc_html__( 'Order Pay Form', 'shopbuilder' ),
1580 + 'category' => 'myaccount_dashboard',
1581 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1582 + 'active' => 'on',
1583 + 'package' => $this->pro_package(),
1584 + 'fields' => [],
1585 + ]
1586 + ),
1255 1587
1588 + ];
1589 + }
1590 +
1256 1591 /**
1257 1592 * Checkout Page Widget List.
1258 1593 *
1259 1594 * @return array
@@ -1259,8 +1594,20 @@
1259 1594 * @return array
1260 1595 */
1261 1596 protected function my_account_page_widget_list() {
1262 1597 $widgets = [
1598 + 'account_avatar' => apply_filters(
1599 + 'rtsb/elements/account_avatar/options',
1600 + [
1601 + 'id' => 'account_avatar',
1602 + 'title' => esc_html__( 'Account Avatar', 'shopbuilder' ),
1603 + 'category' => 'myaccount_dashboard',
1604 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1605 + 'active' => 'on',
1606 + 'package' => $this->pro_package(),
1607 + 'fields' => [],
1608 + ]
1609 + ),
1263 1610 'account_navigation_edit_shipping' => apply_filters(
1264 1611 'rtsb/elements/account_navigation_edit_shipping/options',
1265 1612 [
1266 1613 'id' => 'account_navigation_edit_shipping',
@@ -1456,8 +1803,32 @@
1456 1803 'rtsb/elements/account_edit_shipping_address/options',
1457 1804 [
1458 1805 'id' => 'account_edit_shipping_address',
1459 1806 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ),
1807 + 'category' => 'myaccount_dashboard',
1808 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1809 + 'active' => 'on',
1810 + 'package' => $this->pro_package(),
1811 + 'fields' => [],
1812 + ]
1813 + ),
1814 + 'account_payment_methods' => apply_filters(
1815 + 'rtsb/elements/account_payment_methods/options',
1816 + [
1817 + 'id' => 'account_payment_methods',
1818 + 'title' => esc_html__( 'Payment Methods', 'shopbuilder' ),
1819 + 'category' => 'myaccount_dashboard',
1820 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1821 + 'active' => 'on',
1822 + 'package' => $this->pro_package(),
1823 + 'fields' => [],
1824 + ]
1825 + ),
1826 + 'account_add_payment_method' => apply_filters(
1827 + 'rtsb/elements/account_add_payment_method/options',
1828 + [
1829 + 'id' => 'account_add_payment_method',
1830 + 'title' => esc_html__( 'Add Payment Method', 'shopbuilder' ),
1460 1831 'category' => 'myaccount_dashboard',
1461 1832 'is_front_page' => 'all_myaccount_dashboard_inner',
1462 1833 'active' => 'on',
1463 1834 'package' => $this->pro_package(),