PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.2
ShopBuilder – WooCommerce Builder For Elementor v3.2.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/Models/ElementList.php +369 -21 2.1.123.2.2 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,162 @@
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 + ),
227 483 ];
228 -
229 484 return apply_filters( 'rtsb/core/elements/general/widget_list', $list );
230 485 }
231 486
232 487 /**
@@ -506,8 +761,19 @@
506 761 'package' => $this->pro_package(),
507 762 'fields' => [],
508 763 ]
509 764 ),
765 + 'product_qr_code' => apply_filters(
766 + 'rtsb/elements/product_qr_code/options',
767 + [
768 + 'id' => 'product_qr_code',
769 + 'title' => esc_html__( 'QR Code', 'shopbuilder' ),
770 + 'category' => 'product',
771 + 'active' => '',
772 + 'package' => $this->pro_package(),
773 + 'fields' => [],
774 + ]
775 + ),
510 776 'product_reviews' => apply_filters(
511 777 'rtsb/elements/product_reviews/options',
512 778 [
513 779 'id' => 'product_reviews',
@@ -924,8 +1190,20 @@
924 1190 'package' => $this->pro_package(),
925 1191 'fields' => [],
926 1192 ]
927 1193 ),
1194 + 'product_filters' => apply_filters(
1195 + 'rtsb/elements/product_filters/options',
1196 + [
1197 + 'id' => 'product_filters',
1198 + 'title' => esc_html__( 'Product Filters', 'shopbuilder' ),
1199 + 'base_class' => Archive\ProductFilters::class,
1200 + 'category' => 'shop',
1201 + 'active' => 'on',
1202 + 'package' => 'free',
1203 + 'fields' => [],
1204 + ]
1205 + ),
928 1206
929 1207 'archive_result_count' => apply_filters(
930 1208 'rtsb/elements/archive_result_count/options',
931 1209 [
@@ -1177,9 +1455,9 @@
1177 1455 * @return array
1178 1456 */
1179 1457 protected function thankyou_page_widget_list() {
1180 1458 return [
1181 - 'order_received_text' => apply_filters(
1459 + 'order_received_text' => apply_filters(
1182 1460 'rtsb/elements/order_received_text/options',
1183 1461 [
1184 1462 'id' => 'order_received_text',
1185 1463 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ),
@@ -1189,9 +1467,9 @@
1189 1467 'package' => $this->pro_package(),
1190 1468 'fields' => [],
1191 1469 ]
1192 1470 ),
1193 - 'order_details_summary' => apply_filters(
1471 + 'order_details_summary' => apply_filters(
1194 1472 'rtsb/elements/order_details_summary/options',
1195 1473 [
1196 1474 'id' => 'order_details_summary',
1197 1475 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ),
@@ -1201,9 +1479,9 @@
1201 1479 'package' => $this->pro_package(),
1202 1480 'fields' => [],
1203 1481 ]
1204 1482 ),
1205 - 'order_details_table' => apply_filters(
1483 + 'order_details_table' => apply_filters(
1206 1484 'rtsb/elements/order_details_table/options',
1207 1485 [
1208 1486 'id' => 'order_details_table',
1209 1487 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ),
@@ -1213,9 +1491,9 @@
1213 1491 'package' => $this->pro_package(),
1214 1492 'fields' => [],
1215 1493 ]
1216 1494 ),
1217 - 'downloadable_products' => apply_filters(
1495 + 'downloadable_products' => apply_filters(
1218 1496 'rtsb/elements/downloadable_products/options',
1219 1497 [
1220 1498 'id' => 'downloadable_products',
1221 1499 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ),
@@ -1225,9 +1503,9 @@
1225 1503 'package' => $this->pro_package(),
1226 1504 'fields' => [],
1227 1505 ]
1228 1506 ),
1229 - 'order_billing_address' => apply_filters(
1507 + 'order_billing_address' => apply_filters(
1230 1508 'rtsb/elements/order_billing_address/options',
1231 1509 [
1232 1510 'id' => 'order_billing_address',
1233 1511 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ),
@@ -1237,9 +1515,9 @@
1237 1515 'package' => $this->pro_package(),
1238 1516 'fields' => [],
1239 1517 ]
1240 1518 ),
1241 - 'order_shipping_address' => apply_filters(
1519 + 'order_shipping_address' => apply_filters(
1242 1520 'rtsb/elements/order_shipping_address/options',
1243 1521 [
1244 1522 'id' => 'order_shipping_address',
1245 1523 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ),
@@ -1249,11 +1527,45 @@
1249 1527 'package' => $this->pro_package(),
1250 1528 'fields' => [],
1251 1529 ]
1252 1530 ),
1531 + 'order_custom_fields_data' => apply_filters(
1532 + 'rtsb/elements/order_custom_fields_data/options',
1533 + [
1534 + 'id' => 'order_custom_fields_data',
1535 + 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ),
1536 + 'category' => 'thank_you',
1537 + 'is_front_page' => 'thank_you',
1538 + 'active' => 'on',
1539 + 'package' => $this->pro_package(),
1540 + 'fields' => [],
1541 + ]
1542 + ),
1253 1543 ];
1254 1544 }
1545 + /**
1546 + * Checkout Page Order Pay Widget List.
1547 + *
1548 + * @return array
1549 + */
1550 + protected function orderpay_page_widget_list() {
1551 + return [
1552 + 'order_pay_form' => apply_filters(
1553 + 'rtsb/elements/order_pay_form/options',
1554 + [
1555 + 'id' => 'order_pay_form',
1556 + 'title' => esc_html__( 'Order Pay Form', 'shopbuilder' ),
1557 + 'category' => 'myaccount_dashboard',
1558 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1559 + 'active' => 'on',
1560 + 'package' => $this->pro_package(),
1561 + 'fields' => [],
1562 + ]
1563 + ),
1255 1564
1565 + ];
1566 + }
1567 +
1256 1568 /**
1257 1569 * Checkout Page Widget List.
1258 1570 *
1259 1571 * @return array
@@ -1259,8 +1571,20 @@
1259 1571 * @return array
1260 1572 */
1261 1573 protected function my_account_page_widget_list() {
1262 1574 $widgets = [
1575 + 'account_avatar' => apply_filters(
1576 + 'rtsb/elements/account_avatar/options',
1577 + [
1578 + 'id' => 'account_avatar',
1579 + 'title' => esc_html__( 'Account Avatar', '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 + ),
1263 1587 'account_navigation_edit_shipping' => apply_filters(
1264 1588 'rtsb/elements/account_navigation_edit_shipping/options',
1265 1589 [
1266 1590 'id' => 'account_navigation_edit_shipping',
@@ -1463,8 +1787,32 @@
1463 1787 'package' => $this->pro_package(),
1464 1788 'fields' => [],
1465 1789 ]
1466 1790 ),
1791 + 'account_payment_methods' => apply_filters(
1792 + 'rtsb/elements/account_payment_methods/options',
1793 + [
1794 + 'id' => 'account_payment_methods',
1795 + 'title' => esc_html__( 'Payment Methods', 'shopbuilder' ),
1796 + 'category' => 'myaccount_dashboard',
1797 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1798 + 'active' => 'on',
1799 + 'package' => $this->pro_package(),
1800 + 'fields' => [],
1801 + ]
1802 + ),
1803 + 'account_add_payment_method' => apply_filters(
1804 + 'rtsb/elements/account_add_payment_method/options',
1805 + [
1806 + 'id' => 'account_add_payment_method',
1807 + 'title' => esc_html__( 'Add Payment Method', 'shopbuilder' ),
1808 + 'category' => 'myaccount_dashboard',
1809 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1810 + 'active' => 'on',
1811 + 'package' => $this->pro_package(),
1812 + 'fields' => [],
1813 + ]
1814 + ),
1467 1815 ];
1468 1816
1469 1817 return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets );
1470 1818 }
@@ -1515,9 +1863,9 @@
1515 1863 [
1516 1864 'id' => 'account_lost_password',
1517 1865 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ),
1518 1866 'category' => 'others_widget',
1519 - 'is_front_page' => 'myaccount_lost_password',
1867 + 'is_front_page' => 'myaccount_auth',
1520 1868 'active' => 'on',
1521 1869 'package' => $this->pro_package(),
1522 1870 'fields' => [],
1523 1871 ]