PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.5
ShopBuilder – WooCommerce Builder For Elementor v3.2.5
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Models/ElementList.php +776 -81 2.1.0 → 3.2.5 View file →
@@ -13,8 +13,9 @@
13 13 use RadiusTheme\SB\Elementor\Widgets\General;
14 14 use RadiusTheme\SB\Elementor\Widgets\Single;
15 15 use RadiusTheme\SB\Models\Base\ListModel;
16 16 use RadiusTheme\SB\Traits\SingletonTrait;
17 +use RadiusTheme\SBPRO\Elementor\Widgets\Checkout as CheckoutPro;
17 18
18 19 /**
19 20 * Elementor Element List
20 21 */
@@ -50,8 +51,11 @@
50 51 ],
51 52 'product' => [
52 53 'title' => esc_html__( 'Single', 'shopbuilder' ),
53 54 ],
55 + 'quick_view' => [
56 + 'title' => esc_html__( 'Quick View', 'shopbuilder' ),
57 + ],
54 58 'cart' => [
55 59 'title' => esc_html__( 'Cart', 'shopbuilder' ),
56 60 ],
57 61 'checkout' => [
@@ -57,15 +61,15 @@
57 61 'checkout' => [
58 62 'title' => esc_html__( 'Checkout', 'shopbuilder' ),
59 63 ],
60 64 'thank_you' => [
61 - 'title' => esc_html__( 'Order Received', 'shopbuilder-pro' ),
65 + 'title' => esc_html__( 'Order Received', 'shopbuilder' ),
62 66 ],
63 67 'myaccount_dashboard' => [
64 - 'title' => esc_html__( 'My Account', 'shopbuilder-pro' ),
68 + 'title' => esc_html__( 'My Account', 'shopbuilder' ),
65 69 ],
66 70 'others_widget' => [
67 - 'title' => esc_html__( 'Others', 'shopbuilder-pro' ),
71 + 'title' => esc_html__( 'Others', 'shopbuilder' ),
68 72 ],
69 73 ]
70 74 );
71 75 }
@@ -78,12 +82,14 @@
78 82 */
79 83 protected function raw_list() {
80 84 $list = $this->product_page_widget_list()
81 85 + $this->general_widget_list()
86 + + $this->product_quick_view()
82 87 + $this->shop_archive_page_widget_list()
83 88 + $this->cart_page_widget_list()
84 89 + $this->checkout_page_widget_list()
85 90 + $this->thankyou_page_widget_list()
91 + + $this->orderpay_page_widget_list()
86 92 + $this->my_account_page_widget_list()
87 93 + $this->myaccount_auth_page_widget_list();
88 94
89 95 return apply_filters( 'rtsb/core/elements/raw_list', $list );
@@ -119,9 +125,8 @@
119 125 'package' => 'free',
120 126 'fields' => [],
121 127 ]
122 128 ),
123 -
124 129 'products_slider' => apply_filters(
125 130 'rtsb/elements/products_slider/options',
126 131 [
127 132 'id' => 'products_slider',
@@ -132,9 +137,19 @@
132 137 'package' => 'free',
133 138 'fields' => [],
134 139 ]
135 140 ),
136 -
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 + ),
137 152 'products_single_cateogory' => apply_filters(
138 153 'rtsb/elements/products_single_cateogory/options',
139 154 [
140 155 'id' => 'products_single_cateogory',
@@ -157,8 +172,31 @@
157 172 'package' => 'free',
158 173 'fields' => [],
159 174 ]
160 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 + ),
161 199 'social_share' => apply_filters(
162 200 'rtsb/elements/social_share/options',
163 201 [
164 202 'id' => 'social_share',
@@ -193,14 +231,14 @@
193 231 'package' => 'free',
194 232 'fields' => [],
195 233 ]
196 234 ),
197 - 'rtsb_wishlist' => apply_filters(
198 - 'rtsb/elements/rtsb_wishlist/options',
235 + 'advanced_heading' => apply_filters(
236 + 'rtsb/elements/advanced_heading/options',
199 237 [
200 - 'id' => 'rtsb_wishlist',
201 - 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ),
202 - 'base_class' => General\Wishlist::class,
238 + 'id' => 'advanced_heading',
239 + 'title' => esc_html__( 'Advanced Heading', 'shopbuilder' ),
240 + 'base_class' => General\AdvancedHeading\AdvancedHeading::class,
203 241 'category' => 'general',
204 242 'active' => 'on',
205 243 'package' => 'free',
206 244 'fields' => [],
@@ -205,10 +243,256 @@
205 243 'package' => 'free',
206 244 'fields' => [],
207 245 ]
208 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 + 'advanced_ajax_search' => apply_filters(
473 + 'rtsb/elements/advanced_ajax_search/options',
474 + [
475 + 'id' => 'advanced_ajax_search',
476 + 'title' => esc_html__( 'Advanced Ajax Search', 'shopbuilder' ),
477 + 'category' => 'general',
478 + 'active' => '',
479 + 'package' => $this->pro_package(),
480 + 'fields' => [],
481 + ]
482 + ),
483 + 'save_for_buy_later' => apply_filters(
484 + 'rtsb/elements/save_for_buy_later/options',
485 + [
486 + 'id' => 'save_for_buy_later',
487 + 'title' => esc_html__( 'Saved For Buy Later', 'shopbuilder' ),
488 + 'category' => 'general',
489 + 'active' => '',
490 + 'package' => $this->pro_package(),
491 + 'fields' => [],
492 + ]
493 + ),
209 494 ];
210 -
211 495 return apply_filters( 'rtsb/core/elements/general/widget_list', $list );
212 496 }
213 497
214 498 /**
@@ -270,10 +554,10 @@
270 554 'product_onsale' => apply_filters(
271 555 'rtsb/elements/product_onsale/options',
272 556 [
273 557 'id' => 'product_onsale',
274 - 'title' => esc_html__( 'Sale Flash - Onsale', 'shopbuilder' ),
275 - 'base_class' => Single\ProductOnSale::class,
558 + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ),
559 + 'base_class' => Single\ProductBadges::class,
276 560 'category' => 'product',
277 561 'active' => 'on',
278 562 'package' => 'free',
279 563 'fields' => [],
@@ -414,9 +698,9 @@
414 698 'product_sales_count' => apply_filters(
415 699 'rtsb/elements/product_sales_count/options',
416 700 [
417 701 'id' => 'product_sales_count',
418 - 'title' => esc_html__( 'Sales Count', 'shopbuilder-pro' ),
702 + 'title' => esc_html__( 'Sales Count', 'shopbuilder' ),
419 703 'category' => 'product',
420 704 'active' => '',
421 705 'package' => $this->pro_package(),
422 706 'fields' => [],
@@ -421,13 +705,24 @@
421 705 'package' => $this->pro_package(),
422 706 'fields' => [],
423 707 ]
424 708 ),
709 + 'product_stock_counter' => apply_filters(
710 + 'rtsb/elements/product_stock_counter/options',
711 + [
712 + 'id' => 'product_stock_counter',
713 + 'title' => esc_html__( 'Product Stock Count', 'shopbuilder' ),
714 + 'category' => 'product',
715 + 'active' => '',
716 + 'package' => $this->pro_package(),
717 + 'fields' => [],
718 + ]
719 + ),
425 720 'flash_sale_countdown' => apply_filters(
426 721 'rtsb/elements/flash_sale_countdown/options',
427 722 [
428 723 'id' => 'flash_sale_countdown',
429 - 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder-pro' ),
724 + 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder' ),
430 725 'category' => 'product',
431 726 'active' => '',
432 727 'package' => $this->pro_package(),
433 728 'fields' => [],
@@ -436,9 +731,9 @@
436 731 'product_size_chart' => apply_filters(
437 732 'rtsb/elements/product_size_chart/options',
438 733 [
439 734 'id' => 'product_size_chart',
440 - 'title' => esc_html__( 'Size Chart', 'shopbuilder-pro' ),
735 + 'title' => esc_html__( 'Size Chart', 'shopbuilder' ),
441 736 'category' => 'product',
442 737 'active' => '',
443 738 'package' => $this->pro_package(),
444 739 'fields' => [],
@@ -447,9 +742,9 @@
447 742 'product_quick_checkout' => apply_filters(
448 743 'rtsb/elements/product_quick_checkout/options',
449 744 [
450 745 'id' => 'product_quick_checkout',
451 - 'title' => esc_html__( 'Quick Checkout', 'shopbuilder-pro' ),
746 + 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ),
452 747 'category' => 'product',
453 748 'active' => '',
454 749 'package' => $this->pro_package(),
455 750 'fields' => [],
@@ -466,13 +761,13 @@
466 761 'package' => 'free',
467 762 'fields' => [],
468 763 ]
469 764 ),
470 - 'advance_product_tabs' => apply_filters(
765 + 'advance_product_tabs' => apply_filters(
471 766 'rtsb/elements/advance_product_tabs/options',
472 767 [
473 768 'id' => 'advance_product_tabs',
474 - 'title' => esc_html__( 'Advanced Product Tabs', 'shopbuilder-pro' ),
769 + 'title' => esc_html__( 'Advanced Product Tabs', 'shopbuilder' ),
475 770 'category' => 'product',
476 771 'active' => '',
477 772 'package' => $this->pro_package(),
478 773 'fields' => [],
@@ -477,8 +772,19 @@
477 772 'package' => $this->pro_package(),
478 773 'fields' => [],
479 774 ]
480 775 ),
776 + 'product_qr_code' => apply_filters(
777 + 'rtsb/elements/product_qr_code/options',
778 + [
779 + 'id' => 'product_qr_code',
780 + 'title' => esc_html__( 'QR Code', 'shopbuilder' ),
781 + 'category' => 'product',
782 + 'active' => '',
783 + 'package' => $this->pro_package(),
784 + 'fields' => [],
785 + ]
786 + ),
481 787 'product_reviews' => apply_filters(
482 788 'rtsb/elements/product_reviews/options',
483 789 [
484 790 'id' => 'product_reviews',
@@ -567,8 +873,267 @@
567 873 return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list );
568 874 }
569 875
570 876 /**
877 + * Product Single Widget List.
878 + *
879 + * @return array
880 + */
881 + protected function product_quick_view() {
882 +
883 + $list = [
884 + 'qv_product_title' => apply_filters(
885 + 'rtsb/elements/qv_product_title/options',
886 + [
887 + 'id' => 'qv_product_title',
888 + 'title' => esc_html__( 'Product Title', 'shopbuilder' ),
889 + 'base_class' => Single\ProductTitle::class,
890 + 'category' => 'quick_view',
891 + 'is_front_page' => 'quick_view',
892 + 'active' => 'on',
893 + 'package' => $this->pro_package(),
894 + 'fields' => [],
895 + ]
896 + ),
897 + 'qv_product_description' => apply_filters(
898 + 'rtsb/elements/qv_product_description/options',
899 + [
900 + 'id' => 'qv_product_description',
901 + 'title' => esc_html__( 'Product Description', 'shopbuilder' ),
902 + 'base_class' => Single\ProductDescription::class,
903 + 'category' => 'quick_view',
904 + 'is_front_page' => 'quick_view',
905 + 'active' => 'on',
906 + 'package' => $this->pro_package(),
907 + 'fields' => [],
908 + ]
909 + ),
910 + 'qv_product_short_description' => apply_filters(
911 + 'rtsb/elements/qv_product_short_description/options',
912 + [
913 + 'id' => 'qv_product_short_description',
914 + 'title' => esc_html__( 'Short Description', 'shopbuilder' ),
915 + 'base_class' => Single\ShortDescription::class,
916 + 'category' => 'quick_view',
917 + 'is_front_page' => 'quick_view',
918 + 'active' => 'on',
919 + 'package' => $this->pro_package(),
920 + 'fields' => [],
921 + ]
922 + ),
923 + 'qv_product_images' => apply_filters(
924 + 'rtsb/elements/qv_product_images/options',
925 + [
926 + 'id' => 'qv_product_images',
927 + 'title' => esc_html__( 'Product Images', 'shopbuilder' ),
928 + 'base_class' => Single\ProductImages::class,
929 + 'category' => 'quick_view',
930 + 'is_front_page' => 'quick_view',
931 + 'active' => 'on',
932 + 'package' => $this->pro_package(),
933 + 'fields' => [],
934 + ]
935 + ),
936 + 'qv_product_badges' => apply_filters(
937 + 'rtsb/elements/qv_product_badges/options',
938 + [
939 + 'id' => 'qv_product_badges',
940 + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ),
941 + 'base_class' => Single\ProductBadges::class,
942 + 'category' => 'quick_view',
943 + 'is_front_page' => 'quick_view',
944 + 'active' => 'on',
945 + 'package' => $this->pro_package(),
946 + 'fields' => [],
947 + ]
948 + ),
949 + 'qv_product_additional_info' => apply_filters(
950 + 'rtsb/elements/qv_product_additional_info/options',
951 + [
952 + 'id' => 'qv_product_additional_info',
953 + 'title' => esc_html__( 'Additional Information', 'shopbuilder' ),
954 + 'base_class' => Single\AdditionalInformation::class,
955 + 'category' => 'quick_view',
956 + 'is_front_page' => 'quick_view',
957 + 'active' => 'on',
958 + 'package' => $this->pro_package(),
959 + 'fields' => [],
960 + ]
961 + ),
962 + 'qv_product_price' => apply_filters(
963 + 'rtsb/elements/qv_product_price/options',
964 + [
965 + 'id' => 'qv_product_price',
966 + 'title' => esc_html__( 'Product Price', 'shopbuilder' ),
967 + 'base_class' => Single\ProductPrice::class,
968 + 'category' => 'quick_view',
969 + 'is_front_page' => 'quick_view',
970 + 'active' => 'on',
971 + 'package' => $this->pro_package(),
972 + 'fields' => [],
973 + ]
974 + ),
975 + 'qv_product_meta' => apply_filters(
976 + 'rtsb/elements/qv_product_meta/options',
977 + [
978 + 'id' => 'qv_product_meta',
979 + 'title' => esc_html__( 'Product Meta', 'shopbuilder' ),
980 + 'base_class' => Single\ProductMeta::class,
981 + 'category' => 'quick_view',
982 + 'is_front_page' => 'quick_view',
983 + 'active' => 'on',
984 + 'package' => $this->pro_package(),
985 + 'fields' => [],
986 + ]
987 + ),
988 + 'qv_product_categories' => apply_filters(
989 + 'rtsb/elements/qv_product_categories/options',
990 + [
991 + 'id' => 'qv_product_categories',
992 + 'title' => esc_html__( 'Product Categories', 'shopbuilder' ),
993 + 'base_class' => Single\ProductCats::class,
994 + 'category' => 'quick_view',
995 + 'is_front_page' => 'quick_view',
996 + 'active' => 'on',
997 + 'package' => $this->pro_package(),
998 + 'fields' => [],
999 + ]
1000 + ),
1001 + 'qv_product_rating' => apply_filters(
1002 + 'rtsb/elements/qv_product_rating/options',
1003 + [
1004 + 'id' => 'qv_product_rating',
1005 + 'title' => esc_html__( 'Product Rating', 'shopbuilder' ),
1006 + 'base_class' => Single\ProductRating::class,
1007 + 'category' => 'quick_view',
1008 + 'is_front_page' => 'quick_view',
1009 + 'active' => 'on',
1010 + 'package' => $this->pro_package(),
1011 + 'fields' => [],
1012 + ]
1013 + ),
1014 + 'qv_product_tags' => apply_filters(
1015 + 'rtsb/elements/qv_product_tags/options',
1016 + [
1017 + 'id' => 'qv_product_tags',
1018 + 'title' => esc_html__( 'Product Tags', 'shopbuilder' ),
1019 + 'base_class' => Single\ProductTags::class,
1020 + 'category' => 'quick_view',
1021 + 'is_front_page' => 'quick_view',
1022 + 'active' => 'on',
1023 + 'package' => $this->pro_package(),
1024 + 'fields' => [],
1025 + ]
1026 + ),
1027 + 'qv_product_sku' => apply_filters(
1028 + 'rtsb/elements/qv_product_sku/options',
1029 + [
1030 + 'id' => 'qv_product_sku',
1031 + 'title' => esc_html__( 'Product SKU', 'shopbuilder' ),
1032 + 'base_class' => Single\ProductSKU::class,
1033 + 'category' => 'quick_view',
1034 + 'is_front_page' => 'quick_view',
1035 + 'active' => 'on',
1036 + 'package' => $this->pro_package(),
1037 + 'fields' => [],
1038 + ]
1039 + ),
1040 + 'qv_product_stock' => apply_filters(
1041 + 'rtsb/elements/qv_product_stock/options',
1042 + [
1043 + 'id' => 'qv_product_stock',
1044 + 'title' => esc_html__( 'Product Stock', 'shopbuilder' ),
1045 + 'base_class' => Single\ProductStock::class,
1046 + 'category' => 'quick_view',
1047 + 'is_front_page' => 'quick_view',
1048 + 'active' => 'on',
1049 + 'package' => $this->pro_package(),
1050 + 'fields' => [],
1051 + ]
1052 + ),
1053 + 'qv_actions_button' => apply_filters(
1054 + 'rtsb/elements/qv_actions_button/options',
1055 + [
1056 + 'id' => 'qv_actions_button',
1057 + 'title' => esc_html__( 'Action Buttons', 'shopbuilder' ),
1058 + 'base_class' => Single\ActionsButton::class,
1059 + 'category' => 'quick_view',
1060 + 'is_front_page' => 'quick_view',
1061 + 'active' => 'on',
1062 + 'package' => $this->pro_package(),
1063 + 'fields' => [],
1064 + ]
1065 + ),
1066 + 'qv_product_add_to_cart' => apply_filters(
1067 + 'rtsb/elements/qv_product_add_to_cart/options',
1068 + [
1069 + 'id' => 'qv_product_add_to_cart',
1070 + 'title' => esc_html__( 'Add to Cart', 'shopbuilder' ),
1071 + 'base_class' => Single\ProductAddToCart::class,
1072 + 'category' => 'quick_view',
1073 + 'is_front_page' => 'quick_view',
1074 + 'active' => 'on',
1075 + 'package' => $this->pro_package(),
1076 + 'fields' => [],
1077 + ]
1078 + ),
1079 + 'qv_product_sales_count' => apply_filters(
1080 + 'rtsb/elements/qv_product_sales_count/options',
1081 + [
1082 + 'id' => 'qv_product_sales_count',
1083 + 'title' => esc_html__( 'Sales Count', 'shopbuilder' ),
1084 + 'category' => 'quick_view',
1085 + 'is_front_page' => 'quick_view',
1086 + 'active' => 'on',
1087 + 'package' => $this->pro_package(),
1088 + 'fields' => [],
1089 + ]
1090 + ),
1091 + 'qv_social_share' => apply_filters(
1092 + 'rtsb/settings/qv_social_share/options',
1093 + [
1094 + 'id' => 'qv_social_share',
1095 + 'title' => esc_html__( 'Social Share', 'shopbuilder' ),
1096 + 'base_class' => General\SocialShare::class,
1097 + 'active' => 'on',
1098 + 'category' => 'quick_view',
1099 + 'is_front_page' => 'quick_view',
1100 + 'package' => $this->pro_package(),
1101 + 'fields' => [],
1102 + ]
1103 + ),
1104 + 'qv_product_quick_checkout' => apply_filters(
1105 + 'rtsb/elements/qv_product_quick_checkout/options',
1106 + [
1107 + 'id' => 'qv_product_quick_checkout',
1108 + 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ),
1109 + 'category' => 'quick_view',
1110 + 'is_front_page' => 'quick_view',
1111 + 'active' => 'on',
1112 + 'package' => $this->pro_package(),
1113 + 'fields' => [],
1114 + ]
1115 + ),
1116 +
1117 + 'qv_product_size_chart' => apply_filters(
1118 + 'rtsb/elements/qv_product_size_chart/options',
1119 + [
1120 + 'id' => 'qv_product_size_chart',
1121 + 'title' => esc_html__( 'Size Chart', 'shopbuilder' ),
1122 + 'category' => 'quick_view',
1123 + 'is_front_page' => 'quick_view',
1124 + 'active' => '',
1125 + 'package' => $this->pro_package(),
1126 + 'fields' => [],
1127 + ]
1128 + ),
1129 +
1130 + ];
1131 +
1132 + return apply_filters( 'rtsb/core/elements/quick_view/widget_list', $list );
1133 + }
1134 +
1135 + /**
571 1136 * Product Archive Widget List.
572 1137 *
573 1138 * @return array
574 1139 */
@@ -629,9 +1194,9 @@
629 1194 'ajax_product_filters' => apply_filters(
630 1195 'rtsb/elements/ajax_product_filters/options',
631 1196 [
632 1197 'id' => 'ajax_product_filters',
633 - 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder-pro' ),
1198 + 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder' ),
634 1199 'category' => 'shop',
635 1200 'active' => 'on',
636 1201 'package' => $this->pro_package(),
637 1202 'fields' => [],
@@ -636,8 +1201,20 @@
636 1201 'package' => $this->pro_package(),
637 1202 'fields' => [],
638 1203 ]
639 1204 ),
1205 + 'product_filters' => apply_filters(
1206 + 'rtsb/elements/product_filters/options',
1207 + [
1208 + 'id' => 'product_filters',
1209 + 'title' => esc_html__( 'Product Filters', 'shopbuilder' ),
1210 + 'base_class' => Archive\ProductFilters::class,
1211 + 'category' => 'shop',
1212 + 'active' => 'on',
1213 + 'package' => 'free',
1214 + 'fields' => [],
1215 + ]
1216 + ),
640 1217
641 1218 'archive_result_count' => apply_filters(
642 1219 'rtsb/elements/archive_result_count/options',
643 1220 [
@@ -756,8 +1333,20 @@
756 1333 'package' => 'free',
757 1334 'fields' => [],
758 1335 ]
759 1336 ),
1337 + 'save_for_later_preview' => apply_filters(
1338 + 'rtsb/elements/save_for_later_preview/options',
1339 + [
1340 + 'id' => 'save_for_later_preview',
1341 + 'title' => esc_html__( 'Save For Later Preview', 'shopbuilder' ),
1342 + 'base_class' => Cart\SaveForLaterPreview::class,
1343 + 'category' => 'cart',
1344 + 'active' => 'on',
1345 + 'package' => $this->pro_package(),
1346 + 'fields' => [],
1347 + ]
1348 + ),
760 1349 ];
761 1350
762 1351 return apply_filters( 'rtsb/core/elements/cart/widget_list', $list );
763 1352 }
@@ -768,9 +1357,9 @@
768 1357 * @return array
769 1358 */
770 1359 protected function checkout_page_widget_list() {
771 1360 $list = [
772 - 'billing_form' => apply_filters(
1361 + 'billing_form' => apply_filters(
773 1362 'rtsb/elements/billing_form/options',
774 1363 [
775 1364 'id' => 'billing_form',
776 1365 'title' => esc_html__( 'Billing Form', 'shopbuilder' ),
@@ -780,9 +1369,9 @@
780 1369 'package' => 'free',
781 1370 'fields' => [],
782 1371 ]
783 1372 ),
784 - 'shipping_form' => apply_filters(
1373 + 'shipping_form' => apply_filters(
785 1374 'rtsb/elements/shipping_form/options',
786 1375 [
787 1376 'id' => 'shipping_form',
788 1377 'title' => esc_html__( 'Shipping Form', 'shopbuilder' ),
@@ -792,9 +1381,9 @@
792 1381 'package' => 'free',
793 1382 'fields' => [],
794 1383 ]
795 1384 ),
796 - 'order_notes' => apply_filters(
1385 + 'order_notes' => apply_filters(
797 1386 'rtsb/elements/order_notes/options',
798 1387 [
799 1388 'id' => 'order_notes',
800 1389 'title' => esc_html__( 'Order Notes', 'shopbuilder' ),
@@ -804,9 +1393,9 @@
804 1393 'package' => 'free',
805 1394 'fields' => [],
806 1395 ]
807 1396 ),
808 - 'order_review' => apply_filters(
1397 + 'order_review' => apply_filters(
809 1398 'rtsb/elements/order_review/options',
810 1399 [
811 1400 'id' => 'order_review',
812 1401 'title' => esc_html__( 'Order Review', 'shopbuilder' ),
@@ -816,9 +1405,9 @@
816 1405 'package' => 'free',
817 1406 'fields' => [],
818 1407 ]
819 1408 ),
820 - 'checkout_payment' => apply_filters(
1409 + 'checkout_payment' => apply_filters(
821 1410 'rtsb/elements/checkout_payment/options',
822 1411 [
823 1412 'id' => 'checkout_payment',
824 1413 'title' => esc_html__( 'Checkout Payment Method', 'shopbuilder' ),
@@ -828,9 +1417,9 @@
828 1417 'package' => 'free',
829 1418 'fields' => [],
830 1419 ]
831 1420 ),
832 - 'coupon_form' => apply_filters(
1421 + 'coupon_form' => apply_filters(
833 1422 'rtsb/elements/coupon_form/options',
834 1423 [
835 1424 'id' => 'coupon_form',
836 1425 'title' => esc_html__( 'Coupon Form', 'shopbuilder' ),
@@ -840,9 +1429,9 @@
840 1429 'package' => 'free',
841 1430 'fields' => [],
842 1431 ]
843 1432 ),
844 - 'checkout_login_form' => apply_filters(
1433 + 'checkout_login_form' => apply_filters(
845 1434 'rtsb/elements/checkout_login_form/options',
846 1435 [
847 1436 'id' => 'checkout_login_form',
848 1437 'title' => esc_html__( 'Login Form', 'shopbuilder' ),
@@ -852,10 +1441,9 @@
852 1441 'package' => 'free',
853 1442 'fields' => [],
854 1443 ]
855 1444 ),
856 -
857 - 'shipping_method' => apply_filters(
1445 + 'shipping_method' => apply_filters(
858 1446 'rtsb/elements/shipping_method/options',
859 1447 [
860 1448 'id' => 'shipping_method',
861 1449 'title' => esc_html__( 'Shipping Method', 'shopbuilder' ),
@@ -865,8 +1453,20 @@
865 1453 'package' => 'free',
866 1454 'fields' => [],
867 1455 ]
868 1456 ),
1457 + 'multi_step_checkout_widget' => apply_filters(
1458 + 'rtsb/elements/multi_step_checkout_widget/options',
1459 + [
1460 + 'id' => 'multi_step_checkout_widget',
1461 + 'title' => esc_html__( 'Multi Step Checkout', 'shopbuilder' ),
1462 + 'base_class' => CheckoutPro\MultiStepCheckout::class,
1463 + 'category' => 'checkout',
1464 + 'active' => '',
1465 + 'package' => $this->pro_package(),
1466 + 'fields' => [],
1467 + ]
1468 + ),
869 1469
870 1470 ];
871 1471
872 1472 return apply_filters( 'rtsb/core/elements/checkout/widget_list', $list );
@@ -878,13 +1478,13 @@
878 1478 * @return array
879 1479 */
880 1480 protected function thankyou_page_widget_list() {
881 1481 return [
882 - 'order_received_text' => apply_filters(
1482 + 'order_received_text' => apply_filters(
883 1483 'rtsb/elements/order_received_text/options',
884 1484 [
885 1485 'id' => 'order_received_text',
886 - 'title' => esc_html__( 'Order Received Text', 'shopbuilder-pro' ),
1486 + 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ),
887 1487 'category' => 'thank_you',
888 1488 'is_front_page' => 'thank_you',
889 1489 'active' => 'on',
890 1490 'package' => $this->pro_package(),
@@ -890,13 +1490,13 @@
890 1490 'package' => $this->pro_package(),
891 1491 'fields' => [],
892 1492 ]
893 1493 ),
894 - 'order_details_summary' => apply_filters(
1494 + 'order_details_summary' => apply_filters(
895 1495 'rtsb/elements/order_details_summary/options',
896 1496 [
897 1497 'id' => 'order_details_summary',
898 - 'title' => esc_html__( 'Order Details Summary', 'shopbuilder-pro' ),
1498 + 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ),
899 1499 'category' => 'thank_you',
900 1500 'is_front_page' => 'thank_you',
901 1501 'active' => 'on',
902 1502 'package' => $this->pro_package(),
@@ -902,13 +1502,13 @@
902 1502 'package' => $this->pro_package(),
903 1503 'fields' => [],
904 1504 ]
905 1505 ),
906 - 'order_details_table' => apply_filters(
1506 + 'order_details_table' => apply_filters(
907 1507 'rtsb/elements/order_details_table/options',
908 1508 [
909 1509 'id' => 'order_details_table',
910 - 'title' => esc_html__( 'Order Details Table', 'shopbuilder-pro' ),
1510 + 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ),
911 1511 'category' => 'thank_you',
912 1512 'is_front_page' => 'thank_you',
913 1513 'active' => 'on',
914 1514 'package' => $this->pro_package(),
@@ -914,13 +1514,13 @@
914 1514 'package' => $this->pro_package(),
915 1515 'fields' => [],
916 1516 ]
917 1517 ),
918 - 'downloadable_products' => apply_filters(
1518 + 'downloadable_products' => apply_filters(
919 1519 'rtsb/elements/downloadable_products/options',
920 1520 [
921 1521 'id' => 'downloadable_products',
922 - 'title' => esc_html__( 'Downloadable Products', 'shopbuilder-pro' ),
1522 + 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ),
923 1523 'category' => 'thank_you',
924 1524 'is_front_page' => 'thank_you',
925 1525 'active' => 'on',
926 1526 'package' => $this->pro_package(),
@@ -926,13 +1526,13 @@
926 1526 'package' => $this->pro_package(),
927 1527 'fields' => [],
928 1528 ]
929 1529 ),
930 - 'order_billing_address' => apply_filters(
1530 + 'order_billing_address' => apply_filters(
931 1531 'rtsb/elements/order_billing_address/options',
932 1532 [
933 1533 'id' => 'order_billing_address',
934 - 'title' => esc_html__( 'Order Billing Address', 'shopbuilder-pro' ),
1534 + 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ),
935 1535 'category' => 'thank_you',
936 1536 'is_front_page' => 'thank_you',
937 1537 'active' => 'on',
938 1538 'package' => $this->pro_package(),
@@ -938,13 +1538,13 @@
938 1538 'package' => $this->pro_package(),
939 1539 'fields' => [],
940 1540 ]
941 1541 ),
942 - 'order_shipping_address' => apply_filters(
1542 + 'order_shipping_address' => apply_filters(
943 1543 'rtsb/elements/order_shipping_address/options',
944 1544 [
945 1545 'id' => 'order_shipping_address',
946 - 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder-pro' ),
1546 + 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ),
947 1547 'category' => 'thank_you',
948 1548 'is_front_page' => 'thank_you',
949 1549 'active' => 'on',
950 1550 'package' => $this->pro_package(),
@@ -950,11 +1550,45 @@
950 1550 'package' => $this->pro_package(),
951 1551 'fields' => [],
952 1552 ]
953 1553 ),
1554 + 'order_custom_fields_data' => apply_filters(
1555 + 'rtsb/elements/order_custom_fields_data/options',
1556 + [
1557 + 'id' => 'order_custom_fields_data',
1558 + 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ),
1559 + 'category' => 'thank_you',
1560 + 'is_front_page' => 'thank_you',
1561 + 'active' => 'on',
1562 + 'package' => $this->pro_package(),
1563 + 'fields' => [],
1564 + ]
1565 + ),
954 1566 ];
955 1567 }
1568 + /**
1569 + * Checkout Page Order Pay Widget List.
1570 + *
1571 + * @return array
1572 + */
1573 + protected function orderpay_page_widget_list() {
1574 + return [
1575 + 'order_pay_form' => apply_filters(
1576 + 'rtsb/elements/order_pay_form/options',
1577 + [
1578 + 'id' => 'order_pay_form',
1579 + 'title' => esc_html__( 'Order Pay Form', 'shopbuilder' ),
1580 + 'category' => 'myaccount_dashboard',
1581 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1582 + 'active' => 'on',
1583 + 'package' => $this->pro_package(),
1584 + 'fields' => [],
1585 + ]
1586 + ),
956 1587
1588 + ];
1589 + }
1590 +
957 1591 /**
958 1592 * Checkout Page Widget List.
959 1593 *
960 1594 * @return array
@@ -959,15 +1593,26 @@
959 1593 *
960 1594 * @return array
961 1595 */
962 1596 protected function my_account_page_widget_list() {
963 - return [
964 -
1597 + $widgets = [
1598 + 'account_avatar' => apply_filters(
1599 + 'rtsb/elements/account_avatar/options',
1600 + [
1601 + 'id' => 'account_avatar',
1602 + 'title' => esc_html__( 'Account Avatar', 'shopbuilder' ),
1603 + 'category' => 'myaccount_dashboard',
1604 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1605 + 'active' => 'on',
1606 + 'package' => $this->pro_package(),
1607 + 'fields' => [],
1608 + ]
1609 + ),
965 1610 'account_navigation_edit_shipping' => apply_filters(
966 1611 'rtsb/elements/account_navigation_edit_shipping/options',
967 1612 [
968 1613 'id' => 'account_navigation_edit_shipping',
969 - 'title' => esc_html__( 'Account Navigation', 'shopbuilder-pro' ),
1614 + 'title' => esc_html__( 'Account Navigation', 'shopbuilder' ),
970 1615 'category' => 'myaccount_dashboard',
971 1616 'is_front_page' => 'all_myaccount_dashboard_inner',
972 1617 'active' => 'on',
973 1618 'package' => $this->pro_package(),
@@ -977,11 +1622,11 @@
977 1622 'account_dashboard' => apply_filters(
978 1623 'rtsb/elements/account_dashboard/options',
979 1624 [
980 1625 'id' => 'account_dashboard',
981 - 'title' => esc_html__( 'Account Dashboard', 'shopbuilder-pro' ),
1626 + 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ),
982 1627 'category' => 'myaccount_dashboard',
983 - 'is_front_page' => 'myaccount_dashboard',
1628 + 'is_front_page' => 'all_myaccount_dashboard_inner',
984 1629 'active' => 'on',
985 1630 'package' => $this->pro_package(),
986 1631 'fields' => [],
987 1632 ]
@@ -989,11 +1634,11 @@
989 1634 'account_orders' => apply_filters(
990 1635 'rtsb/elements/account_orders/options',
991 1636 [
992 1637 'id' => 'account_orders',
993 - 'title' => esc_html__( 'Account Orders', 'shopbuilder-pro' ),
1638 + 'title' => esc_html__( 'Account Orders', 'shopbuilder' ),
994 1639 'category' => 'myaccount_dashboard',
995 - 'is_front_page' => 'myaccount_order',
1640 + 'is_front_page' => 'all_myaccount_dashboard_inner',
996 1641 'active' => 'on',
997 1642 'package' => $this->pro_package(),
998 1643 'fields' => [],
999 1644 ]
@@ -1001,11 +1646,11 @@
1001 1646 'account_downloads' => apply_filters(
1002 1647 'rtsb/elements/account_downloads/options',
1003 1648 [
1004 1649 'id' => 'account_downloads',
1005 - 'title' => esc_html__( 'Account Downloads', 'shopbuilder-pro' ),
1650 + 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ),
1006 1651 'category' => 'myaccount_dashboard',
1007 - 'is_front_page' => 'myaccount_downloads',
1652 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1008 1653 'active' => 'on',
1009 1654 'package' => $this->pro_package(),
1010 1655 'fields' => [],
1011 1656 ]
@@ -1013,11 +1658,11 @@
1013 1658 'account_billing_address' => apply_filters(
1014 1659 'rtsb/elements/account_billing_address/options',
1015 1660 [
1016 1661 'id' => 'account_billing_address',
1017 - 'title' => esc_html__( 'Account Billing Address', 'shopbuilder-pro' ),
1662 + 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ),
1018 1663 'category' => 'myaccount_dashboard',
1019 - 'is_front_page' => 'myaccount_address',
1664 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1020 1665 'active' => 'on',
1021 1666 'package' => $this->pro_package(),
1022 1667 'fields' => [],
1023 1668 ]
@@ -1025,11 +1670,11 @@
1025 1670 'account_shipping_address' => apply_filters(
1026 1671 'rtsb/elements/account_shipping_address/options',
1027 1672 [
1028 1673 'id' => 'account_shipping_address',
1029 - 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder-pro' ),
1674 + 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ),
1030 1675 'category' => 'myaccount_dashboard',
1031 - 'is_front_page' => 'myaccount_address',
1676 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1032 1677 'active' => 'on',
1033 1678 'package' => $this->pro_package(),
1034 1679 'fields' => [],
1035 1680 ]
@@ -1037,11 +1682,11 @@
1037 1682 'account_address_description' => apply_filters(
1038 1683 'rtsb/elements/account_address_description/options',
1039 1684 [
1040 1685 'id' => 'account_address_description',
1041 - 'title' => esc_html__( 'Account Address Description', 'shopbuilder-pro' ),
1686 + 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ),
1042 1687 'category' => 'myaccount_dashboard',
1043 - 'is_front_page' => 'myaccount_address',
1688 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1044 1689 'active' => 'on',
1045 1690 'package' => $this->pro_package(),
1046 1691 'fields' => [],
1047 1692 ]
@@ -1049,11 +1694,11 @@
1049 1694 'account_details' => apply_filters(
1050 1695 'rtsb/elements/account_details/options',
1051 1696 [
1052 1697 'id' => 'account_details',
1053 - 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder-pro' ),
1698 + 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ),
1054 1699 'category' => 'myaccount_dashboard',
1055 - 'is_front_page' => 'myaccount_edit_details',
1700 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1056 1701 'active' => 'on',
1057 1702 'package' => $this->pro_package(),
1058 1703 'fields' => [],
1059 1704 ]
@@ -1061,11 +1706,11 @@
1061 1706 'account_order_status' => apply_filters(
1062 1707 'rtsb/elements/account_order_status/options',
1063 1708 [
1064 1709 'id' => 'account_order_status',
1065 - 'title' => esc_html__( 'Account Order Status', 'shopbuilder-pro' ),
1710 + 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ),
1066 1711 'category' => 'myaccount_dashboard',
1067 - 'is_front_page' => 'myaccount_orders_details',
1712 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1068 1713 'active' => 'on',
1069 1714 'package' => $this->pro_package(),
1070 1715 'fields' => [],
1071 1716 ]
@@ -1073,11 +1718,11 @@
1073 1718 'account_order_details_download' => apply_filters(
1074 1719 'rtsb/elements/account_order_details_download/options',
1075 1720 [
1076 1721 'id' => 'account_order_details_download',
1077 - 'title' => esc_html__( 'Account Order Download', 'shopbuilder-pro' ),
1722 + 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ),
1078 1723 'category' => 'myaccount_dashboard',
1079 - 'is_front_page' => 'myaccount_orders_details',
1724 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1080 1725 'active' => 'on',
1081 1726 'package' => $this->pro_package(),
1082 1727 'fields' => [],
1083 1728 ]
@@ -1085,11 +1730,11 @@
1085 1730 'account_order_details_note' => apply_filters(
1086 1731 'rtsb/elements/account_order_details_note/options',
1087 1732 [
1088 1733 'id' => 'account_order_details_note',
1089 - 'title' => esc_html__( 'Account Order Note', 'shopbuilder-pro' ),
1734 + 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ),
1090 1735 'category' => 'myaccount_dashboard',
1091 - 'is_front_page' => 'myaccount_orders_details',
1736 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1092 1737 'active' => 'on',
1093 1738 'package' => $this->pro_package(),
1094 1739 'fields' => [],
1095 1740 ]
@@ -1097,11 +1742,11 @@
1097 1742 'account_order_details_table' => apply_filters(
1098 1743 'rtsb/elements/account_order_details_table/options',
1099 1744 [
1100 1745 'id' => 'account_order_details_table',
1101 - 'title' => esc_html__( 'Account Order Table', 'shopbuilder-pro' ),
1746 + 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ),
1102 1747 'category' => 'myaccount_dashboard',
1103 - 'is_front_page' => 'myaccount_orders_details',
1748 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1104 1749 'active' => 'on',
1105 1750 'package' => $this->pro_package(),
1106 1751 'fields' => [],
1107 1752 ]
@@ -1109,11 +1754,11 @@
1109 1754 'account_order_details_order_again' => apply_filters(
1110 1755 'rtsb/elements/account_order_details_order_again/options',
1111 1756 [
1112 1757 'id' => 'account_order_details_order_again',
1113 - 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder-pro' ),
1758 + 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ),
1114 1759 'category' => 'myaccount_dashboard',
1115 - 'is_front_page' => 'myaccount_orders_details',
1760 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1116 1761 'active' => 'on',
1117 1762 'package' => $this->pro_package(),
1118 1763 'fields' => [],
1119 1764 ]
@@ -1121,11 +1766,11 @@
1121 1766 'account_order_details_order_shipping' => apply_filters(
1122 1767 'rtsb/elements/account_order_details_order_shipping/options',
1123 1768 [
1124 1769 'id' => 'account_order_details_order_shipping',
1125 - 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder-pro' ),
1770 + 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ),
1126 1771 'category' => 'myaccount_dashboard',
1127 - 'is_front_page' => 'myaccount_orders_details',
1772 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1128 1773 'active' => 'on',
1129 1774 'package' => $this->pro_package(),
1130 1775 'fields' => [],
1131 1776 ]
@@ -1133,11 +1778,11 @@
1133 1778 'account_order_details_order_billing' => apply_filters(
1134 1779 'rtsb/elements/account_order_details_order_billing/options',
1135 1780 [
1136 1781 'id' => 'account_order_details_order_billing',
1137 - 'title' => esc_html__( 'Account Order Billing', 'shopbuilder-pro' ),
1782 + 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ),
1138 1783 'category' => 'myaccount_dashboard',
1139 - 'is_front_page' => 'myaccount_orders_details',
1784 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1140 1785 'active' => 'on',
1141 1786 'package' => $this->pro_package(),
1142 1787 'fields' => [],
1143 1788 ]
@@ -1145,11 +1790,11 @@
1145 1790 'account_edit_billing_address' => apply_filters(
1146 1791 'rtsb/elements/account_edit_billing_address/options',
1147 1792 [
1148 1793 'id' => 'account_edit_billing_address',
1149 - 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder-pro' ),
1794 + 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ),
1150 1795 'category' => 'myaccount_dashboard',
1151 - 'is_front_page' => 'myaccount_edit_billing_address',
1796 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1152 1797 'active' => 'on',
1153 1798 'package' => $this->pro_package(),
1154 1799 'fields' => [],
1155 1800 ]
@@ -1157,17 +1802,43 @@
1157 1802 'account_edit_shipping_address' => apply_filters(
1158 1803 'rtsb/elements/account_edit_shipping_address/options',
1159 1804 [
1160 1805 'id' => 'account_edit_shipping_address',
1161 - 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder-pro' ),
1806 + 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ),
1162 1807 'category' => 'myaccount_dashboard',
1163 - 'is_front_page' => 'myaccount_edit_shipping_address',
1808 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1164 1809 'active' => 'on',
1165 1810 'package' => $this->pro_package(),
1166 1811 'fields' => [],
1167 1812 ]
1168 1813 ),
1814 + 'account_payment_methods' => apply_filters(
1815 + 'rtsb/elements/account_payment_methods/options',
1816 + [
1817 + 'id' => 'account_payment_methods',
1818 + 'title' => esc_html__( 'Payment Methods', 'shopbuilder' ),
1819 + 'category' => 'myaccount_dashboard',
1820 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1821 + 'active' => 'on',
1822 + 'package' => $this->pro_package(),
1823 + 'fields' => [],
1824 + ]
1825 + ),
1826 + 'account_add_payment_method' => apply_filters(
1827 + 'rtsb/elements/account_add_payment_method/options',
1828 + [
1829 + 'id' => 'account_add_payment_method',
1830 + 'title' => esc_html__( 'Add Payment Method', 'shopbuilder' ),
1831 + 'category' => 'myaccount_dashboard',
1832 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1833 + 'active' => 'on',
1834 + 'package' => $this->pro_package(),
1835 + 'fields' => [],
1836 + ]
1837 + ),
1169 1838 ];
1839 +
1840 + return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets );
1170 1841 }
1171 1842
1172 1843 /***
1173 1844 * @return array
@@ -1173,13 +1844,13 @@
1173 1844 * @return array
1174 1845 */
1175 1846 protected function myaccount_auth_page_widget_list() {
1176 1847 return [
1177 - 'account_login' => apply_filters(
1848 + 'account_login' => apply_filters(
1178 1849 'rtsb/elements/account_login/options',
1179 1850 [
1180 1851 'id' => 'account_login',
1181 - 'title' => esc_html__( 'Login Register Form', 'shopbuilder-pro' ),
1852 + 'title' => esc_html__( 'Login Register Form', 'shopbuilder' ),
1182 1853 'category' => 'others_widget',
1183 1854 'is_front_page' => 'myaccount_auth',
1184 1855 'active' => 'on',
1185 1856 'package' => $this->pro_package(),
@@ -1185,15 +1856,39 @@
1185 1856 'package' => $this->pro_package(),
1186 1857 'fields' => [],
1187 1858 ]
1188 1859 ),
1189 - 'account_lost_password' => apply_filters(
1860 + 'account_login_form' => apply_filters(
1861 + 'rtsb/elements/account_login_form/options',
1862 + [
1863 + 'id' => 'account_login_form',
1864 + 'title' => esc_html__( 'Login Form', 'shopbuilder' ),
1865 + 'category' => 'others_widget',
1866 + 'is_front_page' => 'myaccount_auth',
1867 + 'active' => 'on',
1868 + 'package' => $this->pro_package(),
1869 + 'fields' => [],
1870 + ]
1871 + ),
1872 + 'account_registration_form' => apply_filters(
1873 + 'rtsb/elements/account_registration_form/options',
1874 + [
1875 + 'id' => 'account_registration_form',
1876 + 'title' => esc_html__( 'Registration Form', 'shopbuilder' ),
1877 + 'category' => 'others_widget',
1878 + 'is_front_page' => 'myaccount_auth',
1879 + 'active' => 'on',
1880 + 'package' => $this->pro_package(),
1881 + 'fields' => [],
1882 + ]
1883 + ),
1884 + 'account_lost_password' => apply_filters(
1190 1885 'rtsb/elements/account_lost_password/options',
1191 1886 [
1192 1887 'id' => 'account_lost_password',
1193 - 'title' => esc_html__( 'Lost Password Form', 'shopbuilder-pro' ),
1888 + 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ),
1194 1889 'category' => 'others_widget',
1195 - 'is_front_page' => 'myaccount_lost_password',
1890 + 'is_front_page' => 'myaccount_auth',
1196 1891 'active' => 'on',
1197 1892 'package' => $this->pro_package(),
1198 1893 'fields' => [],
1199 1894 ]