PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.1.4
ShopBuilder – WooCommerce Builder For Elementor v3.1.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
shopbuilder / app / Models / ElementList.php

ElementList.php in ShopBuilder – WooCommerce Builder For Elementor 3.1.4, at app/Models/ElementList.php

1,854 lines 59.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace RadiusTheme\SB\Models;
4
5 // Do not allow directly accessing this file.
6 if ( ! defined( 'ABSPATH' ) ) {
7 exit( 'This script cannot be accessed directly.' );
8 }
9
10 use RadiusTheme\SB\Elementor\Widgets\Archive;
11 use RadiusTheme\SB\Elementor\Widgets\Cart;
12 use RadiusTheme\SB\Elementor\Widgets\Checkout;
13 use RadiusTheme\SB\Elementor\Widgets\General;
14 use RadiusTheme\SB\Elementor\Widgets\Single;
15 use RadiusTheme\SB\Models\Base\ListModel;
16 use RadiusTheme\SB\Traits\SingletonTrait;
17 use RadiusTheme\SBPRO\Elementor\Widgets\Checkout as CheckoutPro;
18
19 /**
20 * Elementor Element List
21 */
22 class ElementList extends ListModel {
23 /**
24 * Singleton
25 */
26 use SingletonTrait;
27
28 /**
29 * List id
30 *
31 * @var string
32 */
33 protected $list_id = 'elements';
34
35 /**
36 * Elementor Elements
37 */
38 public function __construct() {
39 parent::__construct();
40 $this->title = esc_html__( 'Elementor Widgets', 'shopbuilder' );
41 $this->short_title = esc_html__( 'Elements', 'shopbuilder' );
42 $this->description = esc_html__( 'Here you can find the list of all Elementor widgets. You can individually enable or disable the elements. Or you can do that by one click.', 'shopbuilder' );
43 $this->categories = apply_filters(
44 'rtsb/elements/list/categories',
45 [
46 'general' => [
47 'title' => esc_html__( 'General', 'shopbuilder' ),
48 ],
49 'shop' => [
50 'title' => esc_html__( 'Shop / Archive', 'shopbuilder' ),
51 ],
52 'product' => [
53 'title' => esc_html__( 'Single', 'shopbuilder' ),
54 ],
55 'quick_view' => [
56 'title' => esc_html__( 'Quick View', 'shopbuilder' ),
57 ],
58 'cart' => [
59 'title' => esc_html__( 'Cart', 'shopbuilder' ),
60 ],
61 'checkout' => [
62 'title' => esc_html__( 'Checkout', 'shopbuilder' ),
63 ],
64 'thank_you' => [
65 'title' => esc_html__( 'Order Received', 'shopbuilder' ),
66 ],
67 'myaccount_dashboard' => [
68 'title' => esc_html__( 'My Account', 'shopbuilder' ),
69 ],
70 'others_widget' => [
71 'title' => esc_html__( 'Others', 'shopbuilder' ),
72 ],
73 ]
74 );
75 }
76
77
78 /**
79 * Widget List.
80 *
81 * @return array
82 */
83 protected function raw_list() {
84 $list = $this->product_page_widget_list()
85 + $this->general_widget_list()
86 + $this->product_quick_view()
87 + $this->shop_archive_page_widget_list()
88 + $this->cart_page_widget_list()
89 + $this->checkout_page_widget_list()
90 + $this->thankyou_page_widget_list()
91 + $this->orderpay_page_widget_list()
92 + $this->my_account_page_widget_list()
93 + $this->myaccount_auth_page_widget_list();
94
95 return apply_filters( 'rtsb/core/elements/raw_list', $list );
96 }
97
98 /**
99 * GLobal Widget List.
100 *
101 * @return array
102 */
103 protected function general_widget_list() {
104 $list = [
105 'products_grid' => apply_filters(
106 'rtsb/elements/products_grid/options',
107 [
108 'id' => 'products_grid',
109 'title' => esc_html__( 'Products - Grid Layouts', 'shopbuilder' ),
110 'base_class' => General\ProductsGrid::class,
111 'category' => 'general',
112 'active' => 'on',
113 'package' => 'free',
114 'fields' => [],
115 ]
116 ),
117 'products_list' => apply_filters(
118 'rtsb/elements/products_list/options',
119 [
120 'id' => 'products_list',
121 'title' => esc_html__( 'Products - List Layouts', 'shopbuilder' ),
122 'base_class' => General\ProductsList::class,
123 'category' => 'general',
124 'active' => 'on',
125 'package' => 'free',
126 'fields' => [],
127 ]
128 ),
129 'products_slider' => apply_filters(
130 'rtsb/elements/products_slider/options',
131 [
132 'id' => 'products_slider',
133 'title' => esc_html__( 'Products - Slider Layouts', 'shopbuilder' ),
134 'base_class' => General\ProductsSlider::class,
135 'category' => 'general',
136 'active' => 'on',
137 'package' => 'free',
138 'fields' => [],
139 ]
140 ),
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 ),
152 'products_single_cateogory' => apply_filters(
153 'rtsb/elements/products_single_cateogory/options',
154 [
155 'id' => 'products_single_cateogory',
156 'title' => esc_html__( 'Single Category', 'shopbuilder' ),
157 'base_class' => General\ProductsSingleCategory::class,
158 'category' => 'general',
159 'active' => 'on',
160 'package' => 'free',
161 'fields' => [],
162 ]
163 ),
164 'product_cateogories' => apply_filters(
165 'rtsb/elements/product_cateogories/options',
166 [
167 'id' => 'product_cateogories',
168 'title' => esc_html__( 'Product Categories', 'shopbuilder' ),
169 'base_class' => General\ProductCategories::class,
170 'category' => 'general',
171 'active' => 'on',
172 'package' => 'free',
173 'fields' => [],
174 ]
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 ),
199 'social_share' => apply_filters(
200 'rtsb/elements/social_share/options',
201 [
202 'id' => 'social_share',
203 'title' => esc_html__( 'Social Share', 'shopbuilder' ),
204 'base_class' => General\SocialShare::class,
205 'category' => 'general',
206 'active' => 'on',
207 'package' => 'free',
208 'fields' => [],
209 ]
210 ),
211 'wc_breadcrumbs' => apply_filters(
212 'rtsb/elements/wc_breadcrumbs/options',
213 [
214 'id' => 'wc_breadcrumbs',
215 'title' => esc_html__( 'Breadcrumbs', 'shopbuilder' ),
216 'base_class' => General\ProductBreadcrumbs::class,
217 'category' => 'general',
218 'active' => 'on',
219 'package' => 'free',
220 'fields' => [],
221 ]
222 ),
223 'product_notice' => apply_filters(
224 'rtsb/elements/product_notice/options',
225 [
226 'id' => 'product_notice',
227 'title' => esc_html__( 'Notice', 'shopbuilder' ),
228 'base_class' => General\Notice::class,
229 'category' => 'general',
230 'active' => 'on',
231 'package' => 'free',
232 'fields' => [],
233 ]
234 ),
235 'advanced_heading' => apply_filters(
236 'rtsb/elements/advanced_heading/options',
237 [
238 'id' => 'advanced_heading',
239 'title' => esc_html__( 'Advanced Heading', 'shopbuilder' ),
240 'base_class' => General\AdvancedHeading\AdvancedHeading::class,
241 'category' => 'general',
242 'active' => 'on',
243 'package' => 'free',
244 'fields' => [],
245 ]
246 ),
247 'dropcaps' => apply_filters(
248 'rtsb/elements/dropcaps/options',
249 [
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' ),
324 'category' => 'general',
325 'active' => '',
326 'package' => $this->pro_package(),
327 'fields' => [],
328 ]
329 ),
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 ];
473
474 return apply_filters( 'rtsb/core/elements/general/widget_list', $list );
475 }
476
477 /**
478 * Product Single Widget List.
479 *
480 * @return array
481 */
482 protected function product_page_widget_list() {
483
484 $list = [
485 'product_title' => apply_filters(
486 'rtsb/elements/product_title/options',
487 [
488 'id' => 'product_title',
489 'title' => esc_html__( 'Product Title', 'shopbuilder' ),
490 'base_class' => Single\ProductTitle::class,
491 'category' => 'product',
492 'active' => 'on',
493 'package' => 'free',
494 'fields' => [],
495 ]
496 ),
497 'product_description' => apply_filters(
498 'rtsb/elements/product_description/options',
499 [
500 'id' => 'product_description',
501 'title' => esc_html__( 'Product Description', 'shopbuilder' ),
502 'base_class' => Single\ProductDescription::class,
503 'category' => 'product',
504 'active' => 'on',
505 'package' => 'free',
506 'fields' => [],
507 ]
508 ),
509 'product_short_description' => apply_filters(
510 'rtsb/elements/product_short_description/options',
511 [
512 'id' => 'product_short_description',
513 'title' => esc_html__( 'Short Description', 'shopbuilder' ),
514 'base_class' => Single\ShortDescription::class,
515 'category' => 'product',
516 'active' => 'on',
517 'package' => 'free',
518 'fields' => [],
519 ]
520 ),
521 'product_images' => apply_filters(
522 'rtsb/elements/product_images/options',
523 [
524 'id' => 'product_images',
525 'title' => esc_html__( 'Product Images', 'shopbuilder' ),
526 'base_class' => Single\ProductImages::class,
527 'category' => 'product',
528 'active' => 'on',
529 'package' => 'free',
530 'fields' => [],
531 ]
532 ),
533 'product_onsale' => apply_filters(
534 'rtsb/elements/product_onsale/options',
535 [
536 'id' => 'product_onsale',
537 'title' => esc_html__( 'Product Badges', 'shopbuilder' ),
538 'base_class' => Single\ProductBadges::class,
539 'category' => 'product',
540 'active' => 'on',
541 'package' => 'free',
542 'fields' => [],
543 ]
544 ),
545 'product_additional_info' => apply_filters(
546 'rtsb/elements/product_additional_info/options',
547 [
548 'id' => 'product_additional_info',
549 'title' => esc_html__( 'Additional Information', 'shopbuilder' ),
550 'base_class' => Single\AdditionalInformation::class,
551 'category' => 'product',
552 'active' => 'on',
553 'package' => 'free',
554 'fields' => [],
555 ]
556 ),
557 'product_price' => apply_filters(
558 'rtsb/elements/product_price/options',
559 [
560 'id' => 'product_price',
561 'title' => esc_html__( 'Product Price', 'shopbuilder' ),
562 'base_class' => Single\ProductPrice::class,
563 'category' => 'product',
564 'active' => 'on',
565 'package' => 'free',
566 'fields' => [],
567 ]
568 ),
569 'product_meta' => apply_filters(
570 'rtsb/elements/product_meta/options',
571 [
572 'id' => 'product_meta',
573 'title' => esc_html__( 'Product Meta', 'shopbuilder' ),
574 'base_class' => Single\ProductMeta::class,
575 'category' => 'product',
576 'active' => 'on',
577 'package' => 'free',
578 'fields' => [],
579 ]
580 ),
581 'product_categories' => apply_filters(
582 'rtsb/elements/product_categories/options',
583 [
584 'id' => 'product_categories',
585 'title' => esc_html__( 'Product Categories', 'shopbuilder' ),
586 'base_class' => Single\ProductCats::class,
587 'category' => 'product',
588 'active' => 'on',
589 'package' => 'free',
590 'fields' => [],
591 ]
592 ),
593 'product_rating' => apply_filters(
594 'rtsb/elements/product_rating/options',
595 [
596 'id' => 'product_rating',
597 'title' => esc_html__( 'Product Rating', 'shopbuilder' ),
598 'base_class' => Single\ProductRating::class,
599 'category' => 'product',
600 'active' => 'on',
601 'package' => 'free',
602 'fields' => [],
603 ]
604 ),
605 'product_tags' => apply_filters(
606 'rtsb/elements/product_tags/options',
607 [
608 'id' => 'product_tags',
609 'title' => esc_html__( 'Product Tags', 'shopbuilder' ),
610 'base_class' => Single\ProductTags::class,
611 'category' => 'product',
612 'active' => 'on',
613 'package' => 'free',
614 'fields' => [],
615 ]
616 ),
617 'product_sku' => apply_filters(
618 'rtsb/elements/product_sku/options',
619 [
620 'id' => 'product_sku',
621 'title' => esc_html__( 'Product SKU', 'shopbuilder' ),
622 'base_class' => Single\ProductSKU::class,
623 'category' => 'product',
624 'active' => 'on',
625 'package' => 'free',
626 'fields' => [],
627 ]
628 ),
629 'product_stock' => apply_filters(
630 'rtsb/elements/product_stock/options',
631 [
632 'id' => 'product_stock',
633 'title' => esc_html__( 'Product Stock', 'shopbuilder' ),
634 'base_class' => Single\ProductStock::class,
635 'category' => 'product',
636 'active' => 'on',
637 'package' => 'free',
638 'fields' => [],
639 ]
640 ),
641 'actions_button' => apply_filters(
642 'rtsb/elements/actions_button/options',
643 [
644 'id' => 'actions_button',
645 'title' => esc_html__( 'Action Buttons', 'shopbuilder' ),
646 'base_class' => Single\ActionsButton::class,
647 'category' => 'product',
648 'active' => 'on',
649 'package' => 'free',
650 'fields' => [],
651 ]
652 ),
653 'product_add_to_cart' => apply_filters(
654 'rtsb/elements/product_add_to_cart/options',
655 [
656 'id' => 'product_add_to_cart',
657 'title' => esc_html__( 'Add to Cart', 'shopbuilder' ),
658 'base_class' => Single\ProductAddToCart::class,
659 'category' => 'product',
660 'active' => 'on',
661 'package' => 'free',
662 'fields' => [],
663 ]
664 ),
665 'product_share' => apply_filters(
666 'rtsb/elements/product_share/options',
667 [
668 'id' => 'product_share',
669 'title' => esc_html__( 'Product Share', 'shopbuilder' ),
670 'base_class' => Single\ProductShare::class,
671 'category' => 'product',
672 'active' => 'on',
673 'package' => 'free',
674 'fields' => [],
675 ]
676 ),
677 'product_sales_count' => apply_filters(
678 'rtsb/elements/product_sales_count/options',
679 [
680 'id' => 'product_sales_count',
681 'title' => esc_html__( 'Sales Count', 'shopbuilder' ),
682 'category' => 'product',
683 'active' => '',
684 'package' => $this->pro_package(),
685 'fields' => [],
686 ]
687 ),
688 'product_stock_counter' => apply_filters(
689 'rtsb/elements/product_stock_counter/options',
690 [
691 'id' => 'product_stock_counter',
692 'title' => esc_html__( 'Product Stock Count', 'shopbuilder' ),
693 'category' => 'product',
694 'active' => '',
695 'package' => $this->pro_package(),
696 'fields' => [],
697 ]
698 ),
699 'flash_sale_countdown' => apply_filters(
700 'rtsb/elements/flash_sale_countdown/options',
701 [
702 'id' => 'flash_sale_countdown',
703 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder' ),
704 'category' => 'product',
705 'active' => '',
706 'package' => $this->pro_package(),
707 'fields' => [],
708 ]
709 ),
710 'product_size_chart' => apply_filters(
711 'rtsb/elements/product_size_chart/options',
712 [
713 'id' => 'product_size_chart',
714 'title' => esc_html__( 'Size Chart', 'shopbuilder' ),
715 'category' => 'product',
716 'active' => '',
717 'package' => $this->pro_package(),
718 'fields' => [],
719 ]
720 ),
721 'product_quick_checkout' => apply_filters(
722 'rtsb/elements/product_quick_checkout/options',
723 [
724 'id' => 'product_quick_checkout',
725 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ),
726 'category' => 'product',
727 'active' => '',
728 'package' => $this->pro_package(),
729 'fields' => [],
730 ]
731 ),
732 'product_tabs' => apply_filters(
733 'rtsb/elements/product_tabs/options',
734 [
735 'id' => 'product_tabs',
736 'title' => esc_html__( 'Product Tabs', 'shopbuilder' ),
737 'base_class' => Single\ProductTabs::class,
738 'category' => 'product',
739 'active' => 'on',
740 'package' => 'free',
741 'fields' => [],
742 ]
743 ),
744 'advance_product_tabs' => apply_filters(
745 'rtsb/elements/advance_product_tabs/options',
746 [
747 'id' => 'advance_product_tabs',
748 'title' => esc_html__( 'Advanced Product Tabs', 'shopbuilder' ),
749 'category' => 'product',
750 'active' => '',
751 'package' => $this->pro_package(),
752 'fields' => [],
753 ]
754 ),
755 'product_qr_code' => apply_filters(
756 'rtsb/elements/product_qr_code/options',
757 [
758 'id' => 'product_qr_code',
759 'title' => esc_html__( 'QR Code', 'shopbuilder' ),
760 'category' => 'product',
761 'active' => '',
762 'package' => $this->pro_package(),
763 'fields' => [],
764 ]
765 ),
766 'product_reviews' => apply_filters(
767 'rtsb/elements/product_reviews/options',
768 [
769 'id' => 'product_reviews',
770 'title' => esc_html__( 'Product Reviews', 'shopbuilder' ),
771 'base_class' => Single\ProductReviews::class,
772 'category' => 'product',
773 'active' => 'on',
774 'package' => 'free',
775 'fields' => [],
776 ]
777 ),
778 'upsells_product' => apply_filters(
779 'rtsb/elements/upsells_product/options',
780 [
781 'id' => 'upsells_product',
782 'title' => esc_html__( 'Upsell - Default Layout', 'shopbuilder' ),
783 'base_class' => Single\UpsellsProduct::class,
784 'category' => 'product',
785 'active' => 'on',
786 'package' => 'free',
787 'fields' => [],
788 ]
789 ),
790 'upsells_product_custom' => apply_filters(
791 'rtsb/elements/upsells_product_custom/options',
792 [
793 'id' => 'upsells_product_custom',
794 'title' => esc_html__( 'Upsell - Custom Layouts', 'shopbuilder' ),
795 'base_class' => Single\UpsellsProductsCustom::class,
796 'category' => 'product',
797 'active' => 'on',
798 'package' => 'free',
799 'fields' => [],
800 ]
801 ),
802 'upsells_products_slider_custom' => apply_filters(
803 'rtsb/elements/upsells_products_slider_custom/options',
804 [
805 'id' => 'upsells_products_slider_custom',
806 'title' => esc_html__( 'Upsell - Slider Layouts', 'shopbuilder' ),
807 'base_class' => Single\UpsellsProductsSlider::class,
808 'category' => 'product',
809 'active' => 'on',
810 'package' => 'free',
811 'fields' => [],
812 ]
813 ),
814 'related_product' => apply_filters(
815 'rtsb/elements/related_product/options',
816 [
817 'id' => 'related_product',
818 'title' => esc_html__( 'Related - Default Layout', 'shopbuilder' ),
819 'base_class' => Single\RelatedProduct::class,
820 'category' => 'product',
821 'active' => 'on',
822 'package' => 'free',
823 'fields' => [],
824 ]
825 ),
826 'related_product_custom' => apply_filters(
827 'rtsb/elements/related_product_custom/options',
828 [
829 'id' => 'related_product_custom',
830 'title' => esc_html__( 'Related - Custom Layouts', 'shopbuilder' ),
831 'base_class' => Single\RelatedProductsCustom::class,
832 'category' => 'product',
833 'active' => 'on',
834 'package' => 'free',
835 'fields' => [],
836 ]
837 ),
838 'related_products_slider_custom' => apply_filters(
839 'rtsb/elements/related_products_slider_custom/options',
840 [
841 'id' => 'related_products_slider_custom',
842 'title' => esc_html__( 'Related - Slider Layouts', 'shopbuilder' ),
843 'base_class' => Single\RelatedProductsSlider::class,
844 'category' => 'product',
845 'active' => 'on',
846 'package' => 'free',
847 'fields' => [],
848 ]
849 ),
850 ];
851
852 return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list );
853 }
854
855 /**
856 * Product Single Widget List.
857 *
858 * @return array
859 */
860 protected function product_quick_view() {
861
862 $list = [
863 'qv_product_title' => apply_filters(
864 'rtsb/elements/qv_product_title/options',
865 [
866 'id' => 'qv_product_title',
867 'title' => esc_html__( 'Product Title', 'shopbuilder' ),
868 'base_class' => Single\ProductTitle::class,
869 'category' => 'quick_view',
870 'is_front_page' => 'quick_view',
871 'active' => 'on',
872 'package' => $this->pro_package(),
873 'fields' => [],
874 ]
875 ),
876 'qv_product_description' => apply_filters(
877 'rtsb/elements/qv_product_description/options',
878 [
879 'id' => 'qv_product_description',
880 'title' => esc_html__( 'Product Description', 'shopbuilder' ),
881 'base_class' => Single\ProductDescription::class,
882 'category' => 'quick_view',
883 'is_front_page' => 'quick_view',
884 'active' => 'on',
885 'package' => $this->pro_package(),
886 'fields' => [],
887 ]
888 ),
889 'qv_product_short_description' => apply_filters(
890 'rtsb/elements/qv_product_short_description/options',
891 [
892 'id' => 'qv_product_short_description',
893 'title' => esc_html__( 'Short Description', 'shopbuilder' ),
894 'base_class' => Single\ShortDescription::class,
895 'category' => 'quick_view',
896 'is_front_page' => 'quick_view',
897 'active' => 'on',
898 'package' => $this->pro_package(),
899 'fields' => [],
900 ]
901 ),
902 'qv_product_images' => apply_filters(
903 'rtsb/elements/qv_product_images/options',
904 [
905 'id' => 'qv_product_images',
906 'title' => esc_html__( 'Product Images', 'shopbuilder' ),
907 'base_class' => Single\ProductImages::class,
908 'category' => 'quick_view',
909 'is_front_page' => 'quick_view',
910 'active' => 'on',
911 'package' => $this->pro_package(),
912 'fields' => [],
913 ]
914 ),
915 'qv_product_badges' => apply_filters(
916 'rtsb/elements/qv_product_badges/options',
917 [
918 'id' => 'qv_product_badges',
919 'title' => esc_html__( 'Product Badges', 'shopbuilder' ),
920 'base_class' => Single\ProductBadges::class,
921 'category' => 'quick_view',
922 'is_front_page' => 'quick_view',
923 'active' => 'on',
924 'package' => $this->pro_package(),
925 'fields' => [],
926 ]
927 ),
928 'qv_product_additional_info' => apply_filters(
929 'rtsb/elements/qv_product_additional_info/options',
930 [
931 'id' => 'qv_product_additional_info',
932 'title' => esc_html__( 'Additional Information', 'shopbuilder' ),
933 'base_class' => Single\AdditionalInformation::class,
934 'category' => 'quick_view',
935 'is_front_page' => 'quick_view',
936 'active' => 'on',
937 'package' => $this->pro_package(),
938 'fields' => [],
939 ]
940 ),
941 'qv_product_price' => apply_filters(
942 'rtsb/elements/qv_product_price/options',
943 [
944 'id' => 'qv_product_price',
945 'title' => esc_html__( 'Product Price', 'shopbuilder' ),
946 'base_class' => Single\ProductPrice::class,
947 'category' => 'quick_view',
948 'is_front_page' => 'quick_view',
949 'active' => 'on',
950 'package' => $this->pro_package(),
951 'fields' => [],
952 ]
953 ),
954 'qv_product_meta' => apply_filters(
955 'rtsb/elements/qv_product_meta/options',
956 [
957 'id' => 'qv_product_meta',
958 'title' => esc_html__( 'Product Meta', 'shopbuilder' ),
959 'base_class' => Single\ProductMeta::class,
960 'category' => 'quick_view',
961 'is_front_page' => 'quick_view',
962 'active' => 'on',
963 'package' => $this->pro_package(),
964 'fields' => [],
965 ]
966 ),
967 'qv_product_categories' => apply_filters(
968 'rtsb/elements/qv_product_categories/options',
969 [
970 'id' => 'qv_product_categories',
971 'title' => esc_html__( 'Product Categories', 'shopbuilder' ),
972 'base_class' => Single\ProductCats::class,
973 'category' => 'quick_view',
974 'is_front_page' => 'quick_view',
975 'active' => 'on',
976 'package' => $this->pro_package(),
977 'fields' => [],
978 ]
979 ),
980 'qv_product_rating' => apply_filters(
981 'rtsb/elements/qv_product_rating/options',
982 [
983 'id' => 'qv_product_rating',
984 'title' => esc_html__( 'Product Rating', 'shopbuilder' ),
985 'base_class' => Single\ProductRating::class,
986 'category' => 'quick_view',
987 'is_front_page' => 'quick_view',
988 'active' => 'on',
989 'package' => $this->pro_package(),
990 'fields' => [],
991 ]
992 ),
993 'qv_product_tags' => apply_filters(
994 'rtsb/elements/qv_product_tags/options',
995 [
996 'id' => 'qv_product_tags',
997 'title' => esc_html__( 'Product Tags', 'shopbuilder' ),
998 'base_class' => Single\ProductTags::class,
999 'category' => 'quick_view',
1000 'is_front_page' => 'quick_view',
1001 'active' => 'on',
1002 'package' => $this->pro_package(),
1003 'fields' => [],
1004 ]
1005 ),
1006 'qv_product_sku' => apply_filters(
1007 'rtsb/elements/qv_product_sku/options',
1008 [
1009 'id' => 'qv_product_sku',
1010 'title' => esc_html__( 'Product SKU', 'shopbuilder' ),
1011 'base_class' => Single\ProductSKU::class,
1012 'category' => 'quick_view',
1013 'is_front_page' => 'quick_view',
1014 'active' => 'on',
1015 'package' => $this->pro_package(),
1016 'fields' => [],
1017 ]
1018 ),
1019 'qv_product_stock' => apply_filters(
1020 'rtsb/elements/qv_product_stock/options',
1021 [
1022 'id' => 'qv_product_stock',
1023 'title' => esc_html__( 'Product Stock', 'shopbuilder' ),
1024 'base_class' => Single\ProductStock::class,
1025 'category' => 'quick_view',
1026 'is_front_page' => 'quick_view',
1027 'active' => 'on',
1028 'package' => $this->pro_package(),
1029 'fields' => [],
1030 ]
1031 ),
1032 'qv_actions_button' => apply_filters(
1033 'rtsb/elements/qv_actions_button/options',
1034 [
1035 'id' => 'qv_actions_button',
1036 'title' => esc_html__( 'Action Buttons', 'shopbuilder' ),
1037 'base_class' => Single\ActionsButton::class,
1038 'category' => 'quick_view',
1039 'is_front_page' => 'quick_view',
1040 'active' => 'on',
1041 'package' => $this->pro_package(),
1042 'fields' => [],
1043 ]
1044 ),
1045 'qv_product_add_to_cart' => apply_filters(
1046 'rtsb/elements/qv_product_add_to_cart/options',
1047 [
1048 'id' => 'qv_product_add_to_cart',
1049 'title' => esc_html__( 'Add to Cart', 'shopbuilder' ),
1050 'base_class' => Single\ProductAddToCart::class,
1051 'category' => 'quick_view',
1052 'is_front_page' => 'quick_view',
1053 'active' => 'on',
1054 'package' => $this->pro_package(),
1055 'fields' => [],
1056 ]
1057 ),
1058 'qv_product_sales_count' => apply_filters(
1059 'rtsb/elements/qv_product_sales_count/options',
1060 [
1061 'id' => 'qv_product_sales_count',
1062 'title' => esc_html__( 'Sales Count', 'shopbuilder' ),
1063 'category' => 'quick_view',
1064 'is_front_page' => 'quick_view',
1065 'active' => 'on',
1066 'package' => $this->pro_package(),
1067 'fields' => [],
1068 ]
1069 ),
1070 'qv_social_share' => apply_filters(
1071 'rtsb/settings/qv_social_share/options',
1072 [
1073 'id' => 'qv_social_share',
1074 'title' => esc_html__( 'Social Share', 'shopbuilder' ),
1075 'base_class' => General\SocialShare::class,
1076 'active' => 'on',
1077 'category' => 'quick_view',
1078 'is_front_page' => 'quick_view',
1079 'package' => $this->pro_package(),
1080 'fields' => [],
1081 ]
1082 ),
1083 'qv_product_quick_checkout' => apply_filters(
1084 'rtsb/elements/qv_product_quick_checkout/options',
1085 [
1086 'id' => 'qv_product_quick_checkout',
1087 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ),
1088 'category' => 'quick_view',
1089 'is_front_page' => 'quick_view',
1090 'active' => 'on',
1091 'package' => $this->pro_package(),
1092 'fields' => [],
1093 ]
1094 ),
1095
1096 'qv_product_size_chart' => apply_filters(
1097 'rtsb/elements/qv_product_size_chart/options',
1098 [
1099 'id' => 'qv_product_size_chart',
1100 'title' => esc_html__( 'Size Chart', 'shopbuilder' ),
1101 'category' => 'quick_view',
1102 'is_front_page' => 'quick_view',
1103 'active' => '',
1104 'package' => $this->pro_package(),
1105 'fields' => [],
1106 ]
1107 ),
1108
1109 ];
1110
1111 return apply_filters( 'rtsb/core/elements/quick_view/widget_list', $list );
1112 }
1113
1114 /**
1115 * Product Archive Widget List.
1116 *
1117 * @return array
1118 */
1119 protected function shop_archive_page_widget_list() {
1120 $list = [
1121 'archive_title' => apply_filters(
1122 'rtsb/elements/archive_title/options',
1123 [
1124 'id' => 'archive_title',
1125 'title' => esc_html__( 'Archive Title', 'shopbuilder' ),
1126 'base_class' => Archive\ArchiveTitle::class,
1127 'category' => 'shop',
1128 'active' => 'on',
1129 'package' => 'free',
1130 'fields' => [],
1131 ]
1132 ),
1133
1134 'archive_description' => apply_filters(
1135 'rtsb/elements/archive_description/options',
1136 [
1137 'id' => 'archive_description',
1138 'title' => esc_html__( 'Archive Description', 'shopbuilder' ),
1139 'base_class' => Archive\ArchiveDescription::class,
1140 'category' => 'shop',
1141 'active' => 'on',
1142 'package' => 'free',
1143 'fields' => [],
1144 ]
1145 ),
1146
1147 'products_archive_catalog' => apply_filters(
1148 'rtsb/elements/products_archive_catalog/options',
1149 [
1150 'id' => 'products_archive_catalog',
1151 'title' => esc_html__( 'Products - Default Layout', 'shopbuilder' ),
1152 'base_class' => Archive\ProductsArchive::class,
1153 'category' => 'shop',
1154 'active' => 'on',
1155 'package' => 'free',
1156 'fields' => [],
1157 ]
1158 ),
1159
1160 'products_archive_catalog_custom' => apply_filters(
1161 'rtsb/elements/products_archive_catalog_custom/options',
1162 [
1163 'id' => 'products_archive_catalog_custom',
1164 'title' => esc_html__( 'Products - Custom Layouts', 'shopbuilder' ),
1165 'base_class' => Archive\ProductsArchiveCustom::class,
1166 'category' => 'shop',
1167 'active' => 'on',
1168 'package' => 'free',
1169 'fields' => [],
1170 ]
1171 ),
1172
1173 'ajax_product_filters' => apply_filters(
1174 'rtsb/elements/ajax_product_filters/options',
1175 [
1176 'id' => 'ajax_product_filters',
1177 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder' ),
1178 'category' => 'shop',
1179 'active' => 'on',
1180 'package' => $this->pro_package(),
1181 'fields' => [],
1182 ]
1183 ),
1184 'product_filters' => apply_filters(
1185 'rtsb/elements/product_filters/options',
1186 [
1187 'id' => 'product_filters',
1188 'title' => esc_html__( 'Product Filters', 'shopbuilder' ),
1189 'base_class' => Archive\ProductFilters::class,
1190 'category' => 'shop',
1191 'active' => 'on',
1192 'package' => 'free',
1193 'fields' => [],
1194 ]
1195 ),
1196
1197 'archive_result_count' => apply_filters(
1198 'rtsb/elements/archive_result_count/options',
1199 [
1200 'id' => 'archive_result_count',
1201 'title' => esc_html__( 'Result Count', 'shopbuilder' ),
1202 'base_class' => Archive\ArchiveResultCount::class,
1203 'category' => 'shop',
1204 'active' => 'on',
1205 'package' => 'free',
1206 'fields' => [],
1207 ]
1208 ),
1209 'archive_products_ordering' => apply_filters(
1210 'rtsb/elements/archive_products_ordering/options',
1211 [
1212 'id' => 'archive_products_ordering',
1213 'title' => esc_html__( 'Products Ordering', 'shopbuilder' ),
1214 'base_class' => Archive\ProductsOrdering::class,
1215 'category' => 'shop',
1216 'active' => 'on',
1217 'package' => 'free',
1218 'fields' => [],
1219 ]
1220 ),
1221 'archive_product_mode' => apply_filters(
1222 'rtsb/elements/archive_product_mode/options',
1223 [
1224 'id' => 'archive_product_mode',
1225 'title' => esc_html__( 'View Mode', 'shopbuilder' ),
1226 'base_class' => Archive\ArchiveProductMode::class,
1227 'category' => 'shop',
1228 'active' => 'on',
1229 'package' => 'free',
1230 'fields' => [],
1231 ]
1232 ),
1233 ];
1234
1235 return apply_filters( 'rtsb/core/elements/shop/widget_list', $list );
1236 }
1237
1238 /**
1239 * Cart Page Widget List.
1240 *
1241 * @return array
1242 */
1243 protected function cart_page_widget_list() {
1244 $list = [
1245 'cart_table' => apply_filters(
1246 'rtsb/elements/cart_table/options',
1247 [
1248 'id' => 'cart_table',
1249 'title' => esc_html__( 'Cart Table', 'shopbuilder' ),
1250 'base_class' => Cart\CartTable::class,
1251 'category' => 'cart',
1252 'active' => 'on',
1253 'package' => 'free',
1254 'fields' => [],
1255 ]
1256 ),
1257 'cart_totals' => apply_filters(
1258 'rtsb/elements/cart_totals/options',
1259 [
1260 'id' => 'cart_totals',
1261 'title' => esc_html__( 'Cart Totals', 'shopbuilder' ),
1262 'base_class' => Cart\CartTotals::class,
1263 'category' => 'cart',
1264 'active' => 'on',
1265 'package' => 'free',
1266 'fields' => [],
1267 ]
1268 ),
1269 'cart_coupon_form' => apply_filters(
1270 'rtsb/elements/cart_coupon_form/options',
1271 [
1272 'id' => 'cart_coupon_form',
1273 'title' => esc_html__( 'Coupon Form', 'shopbuilder' ),
1274 'category' => 'cart',
1275 'active' => 'on',
1276 'package' => $this->pro_package(),
1277 'fields' => [],
1278 ]
1279 ),
1280 'cross_sells' => apply_filters(
1281 'rtsb/elements/cross_sells/options',
1282 [
1283 'id' => 'cross_sells',
1284 'title' => esc_html__( 'Cross Sell - Default Layout', 'shopbuilder' ),
1285 'base_class' => Cart\CrossSellProduct::class,
1286 'category' => 'cart',
1287 'active' => 'on',
1288 'package' => 'free',
1289 'fields' => [],
1290 ]
1291 ),
1292 'cross_sells_custom' => apply_filters(
1293 'rtsb/elements/cross_sells_custom/options',
1294 [
1295 'id' => 'cross_sells_custom',
1296 'title' => esc_html__( 'Cross Sell - Custom Layouts', 'shopbuilder' ),
1297 'base_class' => Cart\CrossSellsProductsCustom::class,
1298 'category' => 'cart',
1299 'active' => 'on',
1300 'package' => 'free',
1301 'fields' => [],
1302 ]
1303 ),
1304 'cross_sells_custom_slider' => apply_filters(
1305 'rtsb/elements/cross_sells_custom_slider/options',
1306 [
1307 'id' => 'cross_sells_custom_slider',
1308 'title' => esc_html__( 'Cross Sell - Slider Layouts', 'shopbuilder' ),
1309 'base_class' => Cart\CrossSellsProductsSlider::class,
1310 'category' => 'cart',
1311 'active' => 'on',
1312 'package' => 'free',
1313 'fields' => [],
1314 ]
1315 ),
1316 ];
1317
1318 return apply_filters( 'rtsb/core/elements/cart/widget_list', $list );
1319 }
1320
1321 /**
1322 * Checkout Page Widget List.
1323 *
1324 * @return array
1325 */
1326 protected function checkout_page_widget_list() {
1327 $list = [
1328 'billing_form' => apply_filters(
1329 'rtsb/elements/billing_form/options',
1330 [
1331 'id' => 'billing_form',
1332 'title' => esc_html__( 'Billing Form', 'shopbuilder' ),
1333 'base_class' => Checkout\BillingForm::class,
1334 'category' => 'checkout',
1335 'active' => 'on',
1336 'package' => 'free',
1337 'fields' => [],
1338 ]
1339 ),
1340 'shipping_form' => apply_filters(
1341 'rtsb/elements/shipping_form/options',
1342 [
1343 'id' => 'shipping_form',
1344 'title' => esc_html__( 'Shipping Form', 'shopbuilder' ),
1345 'base_class' => Checkout\ShippingForm::class,
1346 'category' => 'checkout',
1347 'active' => 'on',
1348 'package' => 'free',
1349 'fields' => [],
1350 ]
1351 ),
1352 'order_notes' => apply_filters(
1353 'rtsb/elements/order_notes/options',
1354 [
1355 'id' => 'order_notes',
1356 'title' => esc_html__( 'Order Notes', 'shopbuilder' ),
1357 'base_class' => Checkout\OrderNotes::class,
1358 'category' => 'checkout',
1359 'active' => 'on',
1360 'package' => 'free',
1361 'fields' => [],
1362 ]
1363 ),
1364 'order_review' => apply_filters(
1365 'rtsb/elements/order_review/options',
1366 [
1367 'id' => 'order_review',
1368 'title' => esc_html__( 'Order Review', 'shopbuilder' ),
1369 'base_class' => Checkout\OrderReview::class,
1370 'category' => 'checkout',
1371 'active' => 'on',
1372 'package' => 'free',
1373 'fields' => [],
1374 ]
1375 ),
1376 'checkout_payment' => apply_filters(
1377 'rtsb/elements/checkout_payment/options',
1378 [
1379 'id' => 'checkout_payment',
1380 'title' => esc_html__( 'Checkout Payment Method', 'shopbuilder' ),
1381 'base_class' => Checkout\CheckoutPayment::class,
1382 'category' => 'checkout',
1383 'active' => 'on',
1384 'package' => 'free',
1385 'fields' => [],
1386 ]
1387 ),
1388 'coupon_form' => apply_filters(
1389 'rtsb/elements/coupon_form/options',
1390 [
1391 'id' => 'coupon_form',
1392 'title' => esc_html__( 'Coupon Form', 'shopbuilder' ),
1393 'base_class' => Checkout\CouponForm::class,
1394 'category' => 'checkout',
1395 'active' => 'on',
1396 'package' => 'free',
1397 'fields' => [],
1398 ]
1399 ),
1400 'checkout_login_form' => apply_filters(
1401 'rtsb/elements/checkout_login_form/options',
1402 [
1403 'id' => 'checkout_login_form',
1404 'title' => esc_html__( 'Login Form', 'shopbuilder' ),
1405 'base_class' => Checkout\CheckoutLoginForm::class,
1406 'category' => 'checkout',
1407 'active' => 'on',
1408 'package' => 'free',
1409 'fields' => [],
1410 ]
1411 ),
1412 'shipping_method' => apply_filters(
1413 'rtsb/elements/shipping_method/options',
1414 [
1415 'id' => 'shipping_method',
1416 'title' => esc_html__( 'Shipping Method', 'shopbuilder' ),
1417 'base_class' => Checkout\ShippingMethod::class,
1418 'category' => 'checkout',
1419 'active' => 'on',
1420 'package' => 'free',
1421 'fields' => [],
1422 ]
1423 ),
1424 'multi_step_checkout_widget' => apply_filters(
1425 'rtsb/elements/multi_step_checkout_widget/options',
1426 [
1427 'id' => 'multi_step_checkout_widget',
1428 'title' => esc_html__( 'Multi Step Checkout', 'shopbuilder' ),
1429 'base_class' => CheckoutPro\MultiStepCheckout::class,
1430 'category' => 'checkout',
1431 'active' => '',
1432 'package' => $this->pro_package(),
1433 'fields' => [],
1434 ]
1435 ),
1436
1437 ];
1438
1439 return apply_filters( 'rtsb/core/elements/checkout/widget_list', $list );
1440 }
1441
1442 /**
1443 * Checkout Page Widget List.
1444 *
1445 * @return array
1446 */
1447 protected function thankyou_page_widget_list() {
1448 return [
1449 'order_received_text' => apply_filters(
1450 'rtsb/elements/order_received_text/options',
1451 [
1452 'id' => 'order_received_text',
1453 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ),
1454 'category' => 'thank_you',
1455 'is_front_page' => 'thank_you',
1456 'active' => 'on',
1457 'package' => $this->pro_package(),
1458 'fields' => [],
1459 ]
1460 ),
1461 'order_details_summary' => apply_filters(
1462 'rtsb/elements/order_details_summary/options',
1463 [
1464 'id' => 'order_details_summary',
1465 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ),
1466 'category' => 'thank_you',
1467 'is_front_page' => 'thank_you',
1468 'active' => 'on',
1469 'package' => $this->pro_package(),
1470 'fields' => [],
1471 ]
1472 ),
1473 'order_details_table' => apply_filters(
1474 'rtsb/elements/order_details_table/options',
1475 [
1476 'id' => 'order_details_table',
1477 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ),
1478 'category' => 'thank_you',
1479 'is_front_page' => 'thank_you',
1480 'active' => 'on',
1481 'package' => $this->pro_package(),
1482 'fields' => [],
1483 ]
1484 ),
1485 'downloadable_products' => apply_filters(
1486 'rtsb/elements/downloadable_products/options',
1487 [
1488 'id' => 'downloadable_products',
1489 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ),
1490 'category' => 'thank_you',
1491 'is_front_page' => 'thank_you',
1492 'active' => 'on',
1493 'package' => $this->pro_package(),
1494 'fields' => [],
1495 ]
1496 ),
1497 'order_billing_address' => apply_filters(
1498 'rtsb/elements/order_billing_address/options',
1499 [
1500 'id' => 'order_billing_address',
1501 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ),
1502 'category' => 'thank_you',
1503 'is_front_page' => 'thank_you',
1504 'active' => 'on',
1505 'package' => $this->pro_package(),
1506 'fields' => [],
1507 ]
1508 ),
1509 'order_shipping_address' => apply_filters(
1510 'rtsb/elements/order_shipping_address/options',
1511 [
1512 'id' => 'order_shipping_address',
1513 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ),
1514 'category' => 'thank_you',
1515 'is_front_page' => 'thank_you',
1516 'active' => 'on',
1517 'package' => $this->pro_package(),
1518 'fields' => [],
1519 ]
1520 ),
1521 'order_custom_fields_data' => apply_filters(
1522 'rtsb/elements/order_custom_fields_data/options',
1523 [
1524 'id' => 'order_custom_fields_data',
1525 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ),
1526 'category' => 'thank_you',
1527 'is_front_page' => 'thank_you',
1528 'active' => 'on',
1529 'package' => $this->pro_package(),
1530 'fields' => [],
1531 ]
1532 ),
1533 ];
1534 }
1535 /**
1536 * Checkout Page Order Pay Widget List.
1537 *
1538 * @return array
1539 */
1540 protected function orderpay_page_widget_list() {
1541 return [
1542 'order_pay_form' => apply_filters(
1543 'rtsb/elements/order_pay_form/options',
1544 [
1545 'id' => 'order_pay_form',
1546 'title' => esc_html__( 'Order Pay Form', 'shopbuilder' ),
1547 'category' => 'myaccount_dashboard',
1548 'is_front_page' => 'all_myaccount_dashboard_inner',
1549 'active' => 'on',
1550 'package' => $this->pro_package(),
1551 'fields' => [],
1552 ]
1553 ),
1554
1555 ];
1556 }
1557
1558 /**
1559 * Checkout Page Widget List.
1560 *
1561 * @return array
1562 */
1563 protected function my_account_page_widget_list() {
1564 $widgets = [
1565 'account_navigation_edit_shipping' => apply_filters(
1566 'rtsb/elements/account_navigation_edit_shipping/options',
1567 [
1568 'id' => 'account_navigation_edit_shipping',
1569 'title' => esc_html__( 'Account Navigation', 'shopbuilder' ),
1570 'category' => 'myaccount_dashboard',
1571 'is_front_page' => 'all_myaccount_dashboard_inner',
1572 'active' => 'on',
1573 'package' => $this->pro_package(),
1574 'fields' => [],
1575 ]
1576 ),
1577 'account_dashboard' => apply_filters(
1578 'rtsb/elements/account_dashboard/options',
1579 [
1580 'id' => 'account_dashboard',
1581 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ),
1582 'category' => 'myaccount_dashboard',
1583 'is_front_page' => 'all_myaccount_dashboard_inner',
1584 'active' => 'on',
1585 'package' => $this->pro_package(),
1586 'fields' => [],
1587 ]
1588 ),
1589 'account_orders' => apply_filters(
1590 'rtsb/elements/account_orders/options',
1591 [
1592 'id' => 'account_orders',
1593 'title' => esc_html__( 'Account Orders', 'shopbuilder' ),
1594 'category' => 'myaccount_dashboard',
1595 'is_front_page' => 'all_myaccount_dashboard_inner',
1596 'active' => 'on',
1597 'package' => $this->pro_package(),
1598 'fields' => [],
1599 ]
1600 ),
1601 'account_downloads' => apply_filters(
1602 'rtsb/elements/account_downloads/options',
1603 [
1604 'id' => 'account_downloads',
1605 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ),
1606 'category' => 'myaccount_dashboard',
1607 'is_front_page' => 'all_myaccount_dashboard_inner',
1608 'active' => 'on',
1609 'package' => $this->pro_package(),
1610 'fields' => [],
1611 ]
1612 ),
1613 'account_billing_address' => apply_filters(
1614 'rtsb/elements/account_billing_address/options',
1615 [
1616 'id' => 'account_billing_address',
1617 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ),
1618 'category' => 'myaccount_dashboard',
1619 'is_front_page' => 'all_myaccount_dashboard_inner',
1620 'active' => 'on',
1621 'package' => $this->pro_package(),
1622 'fields' => [],
1623 ]
1624 ),
1625 'account_shipping_address' => apply_filters(
1626 'rtsb/elements/account_shipping_address/options',
1627 [
1628 'id' => 'account_shipping_address',
1629 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ),
1630 'category' => 'myaccount_dashboard',
1631 'is_front_page' => 'all_myaccount_dashboard_inner',
1632 'active' => 'on',
1633 'package' => $this->pro_package(),
1634 'fields' => [],
1635 ]
1636 ),
1637 'account_address_description' => apply_filters(
1638 'rtsb/elements/account_address_description/options',
1639 [
1640 'id' => 'account_address_description',
1641 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ),
1642 'category' => 'myaccount_dashboard',
1643 'is_front_page' => 'all_myaccount_dashboard_inner',
1644 'active' => 'on',
1645 'package' => $this->pro_package(),
1646 'fields' => [],
1647 ]
1648 ),
1649 'account_details' => apply_filters(
1650 'rtsb/elements/account_details/options',
1651 [
1652 'id' => 'account_details',
1653 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ),
1654 'category' => 'myaccount_dashboard',
1655 'is_front_page' => 'all_myaccount_dashboard_inner',
1656 'active' => 'on',
1657 'package' => $this->pro_package(),
1658 'fields' => [],
1659 ]
1660 ),
1661 'account_order_status' => apply_filters(
1662 'rtsb/elements/account_order_status/options',
1663 [
1664 'id' => 'account_order_status',
1665 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ),
1666 'category' => 'myaccount_dashboard',
1667 'is_front_page' => 'all_myaccount_dashboard_inner',
1668 'active' => 'on',
1669 'package' => $this->pro_package(),
1670 'fields' => [],
1671 ]
1672 ),
1673 'account_order_details_download' => apply_filters(
1674 'rtsb/elements/account_order_details_download/options',
1675 [
1676 'id' => 'account_order_details_download',
1677 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ),
1678 'category' => 'myaccount_dashboard',
1679 'is_front_page' => 'all_myaccount_dashboard_inner',
1680 'active' => 'on',
1681 'package' => $this->pro_package(),
1682 'fields' => [],
1683 ]
1684 ),
1685 'account_order_details_note' => apply_filters(
1686 'rtsb/elements/account_order_details_note/options',
1687 [
1688 'id' => 'account_order_details_note',
1689 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ),
1690 'category' => 'myaccount_dashboard',
1691 'is_front_page' => 'all_myaccount_dashboard_inner',
1692 'active' => 'on',
1693 'package' => $this->pro_package(),
1694 'fields' => [],
1695 ]
1696 ),
1697 'account_order_details_table' => apply_filters(
1698 'rtsb/elements/account_order_details_table/options',
1699 [
1700 'id' => 'account_order_details_table',
1701 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ),
1702 'category' => 'myaccount_dashboard',
1703 'is_front_page' => 'all_myaccount_dashboard_inner',
1704 'active' => 'on',
1705 'package' => $this->pro_package(),
1706 'fields' => [],
1707 ]
1708 ),
1709 'account_order_details_order_again' => apply_filters(
1710 'rtsb/elements/account_order_details_order_again/options',
1711 [
1712 'id' => 'account_order_details_order_again',
1713 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ),
1714 'category' => 'myaccount_dashboard',
1715 'is_front_page' => 'all_myaccount_dashboard_inner',
1716 'active' => 'on',
1717 'package' => $this->pro_package(),
1718 'fields' => [],
1719 ]
1720 ),
1721 'account_order_details_order_shipping' => apply_filters(
1722 'rtsb/elements/account_order_details_order_shipping/options',
1723 [
1724 'id' => 'account_order_details_order_shipping',
1725 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ),
1726 'category' => 'myaccount_dashboard',
1727 'is_front_page' => 'all_myaccount_dashboard_inner',
1728 'active' => 'on',
1729 'package' => $this->pro_package(),
1730 'fields' => [],
1731 ]
1732 ),
1733 'account_order_details_order_billing' => apply_filters(
1734 'rtsb/elements/account_order_details_order_billing/options',
1735 [
1736 'id' => 'account_order_details_order_billing',
1737 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ),
1738 'category' => 'myaccount_dashboard',
1739 'is_front_page' => 'all_myaccount_dashboard_inner',
1740 'active' => 'on',
1741 'package' => $this->pro_package(),
1742 'fields' => [],
1743 ]
1744 ),
1745 'account_edit_billing_address' => apply_filters(
1746 'rtsb/elements/account_edit_billing_address/options',
1747 [
1748 'id' => 'account_edit_billing_address',
1749 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ),
1750 'category' => 'myaccount_dashboard',
1751 'is_front_page' => 'all_myaccount_dashboard_inner',
1752 'active' => 'on',
1753 'package' => $this->pro_package(),
1754 'fields' => [],
1755 ]
1756 ),
1757 'account_edit_shipping_address' => apply_filters(
1758 'rtsb/elements/account_edit_shipping_address/options',
1759 [
1760 'id' => 'account_edit_shipping_address',
1761 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ),
1762 'category' => 'myaccount_dashboard',
1763 'is_front_page' => 'all_myaccount_dashboard_inner',
1764 'active' => 'on',
1765 'package' => $this->pro_package(),
1766 'fields' => [],
1767 ]
1768 ),
1769 'account_payment_methods' => apply_filters(
1770 'rtsb/elements/account_payment_methods/options',
1771 [
1772 'id' => 'account_payment_methods',
1773 'title' => esc_html__( 'Payment Methods', 'shopbuilder' ),
1774 'category' => 'myaccount_dashboard',
1775 'is_front_page' => 'all_myaccount_dashboard_inner',
1776 'active' => 'on',
1777 'package' => $this->pro_package(),
1778 'fields' => [],
1779 ]
1780 ),
1781 'account_add_payment_method' => apply_filters(
1782 'rtsb/elements/account_add_payment_method/options',
1783 [
1784 'id' => 'account_add_payment_method',
1785 'title' => esc_html__( 'Add Payment Method', 'shopbuilder' ),
1786 'category' => 'myaccount_dashboard',
1787 'is_front_page' => 'all_myaccount_dashboard_inner',
1788 'active' => 'on',
1789 'package' => $this->pro_package(),
1790 'fields' => [],
1791 ]
1792 ),
1793 ];
1794
1795 return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets );
1796 }
1797
1798 /***
1799 * @return array
1800 */
1801 protected function myaccount_auth_page_widget_list() {
1802 return [
1803 'account_login' => apply_filters(
1804 'rtsb/elements/account_login/options',
1805 [
1806 'id' => 'account_login',
1807 'title' => esc_html__( 'Login Register Form', 'shopbuilder' ),
1808 'category' => 'others_widget',
1809 'is_front_page' => 'myaccount_auth',
1810 'active' => 'on',
1811 'package' => $this->pro_package(),
1812 'fields' => [],
1813 ]
1814 ),
1815 'account_login_form' => apply_filters(
1816 'rtsb/elements/account_login_form/options',
1817 [
1818 'id' => 'account_login_form',
1819 'title' => esc_html__( 'Login Form', 'shopbuilder' ),
1820 'category' => 'others_widget',
1821 'is_front_page' => 'myaccount_auth',
1822 'active' => 'on',
1823 'package' => $this->pro_package(),
1824 'fields' => [],
1825 ]
1826 ),
1827 'account_registration_form' => apply_filters(
1828 'rtsb/elements/account_registration_form/options',
1829 [
1830 'id' => 'account_registration_form',
1831 'title' => esc_html__( 'Registration Form', 'shopbuilder' ),
1832 'category' => 'others_widget',
1833 'is_front_page' => 'myaccount_auth',
1834 'active' => 'on',
1835 'package' => $this->pro_package(),
1836 'fields' => [],
1837 ]
1838 ),
1839 'account_lost_password' => apply_filters(
1840 'rtsb/elements/account_lost_password/options',
1841 [
1842 'id' => 'account_lost_password',
1843 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ),
1844 'category' => 'others_widget',
1845 'is_front_page' => 'myaccount_auth',
1846 'active' => 'on',
1847 'package' => $this->pro_package(),
1848 'fields' => [],
1849 ]
1850 ),
1851 ];
1852 }
1853 }
1854