PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 1.1.4
ShopBuilder – WooCommerce Builder For Elementor v1.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 1.1.4, at app/Models/ElementList.php

796 lines 24.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
18 /**
19 * Elementor Element List
20 */
21 class ElementList extends ListModel {
22 /**
23 * Singleton
24 */
25 use SingletonTrait;
26 /**
27 * List id
28 *
29 * @var string
30 */
31 protected $list_id = 'elements';
32 /**
33 * Elementor Elements
34 */
35 public function __construct() {
36 parent::__construct();
37 $this->title = esc_html__( 'Elementor Widgets', 'shopbuilder' );
38 $this->short_title = esc_html__( 'Elements', 'shopbuilder' );
39 $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' );
40 $this->categories = apply_filters(
41 'rtsb/elements/list/categories',
42 [
43 'general' => [
44 'title' => esc_html__( 'General', 'shopbuilder' ),
45 ],
46 'shop' => [
47 'title' => esc_html__( 'Shop / Archive', 'shopbuilder' ),
48 ],
49 'product' => [
50 'title' => esc_html__( 'Single', 'shopbuilder' ),
51 ],
52 'cart' => [
53 'title' => esc_html__( 'Cart', 'shopbuilder' ),
54 ],
55 'checkout' => [
56 'title' => esc_html__( 'Checkout', 'shopbuilder' ),
57 ],
58 ]
59 );
60 }
61
62 /**
63 * Widget List.
64 *
65 * @return array
66 */
67 protected function raw_list() {
68 $list = $this->product_page_widget_list()
69 + $this->general_widget_list()
70 + $this->shop_archive_page_widget_list()
71 + $this->cart_page_widget_list()
72 + $this->checkout_page_widget_list();
73
74 return apply_filters( 'rtsb/core/elements/raw_list', $list );
75 }
76
77 /**
78 * GLobal Widget List.
79 *
80 * @return array
81 */
82 protected function general_widget_list() {
83 $list = [
84 'wc_breadcrumbs' => apply_filters(
85 'rtsb/elements/wc_breadcrumbs/options',
86 [
87 'id' => 'wc_breadcrumbs',
88 'title' => esc_html__( 'Breadcrumbs', 'shopbuilder' ),
89 'base_class' => General\ProductBreadcrumbs::class,
90 'category' => 'general',
91 'active' => 'on',
92 'package' => 'free',
93 'fields' => [],
94 ]
95 ),
96 'product_notice' => apply_filters(
97 'rtsb/elements/product_notice/options',
98 [
99 'id' => 'product_notice',
100 'title' => esc_html__( 'Notice', 'shopbuilder' ),
101 'base_class' => General\Notice::class,
102 'category' => 'general',
103 'active' => 'on',
104 'package' => 'free',
105 'fields' => [],
106 ]
107 ),
108 'products_grid' => apply_filters(
109 'rtsb/elements/products_grid/options',
110 [
111 'id' => 'products_grid',
112 'title' => esc_html__( 'Products - Grid Layouts', 'shopbuilder' ),
113 'base_class' => General\ProductsGrid::class,
114 'category' => 'general',
115 'active' => 'on',
116 'package' => 'free',
117 'fields' => [],
118 ]
119 ),
120 'products_list' => apply_filters(
121 'rtsb/elements/products_list/options',
122 [
123 'id' => 'products_list',
124 'title' => esc_html__( 'Products - List Layouts', 'shopbuilder' ),
125 'base_class' => General\ProductsList::class,
126 'category' => 'general',
127 'active' => 'on',
128 'package' => 'free',
129 'fields' => [],
130 ]
131 ),
132
133 'products_slider' => apply_filters(
134 'rtsb/elements/products_slider/options',
135 [
136 'id' => 'products_slider',
137 'title' => esc_html__( 'Products - Slider Layouts', 'shopbuilder' ),
138 'base_class' => General\ProductsSlider::class,
139 'category' => 'general',
140 'active' => 'on',
141 'package' => 'free',
142 'fields' => [],
143 ]
144 ),
145
146 'products_single_cateogory' => apply_filters(
147 'rtsb/elements/products_single_cateogory/options',
148 [
149 'id' => 'products_single_cateogory',
150 'title' => esc_html__( 'Single Category', 'shopbuilder' ),
151 'base_class' => General\ProductsSingleCategory::class,
152 'category' => 'general',
153 'active' => 'on',
154 'package' => 'free',
155 'fields' => [],
156 ]
157 ),
158 'product_cateogories' => apply_filters(
159 'rtsb/elements/product_cateogories/options',
160 [
161 'id' => 'product_cateogories',
162 'title' => esc_html__( 'Product Categories', 'shopbuilder' ),
163 'base_class' => General\ProductCategories::class,
164 'category' => 'general',
165 'active' => 'on',
166 'package' => 'free',
167 'fields' => [],
168 ]
169 ),
170 'social_share' => apply_filters(
171 'rtsb/elements/social_share/options',
172 [
173 'id' => 'social_share',
174 'title' => esc_html__( 'Social Share', 'shopbuilder' ),
175 'base_class' => General\SocialShare::class,
176 'category' => 'general',
177 'active' => 'on',
178 'package' => 'free',
179 'fields' => [],
180 ]
181 ),
182 ];
183
184 return apply_filters( 'rtsb/core/elements/general/widget_list', $list );
185 }
186
187 /**
188 * Product Single Widget List.
189 *
190 * @return array
191 */
192 protected function product_page_widget_list() {
193
194 $list = [
195
196 'upsells_product_custom' => apply_filters(
197 'rtsb/elements/upsells_product_custom/options',
198 [
199 'id' => 'upsells_product_custom',
200 'title' => esc_html__( 'Upsells Product - Custom Layout', 'shopbuilder' ),
201 'base_class' => Single\UpsellsProductsCustom::class,
202 'category' => 'product',
203 'active' => 'on',
204 'package' => 'free',
205 'fields' => [],
206 ]
207 ),
208
209 'upsells_products_slider_custom' => apply_filters(
210 'rtsb/elements/upsells_products_slider_custom/options',
211 [
212 'id' => 'upsells_products_slider_custom',
213 'title' => esc_html__( 'Upsells Product Slider- Custom Layout', 'shopbuilder' ),
214 'base_class' => Single\UpsellsProductsSlider::class,
215 'category' => 'product',
216 'active' => 'on',
217 'package' => 'free',
218 'fields' => [],
219 ]
220 ),
221
222 'related_product_custom' => apply_filters(
223 'rtsb/elements/related_product_custom/options',
224 [
225 'id' => 'related_product_custom',
226 'title' => esc_html__( 'Related Product - Custom Layout', 'shopbuilder' ),
227 'base_class' => Single\RelatedProductsCustom::class,
228 'category' => 'product',
229 'active' => 'on',
230 'package' => 'free',
231 'fields' => [],
232 ]
233 ),
234
235 'related_products_slider_custom' => apply_filters(
236 'rtsb/elements/related_products_slider_custom/options',
237 [
238 'id' => 'related_products_slider_custom',
239 'title' => esc_html__( 'Related Products Slider - Custom Layouts', 'shopbuilder' ),
240 'base_class' => Single\RelatedProductsSlider::class,
241 'category' => 'product',
242 'active' => 'on',
243 'package' => 'free',
244 'fields' => [],
245 ]
246 ),
247
248 'upsells_product' => apply_filters(
249 'rtsb/elements/upsells_product/options',
250 [
251 'id' => 'upsells_product',
252 'title' => esc_html__( 'Upsells Product - Default Layout', 'shopbuilder' ),
253 'base_class' => Single\UpsellsProduct::class,
254 'category' => 'product',
255 'active' => 'on',
256 'package' => 'free',
257 'fields' => [],
258 ]
259 ),
260
261 'related_product' => apply_filters(
262 'rtsb/elements/related_product/options',
263 [
264 'id' => 'related_product',
265 'title' => esc_html__( 'Related Product - Default Layout', 'shopbuilder' ),
266 'base_class' => Single\RelatedProduct::class,
267 'category' => 'product',
268 'active' => 'on',
269 'package' => 'free',
270 'fields' => [],
271 ]
272 ),
273
274 'product_title' => apply_filters(
275 'rtsb/elements/product_title/options',
276 [
277 'id' => 'product_title',
278 'title' => esc_html__( 'Product Title', 'shopbuilder' ),
279 'base_class' => Single\ProductTitle::class,
280 'category' => 'product',
281 'active' => 'on',
282 'package' => 'free',
283 'fields' => [],
284 ]
285 ),
286 'product_images' => apply_filters(
287 'rtsb/elements/product_images/options',
288 [
289 'id' => 'product_images',
290 'title' => esc_html__( 'Product Images', 'shopbuilder' ),
291 'base_class' => Single\ProductImages::class,
292 'category' => 'product',
293 'active' => 'on',
294 'package' => 'free',
295 'fields' => [],
296 ]
297 ),
298 'product_short_description' => apply_filters(
299 'rtsb/elements/product_short_description/options',
300 [
301 'id' => 'product_short_description',
302 'title' => esc_html__( 'Short Description', 'shopbuilder' ),
303 'base_class' => Single\ShortDescription::class,
304 'category' => 'product',
305 'active' => 'on',
306 'package' => 'free',
307 'fields' => [],
308 ]
309 ),
310 'product_description' => apply_filters(
311 'rtsb/elements/product_description/options',
312 [
313 'id' => 'product_description',
314 'title' => esc_html__( 'Product Description', 'shopbuilder' ),
315 'base_class' => Single\ProductDescription::class,
316 'category' => 'product',
317 'active' => 'on',
318 'package' => 'free',
319 'fields' => [],
320 ]
321 ),
322 'product_additional_info' => apply_filters(
323 'rtsb/elements/product_additional_info/options',
324 [
325 'id' => 'product_additional_info',
326 'title' => esc_html__( 'Additional Information', 'shopbuilder' ),
327 'base_class' => Single\AdditionalInformation::class,
328 'category' => 'product',
329 'active' => 'on',
330 'package' => 'free',
331 'fields' => [],
332 ]
333 ),
334 'product_rating' => apply_filters(
335 'rtsb/elements/product_rating/options',
336 [
337 'id' => 'product_rating',
338 'title' => esc_html__( 'Product Rating', 'shopbuilder' ),
339 'base_class' => Single\ProductRating::class,
340 'category' => 'product',
341 'active' => 'on',
342 'package' => 'free',
343 'fields' => [],
344 ]
345 ),
346 'product_price' => apply_filters(
347 'rtsb/elements/product_price/options',
348 [
349 'id' => 'product_price',
350 'title' => esc_html__( 'Product Price', 'shopbuilder' ),
351 'base_class' => Single\ProductPrice::class,
352 'category' => 'product',
353 'active' => 'on',
354 'package' => 'free',
355 'fields' => [],
356 ]
357 ),
358 'product_meta' => apply_filters(
359 'rtsb/elements/product_meta/options',
360 [
361 'id' => 'product_meta',
362 'title' => esc_html__( 'Product Meta', 'shopbuilder' ),
363 'base_class' => Single\ProductMeta::class,
364 'category' => 'product',
365 'active' => 'on',
366 'package' => 'free',
367 'fields' => [],
368 ]
369 ),
370 'product_categories' => apply_filters(
371 'rtsb/elements/product_categories/options',
372 [
373 'id' => 'product_categories',
374 'title' => esc_html__( 'Product Categories', 'shopbuilder' ),
375 'base_class' => Single\ProductCats::class,
376 'category' => 'product',
377 'active' => 'on',
378 'package' => 'free',
379 'fields' => [],
380 ]
381 ),
382 'product_tags' => apply_filters(
383 'rtsb/elements/product_tags/options',
384 [
385 'id' => 'product_tags',
386 'title' => esc_html__( 'Product Tags', 'shopbuilder' ),
387 'base_class' => Single\ProductTags::class,
388 'category' => 'product',
389 'active' => 'on',
390 'package' => 'free',
391 'fields' => [],
392 ]
393 ),
394 'product_sku' => apply_filters(
395 'rtsb/elements/product_sku/options',
396 [
397 'id' => 'product_sku',
398 'title' => esc_html__( 'Product SKU', 'shopbuilder' ),
399 'base_class' => Single\ProductSKU::class,
400 'category' => 'product',
401 'active' => 'on',
402 'package' => 'free',
403 'fields' => [],
404 ]
405 ),
406 'product_stock' => apply_filters(
407 'rtsb/elements/product_stock/options',
408 [
409 'id' => 'product_stock',
410 'title' => esc_html__( 'Product Stock', 'shopbuilder' ),
411 'base_class' => Single\ProductStock::class,
412 'category' => 'product',
413 'active' => 'on',
414 'package' => 'free',
415 'fields' => [],
416 ]
417 ),
418 'product_add_to_cart' => apply_filters(
419 'rtsb/elements/product_add_to_cart/options',
420 [
421 'id' => 'product_add_to_cart',
422 'title' => esc_html__( 'Product add to cart', 'shopbuilder' ),
423 'base_class' => Single\ProductAddToCart::class,
424 'category' => 'product',
425 'active' => 'on',
426 'package' => 'free',
427 'fields' => [],
428 ]
429 ),
430
431 'product_reviews' => apply_filters(
432 'rtsb/elements/product_reviews/options',
433 [
434 'id' => 'product_reviews',
435 'title' => esc_html__( 'Product Reviews', 'shopbuilder' ),
436 'base_class' => Single\ProductReviews::class,
437 'category' => 'product',
438 'active' => 'on',
439 'package' => 'free',
440 'fields' => [],
441 ]
442 ),
443
444 'product_tabs' => apply_filters(
445 'rtsb/elements/product_tabs/options',
446 [
447 'id' => 'product_tabs',
448 'title' => esc_html__( 'Product Tabs', 'shopbuilder' ),
449 'base_class' => Single\ProductTabs::class,
450 'category' => 'product',
451 'active' => 'on',
452 'package' => 'free',
453 'fields' => [],
454 ]
455 ),
456 'actions_button' => apply_filters(
457 'rtsb/elements/actions_button/options',
458 [
459 'id' => 'actions_button',
460 'title' => esc_html__( 'Actions Button', 'shopbuilder' ),
461 'base_class' => Single\ActionsButton::class,
462 'category' => 'product',
463 'active' => 'on',
464 'package' => 'free',
465 'fields' => [],
466 ]
467 ),
468 'product_share' => apply_filters(
469 'rtsb/elements/product_share/options',
470 [
471 'id' => 'product_share',
472 'title' => esc_html__( 'Product Share', 'shopbuilder' ),
473 'base_class' => Single\ProductShare::class,
474 'category' => 'product',
475 'active' => 'on',
476 'package' => 'free',
477 'fields' => [],
478 ]
479 ),
480 'product_onsale' => apply_filters(
481 'rtsb/elements/product_onsale/options',
482 [
483 'id' => 'product_onsale',
484 'title' => esc_html__( 'Sale Flash - Onsale', 'shopbuilder' ),
485 'base_class' => Single\ProductOnSale::class,
486 'category' => 'product',
487 'active' => 'on',
488 'package' => 'free',
489 'fields' => [],
490 ]
491 ),
492
493 ];
494
495 return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list );
496 }
497
498 /**
499 * Product Archive Widget List.
500 *
501 * @return array
502 */
503 protected function shop_archive_page_widget_list() {
504 $list = [
505
506 'products_archive_catalog_custom' => apply_filters(
507 'rtsb/elements/products_archive_catalog_custom/options',
508 [
509 'id' => 'products_archive_catalog_custom',
510 'title' => esc_html__( 'Products Archive - Custom ', 'shopbuilder' ),
511 'base_class' => Archive\ProductsArchiveCustom::class,
512 'category' => 'shop',
513 'active' => 'on',
514 'package' => 'free',
515 'fields' => [],
516 ]
517 ),
518
519 'products_archive_catalog' => apply_filters(
520 'rtsb/elements/products_archive_catalog/options',
521 [
522 'id' => 'products_archive_catalog',
523 'title' => esc_html__( 'Products Archive - Default Layout', 'shopbuilder' ),
524 'base_class' => Archive\ProductsArchive::class,
525 'category' => 'shop',
526 'active' => 'on',
527 'package' => 'free',
528 'fields' => [],
529 ]
530 ),
531
532 'archive_title' => apply_filters(
533 'rtsb/elements/archive_title/options',
534 [
535 'id' => 'archive_title',
536 'title' => esc_html__( 'Archive Title', 'shopbuilder' ),
537 'base_class' => Archive\ArchiveTitle::class,
538 'category' => 'shop',
539 'active' => 'on',
540 'package' => 'free',
541 'fields' => [],
542 ]
543 ),
544 'archive_description' => apply_filters(
545 'rtsb/elements/archive_description/options',
546 [
547 'id' => 'archive_description',
548 'title' => esc_html__( 'Archive Description', 'shopbuilder' ),
549 'base_class' => Archive\ArchiveDescription::class,
550 'category' => 'shop',
551 'active' => 'on',
552 'package' => 'free',
553 'fields' => [],
554 ]
555 ),
556
557 'archive_result_count' => apply_filters(
558 'rtsb/elements/archive_result_count/options',
559 [
560 'id' => 'archive_result_count',
561 'title' => esc_html__( 'Result Count', 'shopbuilder' ),
562 'base_class' => Archive\ArchiveResultCount::class,
563 'category' => 'shop',
564 'active' => 'on',
565 'package' => 'free',
566 'fields' => [],
567 ]
568 ),
569 'archive_products_ordering' => apply_filters(
570 'rtsb/elements/archive_products_ordering/options',
571 [
572 'id' => 'archive_products_ordering',
573 'title' => esc_html__( 'Products Ordering', 'shopbuilder' ),
574 'base_class' => Archive\ProductsOrdering::class,
575 'category' => 'shop',
576 'active' => 'on',
577 'package' => 'free',
578 'fields' => [],
579 ]
580 ),
581 'archive_product_mode' => apply_filters(
582 'rtsb/elements/archive_product_mode/options',
583 [
584 'id' => 'archive_product_mode',
585 'title' => esc_html__( 'View Mode', 'shopbuilder' ),
586 'base_class' => Archive\ArchiveProductMode::class,
587 'category' => 'shop',
588 'active' => 'on',
589 'package' => 'free',
590 'fields' => [],
591 ]
592 ),
593 ];
594
595 return apply_filters( 'rtsb/core/elements/shop/widget_list', $list );
596 }
597
598 /**
599 * Cart Page Widget List.
600 *
601 * @return array
602 */
603 protected function cart_page_widget_list() {
604 $list = [
605 'cross_sells_custom' => apply_filters(
606 'rtsb/elements/cross_sells_custom/options',
607 [
608 'id' => 'cross_sells_custom',
609 'title' => esc_html__( 'Cross sells - Custom Layout', 'shopbuilder' ),
610 'base_class' => Cart\CrossSellsProductsCustom::class,
611 'category' => 'cart',
612 'active' => 'on',
613 'package' => 'free',
614 'fields' => [],
615 ]
616 ),
617
618 'cross_sells_custom_slider' => apply_filters(
619 'rtsb/elements/cross_sells_custom_slider/options',
620 [
621 'id' => 'cross_sells_custom_slider',
622 'title' => esc_html__( 'Cross sells Slider- Custom Layout', 'shopbuilder' ),
623 'base_class' => Cart\CrossSellsProductsSlider::class,
624 'category' => 'cart',
625 'active' => 'on',
626 'package' => 'free',
627 'fields' => [],
628 ]
629 ),
630
631 'cross_sells' => apply_filters(
632 'rtsb/elements/cross_sells/options',
633 [
634 'id' => 'cross_sells',
635 'title' => esc_html__( 'Cross sells - Default Layout', 'shopbuilder' ),
636 'base_class' => Cart\CrossSellProduct::class,
637 'category' => 'cart',
638 'active' => 'on',
639 'package' => 'free',
640 'fields' => [],
641 ]
642 ),
643 'cart_table' => apply_filters(
644 'rtsb/elements/cart_table/options',
645 [
646 'id' => 'cart_table',
647 'title' => esc_html__( 'Cart Table', 'shopbuilder' ),
648 'base_class' => Cart\CartTable::class,
649 'category' => 'cart',
650 'active' => 'on',
651 'package' => 'free',
652 'fields' => [],
653 ]
654 ),
655 'cart_totals' => apply_filters(
656 'rtsb/elements/cart_totals/options',
657 [
658 'id' => 'cart_totals',
659 'title' => esc_html__( 'Cart Totals', 'shopbuilder' ),
660 'base_class' => Cart\CartTotals::class,
661 'category' => 'cart',
662 'active' => 'on',
663 'package' => 'free',
664 'fields' => [],
665 ]
666 ),
667 /*
668 'cart_coupon_form' => apply_filters(
669 'rtsb/elements/cart_coupon_form/options',
670 [
671 'id' => 'cart_coupon_form',
672 'title' => esc_html__( 'Coupon Form', 'shopbuilder' ),
673 'base_class' => Checkout\CouponForm::class,
674 'category' => 'cart',
675 'active' => 'on',
676 'package' => 'free',
677 'fields' => [],
678 ]
679 ),
680 */
681
682 ];
683
684 return apply_filters( 'rtsb/core/elements/cart/widget_list', $list );
685 }
686 /**
687 * Checkout Page Widget List.
688 *
689 * @return array
690 */
691 protected function checkout_page_widget_list() {
692 $list = [
693 'billing_form' => apply_filters(
694 'rtsb/elements/billing_form/options',
695 [
696 'id' => 'billing_form',
697 'title' => esc_html__( 'Billing Form', 'shopbuilder' ),
698 'base_class' => Checkout\BillingForm::class,
699 'category' => 'checkout',
700 'active' => 'on',
701 'package' => 'free',
702 'fields' => [],
703 ]
704 ),
705 'shipping_form' => apply_filters(
706 'rtsb/elements/shipping_form/options',
707 [
708 'id' => 'shipping_form',
709 'title' => esc_html__( 'Shipping Form', 'shopbuilder' ),
710 'base_class' => Checkout\ShippingForm::class,
711 'category' => 'checkout',
712 'active' => 'on',
713 'package' => 'free',
714 'fields' => [],
715 ]
716 ),
717 'order_notes' => apply_filters(
718 'rtsb/elements/order_notes/options',
719 [
720 'id' => 'order_notes',
721 'title' => esc_html__( 'Order Notes', 'shopbuilder' ),
722 'base_class' => Checkout\OrderNotes::class,
723 'category' => 'checkout',
724 'active' => 'on',
725 'package' => 'free',
726 'fields' => [],
727 ]
728 ),
729 'order_review' => apply_filters(
730 'rtsb/elements/order_review/options',
731 [
732 'id' => 'order_review',
733 'title' => esc_html__( 'Order Review', 'shopbuilder' ),
734 'base_class' => Checkout\OrderReview::class,
735 'category' => 'checkout',
736 'active' => 'on',
737 'package' => 'free',
738 'fields' => [],
739 ]
740 ),
741 'checkout_payment' => apply_filters(
742 'rtsb/elements/checkout_payment/options',
743 [
744 'id' => 'checkout_payment',
745 'title' => esc_html__( 'Checkout Payment Method', 'shopbuilder' ),
746 'base_class' => Checkout\CheckoutPayment::class,
747 'category' => 'checkout',
748 'active' => 'on',
749 'package' => 'free',
750 'fields' => [],
751 ]
752 ),
753 'coupon_form' => apply_filters(
754 'rtsb/elements/coupon_form/options',
755 [
756 'id' => 'coupon_form',
757 'title' => esc_html__( 'Coupon Form', 'shopbuilder' ),
758 'base_class' => Checkout\CouponForm::class,
759 'category' => 'checkout',
760 'active' => 'on',
761 'package' => 'free',
762 'fields' => [],
763 ]
764 ),
765 'checkout_login_form' => apply_filters(
766 'rtsb/elements/checkout_login_form/options',
767 [
768 'id' => 'checkout_login_form',
769 'title' => esc_html__( 'Login Form', 'shopbuilder' ),
770 'base_class' => Checkout\CheckoutLoginForm::class,
771 'category' => 'checkout',
772 'active' => 'on',
773 'package' => 'free',
774 'fields' => [],
775 ]
776 ),
777
778 'shipping_method' => apply_filters(
779 'rtsb/elements/shipping_method/options',
780 [
781 'id' => 'shipping_method',
782 'title' => esc_html__( 'Shipping Method', 'shopbuilder' ),
783 'base_class' => Checkout\ShippingMethod::class,
784 'category' => 'checkout',
785 'active' => 'on',
786 'package' => 'free',
787 'fields' => [],
788 ]
789 ),
790
791 ];
792 return apply_filters( 'rtsb/core/elements/checkout/widget_list', $list );
793 }
794
795 }
796