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

2,085 lines 69.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\Helpers\SvgIcons;
16 use RadiusTheme\SB\Models\Base\ListModel;
17 use RadiusTheme\SB\Traits\SingletonTrait;
18 use RadiusTheme\SBPRO\Elementor\Widgets\Checkout as CheckoutPro;
19
20 /**
21 * Elementor Element List
22 */
23 class ElementList extends ListModel {
24 /**
25 * Singleton
26 */
27 use SingletonTrait;
28
29 /**
30 * List id
31 *
32 * @var string
33 */
34 protected $list_id = 'elements';
35
36 /**
37 * Elementor Elements
38 */
39 public function __construct() {
40 parent::__construct();
41 $this->title = esc_html__( 'Elementor Widgets', 'shopbuilder' );
42 $this->short_title = esc_html__( 'Elements', 'shopbuilder' );
43 $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' );
44 $this->categories = apply_filters(
45 'rtsb/elements/list/categories',
46 [
47 'general' => [
48 'title' => esc_html__( 'General', 'shopbuilder' ),
49 ],
50 'shop' => [
51 'title' => esc_html__( 'Shop / Archive', 'shopbuilder' ),
52 ],
53 'product' => [
54 'title' => esc_html__( 'Product Page', 'shopbuilder' ),
55 ],
56 'quick_view' => [
57 'title' => esc_html__( 'Quick View', 'shopbuilder' ),
58 ],
59 'cart' => [
60 'title' => esc_html__( 'Cart', 'shopbuilder' ),
61 ],
62 'checkout' => [
63 'title' => esc_html__( 'Checkout', 'shopbuilder' ),
64 ],
65 'thank_you' => [
66 'title' => esc_html__( 'Order Received', 'shopbuilder' ),
67 ],
68 'myaccount_dashboard' => [
69 'title' => esc_html__( 'My Account', 'shopbuilder' ),
70 ],
71 'others_widget' => [
72 'title' => esc_html__( 'Others', 'shopbuilder' ),
73 ],
74 ]
75 );
76 }
77
78
79 /**
80 * Widget List.
81 *
82 * @return array
83 */
84 protected function raw_list() {
85 $list = $this->product_page_widget_list()
86 + $this->general_widget_list()
87 + $this->product_quick_view()
88 + $this->shop_archive_page_widget_list()
89 + $this->cart_page_widget_list()
90 + $this->checkout_page_widget_list()
91 + $this->thankyou_page_widget_list()
92 + $this->orderpay_page_widget_list()
93 + $this->my_account_page_widget_list()
94 + $this->myaccount_auth_page_widget_list();
95
96 // Inject SVG icons per element.
97 $icon_map = self::element_icon_map();
98 foreach ( $list as $key => &$item ) {
99 $item['icon'] = SvgIcons::get( $icon_map[ $key ] ?? 'default' );
100 }
101 unset( $item );
102
103 return apply_filters( 'rtsb/core/elements/raw_list', $list );
104 }
105
106 /**
107 * Maps element IDs to SvgIcons keys.
108 *
109 * @return array<string, string>
110 */
111 private static function element_icon_map() {
112 return [
113 // General.
114 'products_grid' => 'grid',
115 'products_list' => 'list',
116 'products_slider' => 'slider',
117 'highlighted_product' => 'star',
118 'products_single_cateogory' => 'category',
119 'product_cateogories' => 'category',
120 'product_lookbook' => 'image',
121 'category_showcase_tabs' => 'tabs',
122 'rtsb_wishlist' => 'heart',
123 'social_share' => 'share',
124 'wc_breadcrumbs' => 'breadcrumb',
125 'product_notice' => 'notification',
126 'advanced_heading' => 'heading',
127 'dropcaps' => 'text',
128 'shopbuilder_button' => 'button',
129 'shopbuilder_cta' => 'cta',
130 'shopbuilder_info_box' => 'info_box',
131 'shopbuilder_flip_box' => 'flip_box',
132 'shopbuilder_pricing_table' => 'pricing',
133 'image_hotspots' => 'hotspot',
134 'coupon_list' => 'coupon',
135 'hero_slider' => 'slider',
136 'shopbuilder_counter' => 'counter',
137 'shopbuilder_countdown' => 'countdown',
138 'shopbuilder_progress_bar' => 'progress',
139 'image_accordion' => 'accordion',
140 'shopbuilder_faq' => 'faq',
141 'logo_slider_and_grid' => 'logo',
142 'testimonial' => 'testimonial',
143 'team_member' => 'user',
144 'post_grid' => 'grid',
145 'post_list' => 'list',
146 'advanced_ajax_search' => 'search',
147 'save_for_buy_later' => 'heart',
148
149 // Single product.
150 'product_title' => 'heading',
151 'product_description' => 'document',
152 'product_short_description' => 'document',
153 'product_images' => 'product_page',
154 'product_onsale' => 'onsale',
155 'product_additional_info' => 'info_box',
156 'product_price' => 'counter',
157 'product_meta' => 'tag',
158 'product_categories' => 'category',
159 'product_rating' => 'star',
160 'product_tags' => 'tag',
161 'product_sku' => 'tag',
162 'product_stock' => 'chart',
163 'actions_button' => 'button',
164 'product_add_to_cart' => 'cart',
165 'product_share' => 'share',
166 'product_sales_count' => 'counter',
167 'product_stock_counter' => 'chart',
168 'flash_sale_countdown' => 'countdown',
169 'product_size_chart' => 'chart',
170 'product_quick_checkout' => 'checkout',
171 'product_tabs' => 'tabs',
172 'advance_product_tabs' => 'tabs',
173 'product_qr_code' => 'qr',
174 'product_reviews' => 'star',
175 'upsells_product' => 'onsale',
176 'upsells_product_custom' => 'onsale',
177 'upsells_products_slider_custom' => 'onsale',
178 'related_product' => 'grid',
179 'related_product_custom' => 'grid',
180 'related_products_slider_custom' => 'slider',
181
182 // Quick view.
183 'qv_product_title' => 'heading',
184 'qv_product_description' => 'document',
185 'qv_product_short_description' => 'document',
186 'qv_product_images' => 'product_page',
187 'qv_product_badges' => 'onsale',
188 'qv_product_additional_info' => 'info_box',
189 'qv_product_price' => 'counter',
190 'qv_product_meta' => 'tag',
191 'qv_product_categories' => 'category',
192 'qv_product_rating' => 'star',
193 'qv_product_tags' => 'tag',
194 'qv_product_sku' => 'tag',
195 'qv_product_stock' => 'chart',
196 'qv_actions_button' => 'button',
197 'qv_product_add_to_cart' => 'cart',
198 'qv_product_sales_count' => 'counter',
199 'qv_social_share' => 'share',
200 'qv_product_quick_checkout' => 'checkout',
201 'qv_product_size_chart' => 'chart',
202
203 // Shop / Archive.
204 'archive_title' => 'heading',
205 'archive_description' => 'document',
206 'products_archive_catalog' => 'grid',
207 'products_archive_catalog_custom' => 'grid',
208 'ajax_product_filters' => 'filter',
209 'product_filters' => 'filter',
210 'archive_result_count' => 'counter',
211 'archive_products_ordering' => 'progress',
212 'archive_product_mode' => 'grid',
213
214 // Cart.
215 'cart_table' => 'cart',
216 'cart_totals' => 'counter',
217 'cart_coupon_form' => 'coupon',
218 'cross_sells' => 'grid',
219 'cross_sells_custom' => 'grid',
220 'cross_sells_custom_slider' => 'slider',
221 'save_for_later_preview' => 'heart',
222
223 // Checkout.
224 'billing_form' => 'form',
225 'shipping_form' => 'address',
226 'order_notes' => 'note',
227 'order_review' => 'checkout',
228 'checkout_payment' => 'payment',
229 'coupon_form' => 'coupon',
230 'checkout_login_form' => 'lock',
231 'shipping_method' => 'address',
232 'multi_step_checkout_widget' => 'multi_step',
233
234 // Thank you / Order received.
235 'order_received_text' => 'document',
236 'order_details_summary' => 'checkout',
237 'order_details_table' => 'document',
238 'downloadable_products' => 'download',
239 'order_billing_address' => 'address',
240 'order_shipping_address' => 'address',
241 'order_custom_fields_data' => 'document',
242
243 // My Account.
244 'order_pay_form' => 'payment',
245 'account_avatar' => 'user',
246 'account_navigation_edit_shipping' => 'address',
247 'account_dashboard' => 'user',
248 'account_orders' => 'document',
249 'account_downloads' => 'download',
250 'account_billing_address' => 'address',
251 'account_shipping_address' => 'address',
252 'account_address_description' => 'document',
253 'account_details' => 'user',
254 'account_order_status' => 'chart',
255 'account_order_details_download' => 'download',
256 'account_order_details_note' => 'note',
257 'account_order_details_table' => 'document',
258 'account_order_details_order_again' => 'cart',
259 'account_order_details_order_shipping' => 'address',
260 'account_order_details_order_billing' => 'address',
261 'account_edit_billing_address' => 'form',
262 'account_edit_shipping_address' => 'form',
263 'account_payment_methods' => 'payment',
264 'account_add_payment_method' => 'payment',
265
266 // Others / Auth.
267 'account_login' => 'lock',
268 'account_login_form' => 'lock',
269 'account_registration_form' => 'user',
270 'account_lost_password' => 'lock',
271 ];
272 }
273
274 /**
275 * GLobal Widget List.
276 *
277 * @return array
278 */
279 protected function general_widget_list() {
280 $list = [
281 'products_grid' => apply_filters(
282 'rtsb/elements/products_grid/options',
283 [
284 'id' => 'products_grid',
285 'title' => esc_html__( 'Products - Grid Layouts', 'shopbuilder' ),
286 'base_class' => General\ProductsGrid::class,
287 'category' => 'general',
288 'active' => 'on',
289 'package' => 'free',
290 'fields' => [],
291 ]
292 ),
293 'products_list' => apply_filters(
294 'rtsb/elements/products_list/options',
295 [
296 'id' => 'products_list',
297 'title' => esc_html__( 'Products - List Layouts', 'shopbuilder' ),
298 'base_class' => General\ProductsList::class,
299 'category' => 'general',
300 'active' => 'on',
301 'package' => 'free',
302 'fields' => [],
303 ]
304 ),
305 'products_slider' => apply_filters(
306 'rtsb/elements/products_slider/options',
307 [
308 'id' => 'products_slider',
309 'title' => esc_html__( 'Products - Slider Layouts', 'shopbuilder' ),
310 'base_class' => General\ProductsSlider::class,
311 'category' => 'general',
312 'active' => 'on',
313 'package' => 'free',
314 'fields' => [],
315 ]
316 ),
317 'highlighted_product' => apply_filters(
318 'rtsb/elements/highlighted_product/options',
319 [
320 'id' => 'highlighted_product',
321 'title' => esc_html__( 'Highlighted Product', 'shopbuilder' ),
322 'category' => 'general',
323 'active' => '',
324 'package' => $this->pro_package(),
325 'fields' => [],
326 ]
327 ),
328 'products_single_cateogory' => apply_filters(
329 'rtsb/elements/products_single_cateogory/options',
330 [
331 'id' => 'products_single_cateogory',
332 'title' => esc_html__( 'Single Category', 'shopbuilder' ),
333 'base_class' => General\ProductsSingleCategory::class,
334 'category' => 'general',
335 'active' => 'on',
336 'package' => 'free',
337 'fields' => [],
338 ]
339 ),
340 'product_cateogories' => apply_filters(
341 'rtsb/elements/product_cateogories/options',
342 [
343 'id' => 'product_cateogories',
344 'title' => esc_html__( 'Product Categories', 'shopbuilder' ),
345 'base_class' => General\ProductCategories::class,
346 'category' => 'general',
347 'active' => 'on',
348 'package' => 'free',
349 'fields' => [],
350 ]
351 ),
352 'product_lookbook' => apply_filters(
353 'rtsb/elements/product_lookbook/options',
354 [
355 'id' => 'product_lookbook',
356 'title' => esc_html__( 'Product LookBook', 'shopbuilder' ),
357 'category' => 'general',
358 'active' => '',
359 'package' => $this->pro_package(),
360 'fields' => [],
361 ]
362 ),
363 'category_showcase_tabs' => apply_filters(
364 'rtsb/elements/category_showcase_tabs/options',
365 [
366 'id' => 'category_showcase_tabs',
367 'title' => esc_html__( 'Category Showcase Tabs', 'shopbuilder' ),
368 'category' => 'general',
369 'active' => '',
370 'package' => $this->pro_package(),
371 'fields' => [],
372 ]
373 ),
374 'rtsb_wishlist' => apply_filters(
375 'rtsb/elements/rtsb_wishlist/options',
376 [
377 'id' => 'rtsb_wishlist',
378 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ),
379 'base_class' => General\Wishlist::class,
380 'category' => 'general',
381 'active' => 'on',
382 'package' => 'free',
383 'fields' => [],
384 ]
385 ),
386 'social_share' => apply_filters(
387 'rtsb/elements/social_share/options',
388 [
389 'id' => 'social_share',
390 'title' => esc_html__( 'Social Share', 'shopbuilder' ),
391 'base_class' => General\SocialShare::class,
392 'category' => 'general',
393 'active' => 'on',
394 'package' => 'free',
395 'fields' => [],
396 ]
397 ),
398 'wc_breadcrumbs' => apply_filters(
399 'rtsb/elements/wc_breadcrumbs/options',
400 [
401 'id' => 'wc_breadcrumbs',
402 'title' => esc_html__( 'Breadcrumbs', 'shopbuilder' ),
403 'base_class' => General\ProductBreadcrumbs::class,
404 'category' => 'general',
405 'active' => 'on',
406 'package' => 'free',
407 'fields' => [],
408 ]
409 ),
410 'product_notice' => apply_filters(
411 'rtsb/elements/product_notice/options',
412 [
413 'id' => 'product_notice',
414 'title' => esc_html__( 'Notice', 'shopbuilder' ),
415 'base_class' => General\Notice::class,
416 'category' => 'general',
417 'active' => 'on',
418 'package' => 'free',
419 'fields' => [],
420 ]
421 ),
422 'advanced_heading' => apply_filters(
423 'rtsb/elements/advanced_heading/options',
424 [
425 'id' => 'advanced_heading',
426 'title' => esc_html__( 'Advanced Heading', 'shopbuilder' ),
427 'base_class' => General\AdvancedHeading\AdvancedHeading::class,
428 'category' => 'general',
429 'active' => 'on',
430 'package' => 'free',
431 'fields' => [],
432 ]
433 ),
434 'dropcaps' => apply_filters(
435 'rtsb/elements/dropcaps/options',
436 [
437 'id' => 'dropcaps',
438 'title' => esc_html__( 'Dropcaps', 'shopbuilder' ),
439 'base_class' => General\DropCaps\DropCaps::class,
440 'category' => 'general',
441 'active' => 'on',
442 'package' => 'free',
443 'fields' => [],
444 ]
445 ),
446 'shopbuilder_button' => apply_filters(
447 'rtsb/elements/shopbuilder_button/options',
448 [
449 'id' => 'shopbuilder_button',
450 'title' => esc_html__( 'Advanced Button', 'shopbuilder' ),
451 'base_class' => General\ShopBuilderButton\ShopBuilderButton::class,
452 'category' => 'general',
453 'active' => 'on',
454 'package' => 'free',
455 'fields' => [],
456 ]
457 ),
458 'shopbuilder_cta' => apply_filters(
459 'rtsb/elements/shopbuilder_cta/options',
460 [
461 'id' => 'shopbuilder_cta',
462 'title' => esc_html__( 'Call To Action', 'shopbuilder' ),
463 'base_class' => General\CallToAction\CallToAction::class,
464 'category' => 'general',
465 'active' => 'on',
466 'package' => 'free',
467 'fields' => [],
468 ]
469 ),
470 'shopbuilder_info_box' => apply_filters(
471 'rtsb/elements/shopbuilder_info_box/options',
472 [
473 'id' => 'shopbuilder_info_box',
474 'title' => esc_html__( 'Info Box', 'shopbuilder' ),
475 'base_class' => General\InfoBox\InfoBox::class,
476 'category' => 'general',
477 'active' => 'on',
478 'package' => 'free',
479 'fields' => [],
480 ]
481 ),
482 'shopbuilder_flip_box' => apply_filters(
483 'rtsb/elements/shopbuilder_flip_box/options',
484 [
485 'id' => 'shopbuilder_flip_box',
486 'title' => esc_html__( 'Flip Box', 'shopbuilder' ),
487 'base_class' => General\FlipBox\FlipBox::class,
488 'category' => 'general',
489 'active' => 'on',
490 'package' => 'free',
491 'fields' => [],
492 ]
493 ),
494 'shopbuilder_pricing_table' => apply_filters(
495 'rtsb/elements/shopbuilder_pricing_table/options',
496 [
497 'id' => 'shopbuilder_pricing_table',
498 'title' => esc_html__( 'Pricing Table', 'shopbuilder' ),
499 'base_class' => General\PricingTable\PricingTable::class,
500 'category' => 'general',
501 'active' => 'on',
502 'package' => 'free',
503 'fields' => [],
504 ]
505 ),
506 'image_hotspots' => apply_filters(
507 'rtsb/elements/image_hotspots/options',
508 [
509 'id' => 'image_hotspots',
510 'title' => esc_html__( 'Image Hotspots', 'shopbuilder' ),
511 'category' => 'general',
512 'active' => '',
513 'package' => $this->pro_package(),
514 'fields' => [],
515 ]
516 ),
517 'coupon_list' => apply_filters(
518 'rtsb/elements/coupon_list/options',
519 [
520 'id' => 'coupon_list',
521 'title' => esc_html__( 'Coupon List', 'shopbuilder' ),
522 'category' => 'general',
523 'active' => '',
524 'package' => $this->pro_package(),
525 'fields' => [],
526 ]
527 ),
528 'hero_slider' => apply_filters(
529 'rtsb/elements/hero_slider/options',
530 [
531 'id' => 'hero_slider',
532 'title' => esc_html__( 'Hero Slider', 'shopbuilder' ),
533 'category' => 'general',
534 'active' => '',
535 'package' => $this->pro_package(),
536 'fields' => [],
537 ]
538 ),
539 'shopbuilder_counter' => apply_filters(
540 'rtsb/elements/shopbuilder_counter/options',
541 [
542 'id' => 'shopbuilder_counter',
543 'title' => esc_html__( 'Fun Facts', 'shopbuilder' ),
544 'base_class' => General\Counter\Counter::class,
545 'category' => 'general',
546 'active' => 'on',
547 'package' => 'free',
548 'fields' => [],
549 ]
550 ),
551 'shopbuilder_countdown' => apply_filters(
552 'rtsb/elements/shopbuilder_countdown/options',
553 [
554 'id' => 'shopbuilder_countdown',
555 'title' => esc_html__( 'Countdown', 'shopbuilder' ),
556 'base_class' => General\CountDown\CountDown::class,
557 'category' => 'general',
558 'active' => 'on',
559 'package' => 'free',
560 'fields' => [],
561 ]
562 ),
563 'shopbuilder_progress_bar' => apply_filters(
564 'rtsb/elements/shopbuilder_progress_bar/options',
565 [
566 'id' => 'shopbuilder_progress_bar',
567 'title' => esc_html__( 'Progress Bar', 'shopbuilder' ),
568 'base_class' => General\ProgressBar\ProgressBar::class,
569 'category' => 'general',
570 'active' => 'on',
571 'package' => 'free',
572 'fields' => [],
573 ]
574 ),
575 'image_accordion' => apply_filters(
576 'rtsb/elements/image_accordion/options',
577 [
578 'id' => 'image_accordion',
579 'title' => esc_html__( 'Image Accordion', 'shopbuilder' ),
580 'base_class' => General\ImageAccordion\ImageAccordion::class,
581 'category' => 'general',
582 'active' => 'on',
583 'package' => 'free',
584 'fields' => [],
585 ]
586 ),
587 'shopbuilder_faq' => apply_filters(
588 'rtsb/elements/shopbuilder_faq/options',
589 [
590 'id' => 'shopbuilder_faq',
591 'title' => esc_html__( 'FAQ', 'shopbuilder' ),
592 'base_class' => General\ShopBuilderFaq\ShopBuilderFaq::class,
593 'category' => 'general',
594 'active' => 'on',
595 'package' => 'free',
596 'fields' => [],
597 ]
598 ),
599 'logo_slider_and_grid' => apply_filters(
600 'rtsb/elements/logo_slider_and_grid/options',
601 [
602 'id' => 'logo_slider_and_grid',
603 'title' => esc_html__( 'Logo Slider and Grid', 'shopbuilder' ),
604 'base_class' => General\LogoSliderAndGrid\LogoSliderAndGrid::class,
605 'category' => 'general',
606 'active' => 'on',
607 'package' => 'free',
608 'fields' => [],
609 ]
610 ),
611 'testimonial' => apply_filters(
612 'rtsb/elements/testimonial/options',
613 [
614 'id' => 'testimonial',
615 'title' => esc_html__( 'Testimonials', 'shopbuilder' ),
616 'base_class' => General\Testimonial\Testimonial::class,
617 'category' => 'general',
618 'active' => 'on',
619 'package' => 'free',
620 'fields' => [],
621 ]
622 ),
623 'team_member' => apply_filters(
624 'rtsb/elements/team_member/options',
625 [
626 'id' => 'team_member',
627 'title' => esc_html__( 'Team Members', 'shopbuilder' ),
628 'base_class' => General\TeamMember\TeamMember::class,
629 'category' => 'general',
630 'active' => 'on',
631 'package' => 'free',
632 'fields' => [],
633 ]
634 ),
635 'post_grid' => apply_filters(
636 'rtsb/elements/post_grid/options',
637 [
638 'id' => 'post_grid',
639 'title' => esc_html__( 'Post Grid', 'shopbuilder' ),
640 'base_class' => General\PostGrid\PostGrid::class,
641 'category' => 'general',
642 'active' => 'on',
643 'package' => 'free',
644 'fields' => [],
645 ]
646 ),
647 'post_list' => apply_filters(
648 'rtsb/elements/post_list/options',
649 [
650 'id' => 'post_list',
651 'title' => esc_html__( 'Post List', 'shopbuilder' ),
652 'base_class' => General\PostList\PostList::class,
653 'category' => 'general',
654 'active' => 'on',
655 'package' => 'free',
656 'fields' => [],
657 ]
658 ),
659 'advanced_ajax_search' => apply_filters(
660 'rtsb/elements/advanced_ajax_search/options',
661 [
662 'id' => 'advanced_ajax_search',
663 'title' => esc_html__( 'Advanced Ajax Search', 'shopbuilder' ),
664 'category' => 'general',
665 'active' => '',
666 'package' => $this->pro_package(),
667 'fields' => [],
668 ]
669 ),
670 'save_for_buy_later' => apply_filters(
671 'rtsb/elements/save_for_buy_later/options',
672 [
673 'id' => 'save_for_buy_later',
674 'title' => esc_html__( 'Saved For Buy Later', 'shopbuilder' ),
675 'category' => 'general',
676 'active' => '',
677 'package' => $this->pro_package(),
678 'fields' => [],
679 ]
680 ),
681 ];
682 return apply_filters( 'rtsb/core/elements/general/widget_list', $list );
683 }
684
685 /**
686 * Product Single Widget List.
687 *
688 * @return array
689 */
690 protected function product_page_widget_list() {
691
692 $list = [
693 'product_title' => apply_filters(
694 'rtsb/elements/product_title/options',
695 [
696 'id' => 'product_title',
697 'title' => esc_html__( 'Product Title', 'shopbuilder' ),
698 'base_class' => Single\ProductTitle::class,
699 'category' => 'product',
700 'active' => 'on',
701 'package' => 'free',
702 'fields' => [],
703 ]
704 ),
705 'product_description' => apply_filters(
706 'rtsb/elements/product_description/options',
707 [
708 'id' => 'product_description',
709 'title' => esc_html__( 'Product Description', 'shopbuilder' ),
710 'base_class' => Single\ProductDescription::class,
711 'category' => 'product',
712 'active' => 'on',
713 'package' => 'free',
714 'fields' => [],
715 ]
716 ),
717 'product_short_description' => apply_filters(
718 'rtsb/elements/product_short_description/options',
719 [
720 'id' => 'product_short_description',
721 'title' => esc_html__( 'Short Description', 'shopbuilder' ),
722 'base_class' => Single\ShortDescription::class,
723 'category' => 'product',
724 'active' => 'on',
725 'package' => 'free',
726 'fields' => [],
727 ]
728 ),
729 'product_images' => apply_filters(
730 'rtsb/elements/product_images/options',
731 [
732 'id' => 'product_images',
733 'title' => esc_html__( 'Product Images', 'shopbuilder' ),
734 'base_class' => Single\ProductImages::class,
735 'category' => 'product',
736 'active' => 'on',
737 'package' => 'free',
738 'fields' => [],
739 ]
740 ),
741 'product_onsale' => apply_filters(
742 'rtsb/elements/product_onsale/options',
743 [
744 'id' => 'product_onsale',
745 'title' => esc_html__( 'Product Badges', 'shopbuilder' ),
746 'base_class' => Single\ProductBadges::class,
747 'category' => 'product',
748 'active' => 'on',
749 'package' => 'free',
750 'fields' => [],
751 ]
752 ),
753 'product_additional_info' => apply_filters(
754 'rtsb/elements/product_additional_info/options',
755 [
756 'id' => 'product_additional_info',
757 'title' => esc_html__( 'Additional Information', 'shopbuilder' ),
758 'base_class' => Single\AdditionalInformation::class,
759 'category' => 'product',
760 'active' => 'on',
761 'package' => 'free',
762 'fields' => [],
763 ]
764 ),
765 'product_price' => apply_filters(
766 'rtsb/elements/product_price/options',
767 [
768 'id' => 'product_price',
769 'title' => esc_html__( 'Product Price', 'shopbuilder' ),
770 'base_class' => Single\ProductPrice::class,
771 'category' => 'product',
772 'active' => 'on',
773 'package' => 'free',
774 'fields' => [],
775 ]
776 ),
777 'product_meta' => apply_filters(
778 'rtsb/elements/product_meta/options',
779 [
780 'id' => 'product_meta',
781 'title' => esc_html__( 'Product Meta', 'shopbuilder' ),
782 'base_class' => Single\ProductMeta::class,
783 'category' => 'product',
784 'active' => 'on',
785 'package' => 'free',
786 'fields' => [],
787 ]
788 ),
789 'product_categories' => apply_filters(
790 'rtsb/elements/product_categories/options',
791 [
792 'id' => 'product_categories',
793 'title' => esc_html__( 'Product Categories', 'shopbuilder' ),
794 'base_class' => Single\ProductCats::class,
795 'category' => 'product',
796 'active' => 'on',
797 'package' => 'free',
798 'fields' => [],
799 ]
800 ),
801 'product_rating' => apply_filters(
802 'rtsb/elements/product_rating/options',
803 [
804 'id' => 'product_rating',
805 'title' => esc_html__( 'Product Rating', 'shopbuilder' ),
806 'base_class' => Single\ProductRating::class,
807 'category' => 'product',
808 'active' => 'on',
809 'package' => 'free',
810 'fields' => [],
811 ]
812 ),
813 'product_tags' => apply_filters(
814 'rtsb/elements/product_tags/options',
815 [
816 'id' => 'product_tags',
817 'title' => esc_html__( 'Product Tags', 'shopbuilder' ),
818 'base_class' => Single\ProductTags::class,
819 'category' => 'product',
820 'active' => 'on',
821 'package' => 'free',
822 'fields' => [],
823 ]
824 ),
825 'product_sku' => apply_filters(
826 'rtsb/elements/product_sku/options',
827 [
828 'id' => 'product_sku',
829 'title' => esc_html__( 'Product SKU', 'shopbuilder' ),
830 'base_class' => Single\ProductSKU::class,
831 'category' => 'product',
832 'active' => 'on',
833 'package' => 'free',
834 'fields' => [],
835 ]
836 ),
837 'product_stock' => apply_filters(
838 'rtsb/elements/product_stock/options',
839 [
840 'id' => 'product_stock',
841 'title' => esc_html__( 'Product Stock', 'shopbuilder' ),
842 'base_class' => Single\ProductStock::class,
843 'category' => 'product',
844 'active' => 'on',
845 'package' => 'free',
846 'fields' => [],
847 ]
848 ),
849 'actions_button' => apply_filters(
850 'rtsb/elements/actions_button/options',
851 [
852 'id' => 'actions_button',
853 'title' => esc_html__( 'Action Buttons', 'shopbuilder' ),
854 'base_class' => Single\ActionsButton::class,
855 'category' => 'product',
856 'active' => 'on',
857 'package' => 'free',
858 'fields' => [],
859 ]
860 ),
861 'product_add_to_cart' => apply_filters(
862 'rtsb/elements/product_add_to_cart/options',
863 [
864 'id' => 'product_add_to_cart',
865 'title' => esc_html__( 'Add to Cart', 'shopbuilder' ),
866 'base_class' => Single\ProductAddToCart::class,
867 'category' => 'product',
868 'active' => 'on',
869 'package' => 'free',
870 'fields' => [],
871 ]
872 ),
873 'product_share' => apply_filters(
874 'rtsb/elements/product_share/options',
875 [
876 'id' => 'product_share',
877 'title' => esc_html__( 'Product Share', 'shopbuilder' ),
878 'base_class' => Single\ProductShare::class,
879 'category' => 'product',
880 'active' => 'on',
881 'package' => 'free',
882 'fields' => [],
883 ]
884 ),
885 'product_sales_count' => apply_filters(
886 'rtsb/elements/product_sales_count/options',
887 [
888 'id' => 'product_sales_count',
889 'title' => esc_html__( 'Sales Count', 'shopbuilder' ),
890 'category' => 'product',
891 'active' => '',
892 'package' => $this->pro_package(),
893 'fields' => [],
894 ]
895 ),
896 'product_stock_counter' => apply_filters(
897 'rtsb/elements/product_stock_counter/options',
898 [
899 'id' => 'product_stock_counter',
900 'title' => esc_html__( 'Product Stock Count', 'shopbuilder' ),
901 'category' => 'product',
902 'active' => '',
903 'package' => $this->pro_package(),
904 'fields' => [],
905 ]
906 ),
907 'flash_sale_countdown' => apply_filters(
908 'rtsb/elements/flash_sale_countdown/options',
909 [
910 'id' => 'flash_sale_countdown',
911 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder' ),
912 'category' => 'product',
913 'active' => '',
914 'package' => $this->pro_package(),
915 'fields' => [],
916 ]
917 ),
918 'product_size_chart' => apply_filters(
919 'rtsb/elements/product_size_chart/options',
920 [
921 'id' => 'product_size_chart',
922 'title' => esc_html__( 'Size Chart', 'shopbuilder' ),
923 'category' => 'product',
924 'active' => '',
925 'package' => $this->pro_package(),
926 'fields' => [],
927 ]
928 ),
929 'product_quick_checkout' => apply_filters(
930 'rtsb/elements/product_quick_checkout/options',
931 [
932 'id' => 'product_quick_checkout',
933 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ),
934 'category' => 'product',
935 'active' => '',
936 'package' => $this->pro_package(),
937 'fields' => [],
938 ]
939 ),
940 'product_tabs' => apply_filters(
941 'rtsb/elements/product_tabs/options',
942 [
943 'id' => 'product_tabs',
944 'title' => esc_html__( 'Product Tabs', 'shopbuilder' ),
945 'base_class' => Single\ProductTabs::class,
946 'category' => 'product',
947 'active' => 'on',
948 'package' => 'free',
949 'fields' => [],
950 ]
951 ),
952 'advance_product_tabs' => apply_filters(
953 'rtsb/elements/advance_product_tabs/options',
954 [
955 'id' => 'advance_product_tabs',
956 'title' => esc_html__( 'Advanced Product Tabs', 'shopbuilder' ),
957 'category' => 'product',
958 'active' => '',
959 'package' => $this->pro_package(),
960 'fields' => [],
961 ]
962 ),
963 'product_qr_code' => apply_filters(
964 'rtsb/elements/product_qr_code/options',
965 [
966 'id' => 'product_qr_code',
967 'title' => esc_html__( 'QR Code', 'shopbuilder' ),
968 'category' => 'product',
969 'active' => '',
970 'package' => $this->pro_package(),
971 'fields' => [],
972 ]
973 ),
974 'product_reviews' => apply_filters(
975 'rtsb/elements/product_reviews/options',
976 [
977 'id' => 'product_reviews',
978 'title' => esc_html__( 'Product Reviews', 'shopbuilder' ),
979 'base_class' => Single\ProductReviews::class,
980 'category' => 'product',
981 'active' => 'on',
982 'package' => 'free',
983 'fields' => [],
984 ]
985 ),
986 'upsells_product' => apply_filters(
987 'rtsb/elements/upsells_product/options',
988 [
989 'id' => 'upsells_product',
990 'title' => esc_html__( 'Upsell - Default Layout', 'shopbuilder' ),
991 'base_class' => Single\UpsellsProduct::class,
992 'category' => 'product',
993 'active' => 'on',
994 'package' => 'free',
995 'fields' => [],
996 ]
997 ),
998 'upsells_product_custom' => apply_filters(
999 'rtsb/elements/upsells_product_custom/options',
1000 [
1001 'id' => 'upsells_product_custom',
1002 'title' => esc_html__( 'Upsell - Custom Layouts', 'shopbuilder' ),
1003 'base_class' => Single\UpsellsProductsCustom::class,
1004 'category' => 'product',
1005 'active' => 'on',
1006 'package' => 'free',
1007 'fields' => [],
1008 ]
1009 ),
1010 'upsells_products_slider_custom' => apply_filters(
1011 'rtsb/elements/upsells_products_slider_custom/options',
1012 [
1013 'id' => 'upsells_products_slider_custom',
1014 'title' => esc_html__( 'Upsell - Slider Layouts', 'shopbuilder' ),
1015 'base_class' => Single\UpsellsProductsSlider::class,
1016 'category' => 'product',
1017 'active' => 'on',
1018 'package' => 'free',
1019 'fields' => [],
1020 ]
1021 ),
1022 'related_product' => apply_filters(
1023 'rtsb/elements/related_product/options',
1024 [
1025 'id' => 'related_product',
1026 'title' => esc_html__( 'Related - Default Layout', 'shopbuilder' ),
1027 'base_class' => Single\RelatedProduct::class,
1028 'category' => 'product',
1029 'active' => 'on',
1030 'package' => 'free',
1031 'fields' => [],
1032 ]
1033 ),
1034 'related_product_custom' => apply_filters(
1035 'rtsb/elements/related_product_custom/options',
1036 [
1037 'id' => 'related_product_custom',
1038 'title' => esc_html__( 'Related - Custom Layouts', 'shopbuilder' ),
1039 'base_class' => Single\RelatedProductsCustom::class,
1040 'category' => 'product',
1041 'active' => 'on',
1042 'package' => 'free',
1043 'fields' => [],
1044 ]
1045 ),
1046 'related_products_slider_custom' => apply_filters(
1047 'rtsb/elements/related_products_slider_custom/options',
1048 [
1049 'id' => 'related_products_slider_custom',
1050 'title' => esc_html__( 'Related - Slider Layouts', 'shopbuilder' ),
1051 'base_class' => Single\RelatedProductsSlider::class,
1052 'category' => 'product',
1053 'active' => 'on',
1054 'package' => 'free',
1055 'fields' => [],
1056 ]
1057 ),
1058 ];
1059
1060 return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list );
1061 }
1062
1063 /**
1064 * Product Single Widget List.
1065 *
1066 * @return array
1067 */
1068 protected function product_quick_view() {
1069
1070 $list = [
1071 'qv_product_title' => apply_filters(
1072 'rtsb/elements/qv_product_title/options',
1073 [
1074 'id' => 'qv_product_title',
1075 'title' => esc_html__( 'Product Title', 'shopbuilder' ),
1076 'base_class' => Single\ProductTitle::class,
1077 'category' => 'quick_view',
1078 'is_front_page' => 'quick_view',
1079 'active' => 'on',
1080 'package' => $this->pro_package(),
1081 'fields' => [],
1082 ]
1083 ),
1084 'qv_product_description' => apply_filters(
1085 'rtsb/elements/qv_product_description/options',
1086 [
1087 'id' => 'qv_product_description',
1088 'title' => esc_html__( 'Product Description', 'shopbuilder' ),
1089 'base_class' => Single\ProductDescription::class,
1090 'category' => 'quick_view',
1091 'is_front_page' => 'quick_view',
1092 'active' => 'on',
1093 'package' => $this->pro_package(),
1094 'fields' => [],
1095 ]
1096 ),
1097 'qv_product_short_description' => apply_filters(
1098 'rtsb/elements/qv_product_short_description/options',
1099 [
1100 'id' => 'qv_product_short_description',
1101 'title' => esc_html__( 'Short Description', 'shopbuilder' ),
1102 'base_class' => Single\ShortDescription::class,
1103 'category' => 'quick_view',
1104 'is_front_page' => 'quick_view',
1105 'active' => 'on',
1106 'package' => $this->pro_package(),
1107 'fields' => [],
1108 ]
1109 ),
1110 'qv_product_images' => apply_filters(
1111 'rtsb/elements/qv_product_images/options',
1112 [
1113 'id' => 'qv_product_images',
1114 'title' => esc_html__( 'Product Images', 'shopbuilder' ),
1115 'base_class' => Single\ProductImages::class,
1116 'category' => 'quick_view',
1117 'is_front_page' => 'quick_view',
1118 'active' => 'on',
1119 'package' => $this->pro_package(),
1120 'fields' => [],
1121 ]
1122 ),
1123 'qv_product_badges' => apply_filters(
1124 'rtsb/elements/qv_product_badges/options',
1125 [
1126 'id' => 'qv_product_badges',
1127 'title' => esc_html__( 'Product Badges', 'shopbuilder' ),
1128 'base_class' => Single\ProductBadges::class,
1129 'category' => 'quick_view',
1130 'is_front_page' => 'quick_view',
1131 'active' => 'on',
1132 'package' => $this->pro_package(),
1133 'fields' => [],
1134 ]
1135 ),
1136 'qv_product_additional_info' => apply_filters(
1137 'rtsb/elements/qv_product_additional_info/options',
1138 [
1139 'id' => 'qv_product_additional_info',
1140 'title' => esc_html__( 'Additional Information', 'shopbuilder' ),
1141 'base_class' => Single\AdditionalInformation::class,
1142 'category' => 'quick_view',
1143 'is_front_page' => 'quick_view',
1144 'active' => 'on',
1145 'package' => $this->pro_package(),
1146 'fields' => [],
1147 ]
1148 ),
1149 'qv_product_price' => apply_filters(
1150 'rtsb/elements/qv_product_price/options',
1151 [
1152 'id' => 'qv_product_price',
1153 'title' => esc_html__( 'Product Price', 'shopbuilder' ),
1154 'base_class' => Single\ProductPrice::class,
1155 'category' => 'quick_view',
1156 'is_front_page' => 'quick_view',
1157 'active' => 'on',
1158 'package' => $this->pro_package(),
1159 'fields' => [],
1160 ]
1161 ),
1162 'qv_product_meta' => apply_filters(
1163 'rtsb/elements/qv_product_meta/options',
1164 [
1165 'id' => 'qv_product_meta',
1166 'title' => esc_html__( 'Product Meta', 'shopbuilder' ),
1167 'base_class' => Single\ProductMeta::class,
1168 'category' => 'quick_view',
1169 'is_front_page' => 'quick_view',
1170 'active' => 'on',
1171 'package' => $this->pro_package(),
1172 'fields' => [],
1173 ]
1174 ),
1175 'qv_product_categories' => apply_filters(
1176 'rtsb/elements/qv_product_categories/options',
1177 [
1178 'id' => 'qv_product_categories',
1179 'title' => esc_html__( 'Product Categories', 'shopbuilder' ),
1180 'base_class' => Single\ProductCats::class,
1181 'category' => 'quick_view',
1182 'is_front_page' => 'quick_view',
1183 'active' => 'on',
1184 'package' => $this->pro_package(),
1185 'fields' => [],
1186 ]
1187 ),
1188 'qv_product_rating' => apply_filters(
1189 'rtsb/elements/qv_product_rating/options',
1190 [
1191 'id' => 'qv_product_rating',
1192 'title' => esc_html__( 'Product Rating', 'shopbuilder' ),
1193 'base_class' => Single\ProductRating::class,
1194 'category' => 'quick_view',
1195 'is_front_page' => 'quick_view',
1196 'active' => 'on',
1197 'package' => $this->pro_package(),
1198 'fields' => [],
1199 ]
1200 ),
1201 'qv_product_tags' => apply_filters(
1202 'rtsb/elements/qv_product_tags/options',
1203 [
1204 'id' => 'qv_product_tags',
1205 'title' => esc_html__( 'Product Tags', 'shopbuilder' ),
1206 'base_class' => Single\ProductTags::class,
1207 'category' => 'quick_view',
1208 'is_front_page' => 'quick_view',
1209 'active' => 'on',
1210 'package' => $this->pro_package(),
1211 'fields' => [],
1212 ]
1213 ),
1214 'qv_product_sku' => apply_filters(
1215 'rtsb/elements/qv_product_sku/options',
1216 [
1217 'id' => 'qv_product_sku',
1218 'title' => esc_html__( 'Product SKU', 'shopbuilder' ),
1219 'base_class' => Single\ProductSKU::class,
1220 'category' => 'quick_view',
1221 'is_front_page' => 'quick_view',
1222 'active' => 'on',
1223 'package' => $this->pro_package(),
1224 'fields' => [],
1225 ]
1226 ),
1227 'qv_product_stock' => apply_filters(
1228 'rtsb/elements/qv_product_stock/options',
1229 [
1230 'id' => 'qv_product_stock',
1231 'title' => esc_html__( 'Product Stock', 'shopbuilder' ),
1232 'base_class' => Single\ProductStock::class,
1233 'category' => 'quick_view',
1234 'is_front_page' => 'quick_view',
1235 'active' => 'on',
1236 'package' => $this->pro_package(),
1237 'fields' => [],
1238 ]
1239 ),
1240 'qv_actions_button' => apply_filters(
1241 'rtsb/elements/qv_actions_button/options',
1242 [
1243 'id' => 'qv_actions_button',
1244 'title' => esc_html__( 'Action Buttons', 'shopbuilder' ),
1245 'base_class' => Single\ActionsButton::class,
1246 'category' => 'quick_view',
1247 'is_front_page' => 'quick_view',
1248 'active' => 'on',
1249 'package' => $this->pro_package(),
1250 'fields' => [],
1251 ]
1252 ),
1253 'qv_product_add_to_cart' => apply_filters(
1254 'rtsb/elements/qv_product_add_to_cart/options',
1255 [
1256 'id' => 'qv_product_add_to_cart',
1257 'title' => esc_html__( 'Add to Cart', 'shopbuilder' ),
1258 'base_class' => Single\ProductAddToCart::class,
1259 'category' => 'quick_view',
1260 'is_front_page' => 'quick_view',
1261 'active' => 'on',
1262 'package' => $this->pro_package(),
1263 'fields' => [],
1264 ]
1265 ),
1266 'qv_product_sales_count' => apply_filters(
1267 'rtsb/elements/qv_product_sales_count/options',
1268 [
1269 'id' => 'qv_product_sales_count',
1270 'title' => esc_html__( 'Sales Count', 'shopbuilder' ),
1271 'category' => 'quick_view',
1272 'is_front_page' => 'quick_view',
1273 'active' => 'on',
1274 'package' => $this->pro_package(),
1275 'fields' => [],
1276 ]
1277 ),
1278 'qv_social_share' => apply_filters(
1279 'rtsb/settings/qv_social_share/options',
1280 [
1281 'id' => 'qv_social_share',
1282 'title' => esc_html__( 'Social Share', 'shopbuilder' ),
1283 'base_class' => General\SocialShare::class,
1284 'active' => 'on',
1285 'category' => 'quick_view',
1286 'is_front_page' => 'quick_view',
1287 'package' => $this->pro_package(),
1288 'fields' => [],
1289 ]
1290 ),
1291 'qv_product_quick_checkout' => apply_filters(
1292 'rtsb/elements/qv_product_quick_checkout/options',
1293 [
1294 'id' => 'qv_product_quick_checkout',
1295 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ),
1296 'category' => 'quick_view',
1297 'is_front_page' => 'quick_view',
1298 'active' => 'on',
1299 'package' => $this->pro_package(),
1300 'fields' => [],
1301 ]
1302 ),
1303
1304 'qv_product_size_chart' => apply_filters(
1305 'rtsb/elements/qv_product_size_chart/options',
1306 [
1307 'id' => 'qv_product_size_chart',
1308 'title' => esc_html__( 'Size Chart', 'shopbuilder' ),
1309 'category' => 'quick_view',
1310 'is_front_page' => 'quick_view',
1311 'active' => '',
1312 'package' => $this->pro_package(),
1313 'fields' => [],
1314 ]
1315 ),
1316
1317 ];
1318
1319 return apply_filters( 'rtsb/core/elements/quick_view/widget_list', $list );
1320 }
1321
1322 /**
1323 * Product Archive Widget List.
1324 *
1325 * @return array
1326 */
1327 protected function shop_archive_page_widget_list() {
1328 $list = [
1329 'archive_title' => apply_filters(
1330 'rtsb/elements/archive_title/options',
1331 [
1332 'id' => 'archive_title',
1333 'title' => esc_html__( 'Archive Title', 'shopbuilder' ),
1334 'base_class' => Archive\ArchiveTitle::class,
1335 'category' => 'shop',
1336 'active' => 'on',
1337 'package' => 'free',
1338 'fields' => [],
1339 ]
1340 ),
1341
1342 'archive_description' => apply_filters(
1343 'rtsb/elements/archive_description/options',
1344 [
1345 'id' => 'archive_description',
1346 'title' => esc_html__( 'Archive Description', 'shopbuilder' ),
1347 'base_class' => Archive\ArchiveDescription::class,
1348 'category' => 'shop',
1349 'active' => 'on',
1350 'package' => 'free',
1351 'fields' => [],
1352 ]
1353 ),
1354
1355 'products_archive_catalog' => apply_filters(
1356 'rtsb/elements/products_archive_catalog/options',
1357 [
1358 'id' => 'products_archive_catalog',
1359 'title' => esc_html__( 'Products - Default Layout', 'shopbuilder' ),
1360 'base_class' => Archive\ProductsArchive::class,
1361 'category' => 'shop',
1362 'active' => 'on',
1363 'package' => 'free',
1364 'fields' => [],
1365 ]
1366 ),
1367
1368 'products_archive_catalog_custom' => apply_filters(
1369 'rtsb/elements/products_archive_catalog_custom/options',
1370 [
1371 'id' => 'products_archive_catalog_custom',
1372 'title' => esc_html__( 'Products - Custom Layouts', 'shopbuilder' ),
1373 'base_class' => Archive\ProductsArchiveCustom::class,
1374 'category' => 'shop',
1375 'active' => 'on',
1376 'package' => 'free',
1377 'fields' => [],
1378 ]
1379 ),
1380
1381 'ajax_product_filters' => apply_filters(
1382 'rtsb/elements/ajax_product_filters/options',
1383 [
1384 'id' => 'ajax_product_filters',
1385 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder' ),
1386 'category' => 'shop',
1387 'active' => 'on',
1388 'package' => $this->pro_package(),
1389 'fields' => [],
1390 ]
1391 ),
1392 'product_filters' => apply_filters(
1393 'rtsb/elements/product_filters/options',
1394 [
1395 'id' => 'product_filters',
1396 'title' => esc_html__( 'Product Filters', 'shopbuilder' ),
1397 'base_class' => Archive\ProductFilters\ProductFilters::class,
1398 'category' => 'shop',
1399 'active' => 'on',
1400 'package' => 'free',
1401 'fields' => [],
1402 ]
1403 ),
1404
1405 'archive_result_count' => apply_filters(
1406 'rtsb/elements/archive_result_count/options',
1407 [
1408 'id' => 'archive_result_count',
1409 'title' => esc_html__( 'Result Count', 'shopbuilder' ),
1410 'base_class' => Archive\ArchiveResultCount::class,
1411 'category' => 'shop',
1412 'active' => 'on',
1413 'package' => 'free',
1414 'fields' => [],
1415 ]
1416 ),
1417 'archive_products_ordering' => apply_filters(
1418 'rtsb/elements/archive_products_ordering/options',
1419 [
1420 'id' => 'archive_products_ordering',
1421 'title' => esc_html__( 'Products Ordering', 'shopbuilder' ),
1422 'base_class' => Archive\ProductsOrdering::class,
1423 'category' => 'shop',
1424 'active' => 'on',
1425 'package' => 'free',
1426 'fields' => [],
1427 ]
1428 ),
1429 'archive_product_mode' => apply_filters(
1430 'rtsb/elements/archive_product_mode/options',
1431 [
1432 'id' => 'archive_product_mode',
1433 'title' => esc_html__( 'View Mode', 'shopbuilder' ),
1434 'base_class' => Archive\ArchiveProductMode::class,
1435 'category' => 'shop',
1436 'active' => 'on',
1437 'package' => 'free',
1438 'fields' => [],
1439 ]
1440 ),
1441 ];
1442
1443 return apply_filters( 'rtsb/core/elements/shop/widget_list', $list );
1444 }
1445
1446 /**
1447 * Cart Page Widget List.
1448 *
1449 * @return array
1450 */
1451 protected function cart_page_widget_list() {
1452 $list = [
1453 'cart_table' => apply_filters(
1454 'rtsb/elements/cart_table/options',
1455 [
1456 'id' => 'cart_table',
1457 'title' => esc_html__( 'Cart Table', 'shopbuilder' ),
1458 'base_class' => Cart\CartTable::class,
1459 'category' => 'cart',
1460 'active' => 'on',
1461 'package' => 'free',
1462 'fields' => [],
1463 ]
1464 ),
1465 'cart_totals' => apply_filters(
1466 'rtsb/elements/cart_totals/options',
1467 [
1468 'id' => 'cart_totals',
1469 'title' => esc_html__( 'Cart Totals', 'shopbuilder' ),
1470 'base_class' => Cart\CartTotals::class,
1471 'category' => 'cart',
1472 'active' => 'on',
1473 'package' => 'free',
1474 'fields' => [],
1475 ]
1476 ),
1477 'cart_coupon_form' => apply_filters(
1478 'rtsb/elements/cart_coupon_form/options',
1479 [
1480 'id' => 'cart_coupon_form',
1481 'title' => esc_html__( 'Coupon Form', 'shopbuilder' ),
1482 'category' => 'cart',
1483 'active' => 'on',
1484 'package' => $this->pro_package(),
1485 'fields' => [],
1486 ]
1487 ),
1488 'cross_sells' => apply_filters(
1489 'rtsb/elements/cross_sells/options',
1490 [
1491 'id' => 'cross_sells',
1492 'title' => esc_html__( 'Cross Sell - Default Layout', 'shopbuilder' ),
1493 'base_class' => Cart\CrossSellProduct::class,
1494 'category' => 'cart',
1495 'active' => 'on',
1496 'package' => 'free',
1497 'fields' => [],
1498 ]
1499 ),
1500 'cross_sells_custom' => apply_filters(
1501 'rtsb/elements/cross_sells_custom/options',
1502 [
1503 'id' => 'cross_sells_custom',
1504 'title' => esc_html__( 'Cross Sell - Custom Layouts', 'shopbuilder' ),
1505 'base_class' => Cart\CrossSellsProductsCustom::class,
1506 'category' => 'cart',
1507 'active' => 'on',
1508 'package' => 'free',
1509 'fields' => [],
1510 ]
1511 ),
1512 'cross_sells_custom_slider' => apply_filters(
1513 'rtsb/elements/cross_sells_custom_slider/options',
1514 [
1515 'id' => 'cross_sells_custom_slider',
1516 'title' => esc_html__( 'Cross Sell - Slider Layouts', 'shopbuilder' ),
1517 'base_class' => Cart\CrossSellsProductsSlider::class,
1518 'category' => 'cart',
1519 'active' => 'on',
1520 'package' => 'free',
1521 'fields' => [],
1522 ]
1523 ),
1524 'save_for_later_preview' => apply_filters(
1525 'rtsb/elements/save_for_later_preview/options',
1526 [
1527 'id' => 'save_for_later_preview',
1528 'title' => esc_html__( 'Save For Later Preview', 'shopbuilder' ),
1529 'base_class' => Cart\SaveForLaterPreview::class,
1530 'category' => 'cart',
1531 'active' => 'on',
1532 'package' => $this->pro_package(),
1533 'fields' => [],
1534 ]
1535 ),
1536 ];
1537
1538 return apply_filters( 'rtsb/core/elements/cart/widget_list', $list );
1539 }
1540
1541 /**
1542 * Checkout Page Widget List.
1543 *
1544 * @return array
1545 */
1546 protected function checkout_page_widget_list() {
1547 $list = [
1548 'billing_form' => apply_filters(
1549 'rtsb/elements/billing_form/options',
1550 [
1551 'id' => 'billing_form',
1552 'title' => esc_html__( 'Billing Form', 'shopbuilder' ),
1553 'base_class' => Checkout\BillingForm::class,
1554 'category' => 'checkout',
1555 'active' => 'on',
1556 'package' => 'free',
1557 'fields' => [],
1558 ]
1559 ),
1560 'shipping_form' => apply_filters(
1561 'rtsb/elements/shipping_form/options',
1562 [
1563 'id' => 'shipping_form',
1564 'title' => esc_html__( 'Shipping Form', 'shopbuilder' ),
1565 'base_class' => Checkout\ShippingForm::class,
1566 'category' => 'checkout',
1567 'active' => 'on',
1568 'package' => 'free',
1569 'fields' => [],
1570 ]
1571 ),
1572 'order_notes' => apply_filters(
1573 'rtsb/elements/order_notes/options',
1574 [
1575 'id' => 'order_notes',
1576 'title' => esc_html__( 'Order Notes', 'shopbuilder' ),
1577 'base_class' => Checkout\OrderNotes::class,
1578 'category' => 'checkout',
1579 'active' => 'on',
1580 'package' => 'free',
1581 'fields' => [],
1582 ]
1583 ),
1584 'order_review' => apply_filters(
1585 'rtsb/elements/order_review/options',
1586 [
1587 'id' => 'order_review',
1588 'title' => esc_html__( 'Order Review', 'shopbuilder' ),
1589 'base_class' => Checkout\OrderReview::class,
1590 'category' => 'checkout',
1591 'active' => 'on',
1592 'package' => 'free',
1593 'fields' => [],
1594 ]
1595 ),
1596 'checkout_payment' => apply_filters(
1597 'rtsb/elements/checkout_payment/options',
1598 [
1599 'id' => 'checkout_payment',
1600 'title' => esc_html__( 'Checkout Payment Method', 'shopbuilder' ),
1601 'base_class' => Checkout\CheckoutPayment::class,
1602 'category' => 'checkout',
1603 'active' => 'on',
1604 'package' => 'free',
1605 'fields' => [],
1606 ]
1607 ),
1608 'coupon_form' => apply_filters(
1609 'rtsb/elements/coupon_form/options',
1610 [
1611 'id' => 'coupon_form',
1612 'title' => esc_html__( 'Coupon Form', 'shopbuilder' ),
1613 'base_class' => Checkout\CouponForm::class,
1614 'category' => 'checkout',
1615 'active' => 'on',
1616 'package' => 'free',
1617 'fields' => [],
1618 ]
1619 ),
1620 'checkout_login_form' => apply_filters(
1621 'rtsb/elements/checkout_login_form/options',
1622 [
1623 'id' => 'checkout_login_form',
1624 'title' => esc_html__( 'Login Form', 'shopbuilder' ),
1625 'base_class' => Checkout\CheckoutLoginForm::class,
1626 'category' => 'checkout',
1627 'active' => 'on',
1628 'package' => 'free',
1629 'fields' => [],
1630 ]
1631 ),
1632 'shipping_method' => apply_filters(
1633 'rtsb/elements/shipping_method/options',
1634 [
1635 'id' => 'shipping_method',
1636 'title' => esc_html__( 'Shipping Method', 'shopbuilder' ),
1637 'base_class' => Checkout\ShippingMethod::class,
1638 'category' => 'checkout',
1639 'active' => 'on',
1640 'package' => 'free',
1641 'fields' => [],
1642 ]
1643 ),
1644 'multi_step_checkout_widget' => apply_filters(
1645 'rtsb/elements/multi_step_checkout_widget/options',
1646 [
1647 'id' => 'multi_step_checkout_widget',
1648 'title' => esc_html__( 'Multi Step Checkout', 'shopbuilder' ),
1649 'base_class' => CheckoutPro\MultiStepCheckout::class,
1650 'category' => 'checkout',
1651 'active' => '',
1652 'package' => $this->pro_package(),
1653 'fields' => [],
1654 ]
1655 ),
1656 ];
1657
1658 return apply_filters( 'rtsb/core/elements/checkout/widget_list', $list );
1659 }
1660
1661 /**
1662 * Checkout Page Widget List.
1663 *
1664 * @return array
1665 */
1666 protected function thankyou_page_widget_list() {
1667 return [
1668 'order_received_text' => apply_filters(
1669 'rtsb/elements/order_received_text/options',
1670 [
1671 'id' => 'order_received_text',
1672 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ),
1673 'category' => 'thank_you',
1674 'is_front_page' => 'thank_you',
1675 'active' => 'on',
1676 'package' => $this->pro_package(),
1677 'fields' => [],
1678 ]
1679 ),
1680 'order_details_summary' => apply_filters(
1681 'rtsb/elements/order_details_summary/options',
1682 [
1683 'id' => 'order_details_summary',
1684 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ),
1685 'category' => 'thank_you',
1686 'is_front_page' => 'thank_you',
1687 'active' => 'on',
1688 'package' => $this->pro_package(),
1689 'fields' => [],
1690 ]
1691 ),
1692 'order_details_table' => apply_filters(
1693 'rtsb/elements/order_details_table/options',
1694 [
1695 'id' => 'order_details_table',
1696 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ),
1697 'category' => 'thank_you',
1698 'is_front_page' => 'thank_you',
1699 'active' => 'on',
1700 'package' => $this->pro_package(),
1701 'fields' => [],
1702 ]
1703 ),
1704 'downloadable_products' => apply_filters(
1705 'rtsb/elements/downloadable_products/options',
1706 [
1707 'id' => 'downloadable_products',
1708 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ),
1709 'category' => 'thank_you',
1710 'is_front_page' => 'thank_you',
1711 'active' => 'on',
1712 'package' => $this->pro_package(),
1713 'fields' => [],
1714 ]
1715 ),
1716 'order_billing_address' => apply_filters(
1717 'rtsb/elements/order_billing_address/options',
1718 [
1719 'id' => 'order_billing_address',
1720 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ),
1721 'category' => 'thank_you',
1722 'is_front_page' => 'thank_you',
1723 'active' => 'on',
1724 'package' => $this->pro_package(),
1725 'fields' => [],
1726 ]
1727 ),
1728 'order_shipping_address' => apply_filters(
1729 'rtsb/elements/order_shipping_address/options',
1730 [
1731 'id' => 'order_shipping_address',
1732 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ),
1733 'category' => 'thank_you',
1734 'is_front_page' => 'thank_you',
1735 'active' => 'on',
1736 'package' => $this->pro_package(),
1737 'fields' => [],
1738 ]
1739 ),
1740 'order_custom_fields_data' => apply_filters(
1741 'rtsb/elements/order_custom_fields_data/options',
1742 [
1743 'id' => 'order_custom_fields_data',
1744 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ),
1745 'category' => 'thank_you',
1746 'is_front_page' => 'thank_you',
1747 'active' => 'on',
1748 'package' => $this->pro_package(),
1749 'fields' => [],
1750 ]
1751 ),
1752 ];
1753 }
1754 /**
1755 * Checkout Page Order Pay Widget List.
1756 *
1757 * @return array
1758 */
1759 protected function orderpay_page_widget_list() {
1760 return [
1761 'order_pay_form' => apply_filters(
1762 'rtsb/elements/order_pay_form/options',
1763 [
1764 'id' => 'order_pay_form',
1765 'title' => esc_html__( 'Order Pay Form', 'shopbuilder' ),
1766 'category' => 'myaccount_dashboard',
1767 'is_front_page' => 'all_myaccount_dashboard_inner',
1768 'active' => 'on',
1769 'package' => $this->pro_package(),
1770 'fields' => [],
1771 ]
1772 ),
1773
1774 ];
1775 }
1776
1777 /**
1778 * Checkout Page Widget List.
1779 *
1780 * @return array
1781 */
1782 protected function my_account_page_widget_list() {
1783 $widgets = [
1784 'account_avatar' => apply_filters(
1785 'rtsb/elements/account_avatar/options',
1786 [
1787 'id' => 'account_avatar',
1788 'title' => esc_html__( 'Account Avatar', 'shopbuilder' ),
1789 'category' => 'myaccount_dashboard',
1790 'is_front_page' => 'all_myaccount_dashboard_inner',
1791 'active' => 'on',
1792 'package' => $this->pro_package(),
1793 'fields' => [],
1794 ]
1795 ),
1796 'account_navigation_edit_shipping' => apply_filters(
1797 'rtsb/elements/account_navigation_edit_shipping/options',
1798 [
1799 'id' => 'account_navigation_edit_shipping',
1800 'title' => esc_html__( 'Account Navigation', 'shopbuilder' ),
1801 'category' => 'myaccount_dashboard',
1802 'is_front_page' => 'all_myaccount_dashboard_inner',
1803 'active' => 'on',
1804 'package' => $this->pro_package(),
1805 'fields' => [],
1806 ]
1807 ),
1808 'account_dashboard' => apply_filters(
1809 'rtsb/elements/account_dashboard/options',
1810 [
1811 'id' => 'account_dashboard',
1812 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ),
1813 'category' => 'myaccount_dashboard',
1814 'is_front_page' => 'all_myaccount_dashboard_inner',
1815 'active' => 'on',
1816 'package' => $this->pro_package(),
1817 'fields' => [],
1818 ]
1819 ),
1820 'account_orders' => apply_filters(
1821 'rtsb/elements/account_orders/options',
1822 [
1823 'id' => 'account_orders',
1824 'title' => esc_html__( 'Account Orders', 'shopbuilder' ),
1825 'category' => 'myaccount_dashboard',
1826 'is_front_page' => 'all_myaccount_dashboard_inner',
1827 'active' => 'on',
1828 'package' => $this->pro_package(),
1829 'fields' => [],
1830 ]
1831 ),
1832 'account_downloads' => apply_filters(
1833 'rtsb/elements/account_downloads/options',
1834 [
1835 'id' => 'account_downloads',
1836 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ),
1837 'category' => 'myaccount_dashboard',
1838 'is_front_page' => 'all_myaccount_dashboard_inner',
1839 'active' => 'on',
1840 'package' => $this->pro_package(),
1841 'fields' => [],
1842 ]
1843 ),
1844 'account_billing_address' => apply_filters(
1845 'rtsb/elements/account_billing_address/options',
1846 [
1847 'id' => 'account_billing_address',
1848 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ),
1849 'category' => 'myaccount_dashboard',
1850 'is_front_page' => 'all_myaccount_dashboard_inner',
1851 'active' => 'on',
1852 'package' => $this->pro_package(),
1853 'fields' => [],
1854 ]
1855 ),
1856 'account_shipping_address' => apply_filters(
1857 'rtsb/elements/account_shipping_address/options',
1858 [
1859 'id' => 'account_shipping_address',
1860 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ),
1861 'category' => 'myaccount_dashboard',
1862 'is_front_page' => 'all_myaccount_dashboard_inner',
1863 'active' => 'on',
1864 'package' => $this->pro_package(),
1865 'fields' => [],
1866 ]
1867 ),
1868 'account_address_description' => apply_filters(
1869 'rtsb/elements/account_address_description/options',
1870 [
1871 'id' => 'account_address_description',
1872 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ),
1873 'category' => 'myaccount_dashboard',
1874 'is_front_page' => 'all_myaccount_dashboard_inner',
1875 'active' => 'on',
1876 'package' => $this->pro_package(),
1877 'fields' => [],
1878 ]
1879 ),
1880 'account_details' => apply_filters(
1881 'rtsb/elements/account_details/options',
1882 [
1883 'id' => 'account_details',
1884 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ),
1885 'category' => 'myaccount_dashboard',
1886 'is_front_page' => 'all_myaccount_dashboard_inner',
1887 'active' => 'on',
1888 'package' => $this->pro_package(),
1889 'fields' => [],
1890 ]
1891 ),
1892 'account_order_status' => apply_filters(
1893 'rtsb/elements/account_order_status/options',
1894 [
1895 'id' => 'account_order_status',
1896 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ),
1897 'category' => 'myaccount_dashboard',
1898 'is_front_page' => 'all_myaccount_dashboard_inner',
1899 'active' => 'on',
1900 'package' => $this->pro_package(),
1901 'fields' => [],
1902 ]
1903 ),
1904 'account_order_details_download' => apply_filters(
1905 'rtsb/elements/account_order_details_download/options',
1906 [
1907 'id' => 'account_order_details_download',
1908 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ),
1909 'category' => 'myaccount_dashboard',
1910 'is_front_page' => 'all_myaccount_dashboard_inner',
1911 'active' => 'on',
1912 'package' => $this->pro_package(),
1913 'fields' => [],
1914 ]
1915 ),
1916 'account_order_details_note' => apply_filters(
1917 'rtsb/elements/account_order_details_note/options',
1918 [
1919 'id' => 'account_order_details_note',
1920 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ),
1921 'category' => 'myaccount_dashboard',
1922 'is_front_page' => 'all_myaccount_dashboard_inner',
1923 'active' => 'on',
1924 'package' => $this->pro_package(),
1925 'fields' => [],
1926 ]
1927 ),
1928 'account_order_details_table' => apply_filters(
1929 'rtsb/elements/account_order_details_table/options',
1930 [
1931 'id' => 'account_order_details_table',
1932 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ),
1933 'category' => 'myaccount_dashboard',
1934 'is_front_page' => 'all_myaccount_dashboard_inner',
1935 'active' => 'on',
1936 'package' => $this->pro_package(),
1937 'fields' => [],
1938 ]
1939 ),
1940 'account_order_details_order_again' => apply_filters(
1941 'rtsb/elements/account_order_details_order_again/options',
1942 [
1943 'id' => 'account_order_details_order_again',
1944 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ),
1945 'category' => 'myaccount_dashboard',
1946 'is_front_page' => 'all_myaccount_dashboard_inner',
1947 'active' => 'on',
1948 'package' => $this->pro_package(),
1949 'fields' => [],
1950 ]
1951 ),
1952 'account_order_details_order_shipping' => apply_filters(
1953 'rtsb/elements/account_order_details_order_shipping/options',
1954 [
1955 'id' => 'account_order_details_order_shipping',
1956 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ),
1957 'category' => 'myaccount_dashboard',
1958 'is_front_page' => 'all_myaccount_dashboard_inner',
1959 'active' => 'on',
1960 'package' => $this->pro_package(),
1961 'fields' => [],
1962 ]
1963 ),
1964 'account_order_details_order_billing' => apply_filters(
1965 'rtsb/elements/account_order_details_order_billing/options',
1966 [
1967 'id' => 'account_order_details_order_billing',
1968 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ),
1969 'category' => 'myaccount_dashboard',
1970 'is_front_page' => 'all_myaccount_dashboard_inner',
1971 'active' => 'on',
1972 'package' => $this->pro_package(),
1973 'fields' => [],
1974 ]
1975 ),
1976 'account_edit_billing_address' => apply_filters(
1977 'rtsb/elements/account_edit_billing_address/options',
1978 [
1979 'id' => 'account_edit_billing_address',
1980 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ),
1981 'category' => 'myaccount_dashboard',
1982 'is_front_page' => 'all_myaccount_dashboard_inner',
1983 'active' => 'on',
1984 'package' => $this->pro_package(),
1985 'fields' => [],
1986 ]
1987 ),
1988 'account_edit_shipping_address' => apply_filters(
1989 'rtsb/elements/account_edit_shipping_address/options',
1990 [
1991 'id' => 'account_edit_shipping_address',
1992 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ),
1993 'category' => 'myaccount_dashboard',
1994 'is_front_page' => 'all_myaccount_dashboard_inner',
1995 'active' => 'on',
1996 'package' => $this->pro_package(),
1997 'fields' => [],
1998 ]
1999 ),
2000 'account_payment_methods' => apply_filters(
2001 'rtsb/elements/account_payment_methods/options',
2002 [
2003 'id' => 'account_payment_methods',
2004 'title' => esc_html__( 'Payment Methods', 'shopbuilder' ),
2005 'category' => 'myaccount_dashboard',
2006 'is_front_page' => 'all_myaccount_dashboard_inner',
2007 'active' => 'on',
2008 'package' => $this->pro_package(),
2009 'fields' => [],
2010 ]
2011 ),
2012 'account_add_payment_method' => apply_filters(
2013 'rtsb/elements/account_add_payment_method/options',
2014 [
2015 'id' => 'account_add_payment_method',
2016 'title' => esc_html__( 'Add Payment Method', 'shopbuilder' ),
2017 'category' => 'myaccount_dashboard',
2018 'is_front_page' => 'all_myaccount_dashboard_inner',
2019 'active' => 'on',
2020 'package' => $this->pro_package(),
2021 'fields' => [],
2022 ]
2023 ),
2024 ];
2025
2026 return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets );
2027 }
2028
2029 /***
2030 * @return array
2031 */
2032 protected function myaccount_auth_page_widget_list() {
2033 return [
2034 'account_login' => apply_filters(
2035 'rtsb/elements/account_login/options',
2036 [
2037 'id' => 'account_login',
2038 'title' => esc_html__( 'Login Register Form', 'shopbuilder' ),
2039 'category' => 'others_widget',
2040 'is_front_page' => 'myaccount_auth',
2041 'active' => 'on',
2042 'package' => $this->pro_package(),
2043 'fields' => [],
2044 ]
2045 ),
2046 'account_login_form' => apply_filters(
2047 'rtsb/elements/account_login_form/options',
2048 [
2049 'id' => 'account_login_form',
2050 'title' => esc_html__( 'Login Form', 'shopbuilder' ),
2051 'category' => 'others_widget',
2052 'is_front_page' => 'myaccount_auth',
2053 'active' => 'on',
2054 'package' => $this->pro_package(),
2055 'fields' => [],
2056 ]
2057 ),
2058 'account_registration_form' => apply_filters(
2059 'rtsb/elements/account_registration_form/options',
2060 [
2061 'id' => 'account_registration_form',
2062 'title' => esc_html__( 'Registration Form', 'shopbuilder' ),
2063 'category' => 'others_widget',
2064 'is_front_page' => 'myaccount_auth',
2065 'active' => 'on',
2066 'package' => $this->pro_package(),
2067 'fields' => [],
2068 ]
2069 ),
2070 'account_lost_password' => apply_filters(
2071 'rtsb/elements/account_lost_password/options',
2072 [
2073 'id' => 'account_lost_password',
2074 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ),
2075 'category' => 'others_widget',
2076 'is_front_page' => 'myaccount_auth',
2077 'active' => 'on',
2078 'package' => $this->pro_package(),
2079 'fields' => [],
2080 ]
2081 ),
2082 ];
2083 }
2084 }
2085