PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.0.2
ShopBuilder – WooCommerce Builder For Elementor v2.0.2
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Models/ElementList.php +65 -400 2.2.12.0.2 View file →
@@ -11,12 +11,10 @@
11 11 use RadiusTheme\SB\Elementor\Widgets\Cart;
12 12 use RadiusTheme\SB\Elementor\Widgets\Checkout;
13 13 use RadiusTheme\SB\Elementor\Widgets\General;
14 14 use RadiusTheme\SB\Elementor\Widgets\Single;
15 -use RadiusTheme\SB\Helpers\Fns;
16 15 use RadiusTheme\SB\Models\Base\ListModel;
17 16 use RadiusTheme\SB\Traits\SingletonTrait;
18 -use RadiusTheme\SBPRO\Elementor\Widgets\Checkout as CheckoutPro;
19 17
20 18 /**
21 19 * Elementor Element List
22 20 */
@@ -52,11 +50,8 @@
52 50 ],
53 51 'product' => [
54 52 'title' => esc_html__( 'Single', 'shopbuilder' ),
55 53 ],
56 - 'quick_view' => [
57 - 'title' => esc_html__( 'Quick View', 'shopbuilder' ),
58 - ],
59 54 'cart' => [
60 55 'title' => esc_html__( 'Cart', 'shopbuilder' ),
61 56 ],
62 57 'checkout' => [
@@ -62,15 +57,15 @@
62 57 'checkout' => [
63 58 'title' => esc_html__( 'Checkout', 'shopbuilder' ),
64 59 ],
65 60 'thank_you' => [
66 - 'title' => esc_html__( 'Order Received', 'shopbuilder' ),
61 + 'title' => esc_html__( 'Order Received', 'shopbuilder-pro' ),
67 62 ],
68 63 'myaccount_dashboard' => [
69 - 'title' => esc_html__( 'My Account', 'shopbuilder' ),
64 + 'title' => esc_html__( 'My Account', 'shopbuilder-pro' ),
70 65 ],
71 66 'others_widget' => [
72 - 'title' => esc_html__( 'Others', 'shopbuilder' ),
67 + 'title' => esc_html__( 'Others', 'shopbuilder-pro' ),
73 68 ],
74 69 ]
75 70 );
76 71 }
@@ -83,9 +78,8 @@
83 78 */
84 79 protected function raw_list() {
85 80 $list = $this->product_page_widget_list()
86 81 + $this->general_widget_list()
87 - + $this->product_quick_view()
88 82 + $this->shop_archive_page_widget_list()
89 83 + $this->cart_page_widget_list()
90 84 + $this->checkout_page_widget_list()
91 85 + $this->thankyou_page_widget_list()
@@ -211,20 +205,8 @@
211 205 'package' => 'free',
212 206 'fields' => [],
213 207 ]
214 208 ),
215 - 'highlighted_product' => apply_filters(
216 - 'rtsb/elements/highlighted_product/options',
217 - [
218 - 'id' => 'highlighted_product',
219 - 'title' => esc_html__( 'Highlighted Product', 'shopbuilder' ),
220 - 'category' => 'general',
221 - 'active' => '',
222 - 'package' => $this->pro_package(),
223 - 'fields' => [],
224 - ]
225 - ),
226 -
227 209 ];
228 210
229 211 return apply_filters( 'rtsb/core/elements/general/widget_list', $list );
230 212 }
@@ -288,10 +270,10 @@
288 270 'product_onsale' => apply_filters(
289 271 'rtsb/elements/product_onsale/options',
290 272 [
291 273 'id' => 'product_onsale',
292 - 'title' => esc_html__( 'Product Badges', 'shopbuilder' ),
293 - 'base_class' => Single\ProductBadges::class,
274 + 'title' => esc_html__( 'Sale Flash - Onsale', 'shopbuilder' ),
275 + 'base_class' => Single\ProductOnSale::class,
294 276 'category' => 'product',
295 277 'active' => 'on',
296 278 'package' => 'free',
297 279 'fields' => [],
@@ -432,9 +414,9 @@
432 414 'product_sales_count' => apply_filters(
433 415 'rtsb/elements/product_sales_count/options',
434 416 [
435 417 'id' => 'product_sales_count',
436 - 'title' => esc_html__( 'Sales Count', 'shopbuilder' ),
418 + 'title' => esc_html__( 'Sales Count', 'shopbuilder-pro' ),
437 419 'category' => 'product',
438 420 'active' => '',
439 421 'package' => $this->pro_package(),
440 422 'fields' => [],
@@ -439,24 +421,13 @@
439 421 'package' => $this->pro_package(),
440 422 'fields' => [],
441 423 ]
442 424 ),
443 - 'product_stock_counter' => apply_filters(
444 - 'rtsb/elements/product_stock_counter/options',
445 - [
446 - 'id' => 'product_stock_counter',
447 - 'title' => esc_html__( 'Product Stock Count', 'shopbuilder' ),
448 - 'category' => 'product',
449 - 'active' => '',
450 - 'package' => $this->pro_package(),
451 - 'fields' => [],
452 - ]
453 - ),
454 425 'flash_sale_countdown' => apply_filters(
455 426 'rtsb/elements/flash_sale_countdown/options',
456 427 [
457 428 'id' => 'flash_sale_countdown',
458 - 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder' ),
429 + 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder-pro' ),
459 430 'category' => 'product',
460 431 'active' => '',
461 432 'package' => $this->pro_package(),
462 433 'fields' => [],
@@ -465,9 +436,9 @@
465 436 'product_size_chart' => apply_filters(
466 437 'rtsb/elements/product_size_chart/options',
467 438 [
468 439 'id' => 'product_size_chart',
469 - 'title' => esc_html__( 'Size Chart', 'shopbuilder' ),
440 + 'title' => esc_html__( 'Size Chart', 'shopbuilder-pro' ),
470 441 'category' => 'product',
471 442 'active' => '',
472 443 'package' => $this->pro_package(),
473 444 'fields' => [],
@@ -476,9 +447,9 @@
476 447 'product_quick_checkout' => apply_filters(
477 448 'rtsb/elements/product_quick_checkout/options',
478 449 [
479 450 'id' => 'product_quick_checkout',
480 - 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ),
451 + 'title' => esc_html__( 'Quick Checkout', 'shopbuilder-pro' ),
481 452 'category' => 'product',
482 453 'active' => '',
483 454 'package' => $this->pro_package(),
484 455 'fields' => [],
@@ -495,19 +466,8 @@
495 466 'package' => 'free',
496 467 'fields' => [],
497 468 ]
498 469 ),
499 - 'advance_product_tabs' => apply_filters(
500 - 'rtsb/elements/advance_product_tabs/options',
501 - [
502 - 'id' => 'advance_product_tabs',
503 - 'title' => esc_html__( 'Advanced Product Tabs', 'shopbuilder' ),
504 - 'category' => 'product',
505 - 'active' => '',
506 - 'package' => $this->pro_package(),
507 - 'fields' => [],
508 - ]
509 - ),
510 470 'product_reviews' => apply_filters(
511 471 'rtsb/elements/product_reviews/options',
512 472 [
513 473 'id' => 'product_reviews',
@@ -596,267 +556,8 @@
596 556 return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list );
597 557 }
598 558
599 559 /**
600 - * Product Single Widget List.
601 - *
602 - * @return array
603 - */
604 - protected function product_quick_view() {
605 -
606 - $list = [
607 - 'qv_product_title' => apply_filters(
608 - 'rtsb/elements/qv_product_title/options',
609 - [
610 - 'id' => 'qv_product_title',
611 - 'title' => esc_html__( 'Product Title', 'shopbuilder' ),
612 - 'base_class' => Single\ProductTitle::class,
613 - 'category' => 'quick_view',
614 - 'is_front_page' => 'quick_view',
615 - 'active' => 'on',
616 - 'package' => $this->pro_package(),
617 - 'fields' => [],
618 - ]
619 - ),
620 - 'qv_product_description' => apply_filters(
621 - 'rtsb/elements/qv_product_description/options',
622 - [
623 - 'id' => 'qv_product_description',
624 - 'title' => esc_html__( 'Product Description', 'shopbuilder' ),
625 - 'base_class' => Single\ProductDescription::class,
626 - 'category' => 'quick_view',
627 - 'is_front_page' => 'quick_view',
628 - 'active' => 'on',
629 - 'package' => $this->pro_package(),
630 - 'fields' => [],
631 - ]
632 - ),
633 - 'qv_product_short_description' => apply_filters(
634 - 'rtsb/elements/qv_product_short_description/options',
635 - [
636 - 'id' => 'qv_product_short_description',
637 - 'title' => esc_html__( 'Short Description', 'shopbuilder' ),
638 - 'base_class' => Single\ShortDescription::class,
639 - 'category' => 'quick_view',
640 - 'is_front_page' => 'quick_view',
641 - 'active' => 'on',
642 - 'package' => $this->pro_package(),
643 - 'fields' => [],
644 - ]
645 - ),
646 - 'qv_product_images' => apply_filters(
647 - 'rtsb/elements/qv_product_images/options',
648 - [
649 - 'id' => 'qv_product_images',
650 - 'title' => esc_html__( 'Product Images', 'shopbuilder' ),
651 - 'base_class' => Single\ProductImages::class,
652 - 'category' => 'quick_view',
653 - 'is_front_page' => 'quick_view',
654 - 'active' => 'on',
655 - 'package' => $this->pro_package(),
656 - 'fields' => [],
657 - ]
658 - ),
659 - 'qv_product_badges' => apply_filters(
660 - 'rtsb/elements/qv_product_badges/options',
661 - [
662 - 'id' => 'qv_product_badges',
663 - 'title' => esc_html__( 'Product Badges', 'shopbuilder' ),
664 - 'base_class' => Single\ProductBadges::class,
665 - 'category' => 'quick_view',
666 - 'is_front_page' => 'quick_view',
667 - 'active' => 'on',
668 - 'package' => $this->pro_package(),
669 - 'fields' => [],
670 - ]
671 - ),
672 - 'qv_product_additional_info' => apply_filters(
673 - 'rtsb/elements/qv_product_additional_info/options',
674 - [
675 - 'id' => 'qv_product_additional_info',
676 - 'title' => esc_html__( 'Additional Information', 'shopbuilder' ),
677 - 'base_class' => Single\AdditionalInformation::class,
678 - 'category' => 'quick_view',
679 - 'is_front_page' => 'quick_view',
680 - 'active' => 'on',
681 - 'package' => $this->pro_package(),
682 - 'fields' => [],
683 - ]
684 - ),
685 - 'qv_product_price' => apply_filters(
686 - 'rtsb/elements/qv_product_price/options',
687 - [
688 - 'id' => 'qv_product_price',
689 - 'title' => esc_html__( 'Product Price', 'shopbuilder' ),
690 - 'base_class' => Single\ProductPrice::class,
691 - 'category' => 'quick_view',
692 - 'is_front_page' => 'quick_view',
693 - 'active' => 'on',
694 - 'package' => $this->pro_package(),
695 - 'fields' => [],
696 - ]
697 - ),
698 - 'qv_product_meta' => apply_filters(
699 - 'rtsb/elements/qv_product_meta/options',
700 - [
701 - 'id' => 'qv_product_meta',
702 - 'title' => esc_html__( 'Product Meta', 'shopbuilder' ),
703 - 'base_class' => Single\ProductMeta::class,
704 - 'category' => 'quick_view',
705 - 'is_front_page' => 'quick_view',
706 - 'active' => 'on',
707 - 'package' => $this->pro_package(),
708 - 'fields' => [],
709 - ]
710 - ),
711 - 'qv_product_categories' => apply_filters(
712 - 'rtsb/elements/qv_product_categories/options',
713 - [
714 - 'id' => 'qv_product_categories',
715 - 'title' => esc_html__( 'Product Categories', 'shopbuilder' ),
716 - 'base_class' => Single\ProductCats::class,
717 - 'category' => 'quick_view',
718 - 'is_front_page' => 'quick_view',
719 - 'active' => 'on',
720 - 'package' => $this->pro_package(),
721 - 'fields' => [],
722 - ]
723 - ),
724 - 'qv_product_rating' => apply_filters(
725 - 'rtsb/elements/qv_product_rating/options',
726 - [
727 - 'id' => 'qv_product_rating',
728 - 'title' => esc_html__( 'Product Rating', 'shopbuilder' ),
729 - 'base_class' => Single\ProductRating::class,
730 - 'category' => 'quick_view',
731 - 'is_front_page' => 'quick_view',
732 - 'active' => 'on',
733 - 'package' => $this->pro_package(),
734 - 'fields' => [],
735 - ]
736 - ),
737 - 'qv_product_tags' => apply_filters(
738 - 'rtsb/elements/qv_product_tags/options',
739 - [
740 - 'id' => 'qv_product_tags',
741 - 'title' => esc_html__( 'Product Tags', 'shopbuilder' ),
742 - 'base_class' => Single\ProductTags::class,
743 - 'category' => 'quick_view',
744 - 'is_front_page' => 'quick_view',
745 - 'active' => 'on',
746 - 'package' => $this->pro_package(),
747 - 'fields' => [],
748 - ]
749 - ),
750 - 'qv_product_sku' => apply_filters(
751 - 'rtsb/elements/qv_product_sku/options',
752 - [
753 - 'id' => 'qv_product_sku',
754 - 'title' => esc_html__( 'Product SKU', 'shopbuilder' ),
755 - 'base_class' => Single\ProductSKU::class,
756 - 'category' => 'quick_view',
757 - 'is_front_page' => 'quick_view',
758 - 'active' => 'on',
759 - 'package' => $this->pro_package(),
760 - 'fields' => [],
761 - ]
762 - ),
763 - 'qv_product_stock' => apply_filters(
764 - 'rtsb/elements/qv_product_stock/options',
765 - [
766 - 'id' => 'qv_product_stock',
767 - 'title' => esc_html__( 'Product Stock', 'shopbuilder' ),
768 - 'base_class' => Single\ProductStock::class,
769 - 'category' => 'quick_view',
770 - 'is_front_page' => 'quick_view',
771 - 'active' => 'on',
772 - 'package' => $this->pro_package(),
773 - 'fields' => [],
774 - ]
775 - ),
776 - 'qv_actions_button' => apply_filters(
777 - 'rtsb/elements/qv_actions_button/options',
778 - [
779 - 'id' => 'qv_actions_button',
780 - 'title' => esc_html__( 'Action Buttons', 'shopbuilder' ),
781 - 'base_class' => Single\ActionsButton::class,
782 - 'category' => 'quick_view',
783 - 'is_front_page' => 'quick_view',
784 - 'active' => 'on',
785 - 'package' => $this->pro_package(),
786 - 'fields' => [],
787 - ]
788 - ),
789 - 'qv_product_add_to_cart' => apply_filters(
790 - 'rtsb/elements/qv_product_add_to_cart/options',
791 - [
792 - 'id' => 'qv_product_add_to_cart',
793 - 'title' => esc_html__( 'Add to Cart', 'shopbuilder' ),
794 - 'base_class' => Single\ProductAddToCart::class,
795 - 'category' => 'quick_view',
796 - 'is_front_page' => 'quick_view',
797 - 'active' => 'on',
798 - 'package' => $this->pro_package(),
799 - 'fields' => [],
800 - ]
801 - ),
802 - 'qv_product_sales_count' => apply_filters(
803 - 'rtsb/elements/qv_product_sales_count/options',
804 - [
805 - 'id' => 'qv_product_sales_count',
806 - 'title' => esc_html__( 'Sales Count', 'shopbuilder' ),
807 - 'category' => 'quick_view',
808 - 'is_front_page' => 'quick_view',
809 - 'active' => 'on',
810 - 'package' => $this->pro_package(),
811 - 'fields' => [],
812 - ]
813 - ),
814 - 'qv_social_share' => apply_filters(
815 - 'rtsb/settings/qv_social_share/options',
816 - [
817 - 'id' => 'qv_social_share',
818 - 'title' => esc_html__( 'Social Share', 'shopbuilder' ),
819 - 'base_class' => General\SocialShare::class,
820 - 'active' => 'on',
821 - 'category' => 'quick_view',
822 - 'is_front_page' => 'quick_view',
823 - 'package' => $this->pro_package(),
824 - 'fields' => [],
825 - ]
826 - ),
827 - 'qv_product_quick_checkout' => apply_filters(
828 - 'rtsb/elements/qv_product_quick_checkout/options',
829 - [
830 - 'id' => 'qv_product_quick_checkout',
831 - 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ),
832 - 'category' => 'quick_view',
833 - 'is_front_page' => 'quick_view',
834 - 'active' => 'on',
835 - 'package' => $this->pro_package(),
836 - 'fields' => [],
837 - ]
838 - ),
839 -
840 - 'qv_product_size_chart' => apply_filters(
841 - 'rtsb/elements/qv_product_size_chart/options',
842 - [
843 - 'id' => 'qv_product_size_chart',
844 - 'title' => esc_html__( 'Size Chart', 'shopbuilder' ),
845 - 'category' => 'quick_view',
846 - 'is_front_page' => 'quick_view',
847 - 'active' => '',
848 - 'package' => $this->pro_package(),
849 - 'fields' => [],
850 - ]
851 - ),
852 -
853 - ];
854 -
855 - return apply_filters( 'rtsb/core/elements/quick_view/widget_list', $list );
856 - }
857 -
858 - /**
859 560 * Product Archive Widget List.
860 561 *
861 562 * @return array
862 563 */
@@ -917,9 +618,9 @@
917 618 'ajax_product_filters' => apply_filters(
918 619 'rtsb/elements/ajax_product_filters/options',
919 620 [
920 621 'id' => 'ajax_product_filters',
921 - 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder' ),
622 + 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder-pro' ),
922 623 'category' => 'shop',
923 624 'active' => 'on',
924 625 'package' => $this->pro_package(),
925 626 'fields' => [],
@@ -1056,9 +757,9 @@
1056 757 * @return array
1057 758 */
1058 759 protected function checkout_page_widget_list() {
1059 760 $list = [
1060 - 'billing_form' => apply_filters(
761 + 'billing_form' => apply_filters(
1061 762 'rtsb/elements/billing_form/options',
1062 763 [
1063 764 'id' => 'billing_form',
1064 765 'title' => esc_html__( 'Billing Form', 'shopbuilder' ),
@@ -1068,9 +769,9 @@
1068 769 'package' => 'free',
1069 770 'fields' => [],
1070 771 ]
1071 772 ),
1072 - 'shipping_form' => apply_filters(
773 + 'shipping_form' => apply_filters(
1073 774 'rtsb/elements/shipping_form/options',
1074 775 [
1075 776 'id' => 'shipping_form',
1076 777 'title' => esc_html__( 'Shipping Form', 'shopbuilder' ),
@@ -1080,9 +781,9 @@
1080 781 'package' => 'free',
1081 782 'fields' => [],
1082 783 ]
1083 784 ),
1084 - 'order_notes' => apply_filters(
785 + 'order_notes' => apply_filters(
1085 786 'rtsb/elements/order_notes/options',
1086 787 [
1087 788 'id' => 'order_notes',
1088 789 'title' => esc_html__( 'Order Notes', 'shopbuilder' ),
@@ -1092,9 +793,9 @@
1092 793 'package' => 'free',
1093 794 'fields' => [],
1094 795 ]
1095 796 ),
1096 - 'order_review' => apply_filters(
797 + 'order_review' => apply_filters(
1097 798 'rtsb/elements/order_review/options',
1098 799 [
1099 800 'id' => 'order_review',
1100 801 'title' => esc_html__( 'Order Review', 'shopbuilder' ),
@@ -1104,9 +805,9 @@
1104 805 'package' => 'free',
1105 806 'fields' => [],
1106 807 ]
1107 808 ),
1108 - 'checkout_payment' => apply_filters(
809 + 'checkout_payment' => apply_filters(
1109 810 'rtsb/elements/checkout_payment/options',
1110 811 [
1111 812 'id' => 'checkout_payment',
1112 813 'title' => esc_html__( 'Checkout Payment Method', 'shopbuilder' ),
@@ -1116,9 +817,9 @@
1116 817 'package' => 'free',
1117 818 'fields' => [],
1118 819 ]
1119 820 ),
1120 - 'coupon_form' => apply_filters(
821 + 'coupon_form' => apply_filters(
1121 822 'rtsb/elements/coupon_form/options',
1122 823 [
1123 824 'id' => 'coupon_form',
1124 825 'title' => esc_html__( 'Coupon Form', 'shopbuilder' ),
@@ -1128,9 +829,9 @@
1128 829 'package' => 'free',
1129 830 'fields' => [],
1130 831 ]
1131 832 ),
1132 - 'checkout_login_form' => apply_filters(
833 + 'checkout_login_form' => apply_filters(
1133 834 'rtsb/elements/checkout_login_form/options',
1134 835 [
1135 836 'id' => 'checkout_login_form',
1136 837 'title' => esc_html__( 'Login Form', 'shopbuilder' ),
@@ -1140,9 +841,10 @@
1140 841 'package' => 'free',
1141 842 'fields' => [],
1142 843 ]
1143 844 ),
1144 - 'shipping_method' => apply_filters(
845 +
846 + 'shipping_method' => apply_filters(
1145 847 'rtsb/elements/shipping_method/options',
1146 848 [
1147 849 'id' => 'shipping_method',
1148 850 'title' => esc_html__( 'Shipping Method', 'shopbuilder' ),
@@ -1152,20 +854,8 @@
1152 854 'package' => 'free',
1153 855 'fields' => [],
1154 856 ]
1155 857 ),
1156 - 'multi_step_checkout_widget' => apply_filters(
1157 - 'rtsb/elements/multi_step_checkout_widget/options',
1158 - [
1159 - 'id' => 'multi_step_checkout_widget',
1160 - 'title' => esc_html__( 'Multi Step Checkout', 'shopbuilder' ),
1161 - 'base_class' => CheckoutPro\MultiStepCheckout::class,
1162 - 'category' => 'checkout',
1163 - 'active' => '',
1164 - 'package' => $this->pro_package(),
1165 - 'fields' => [],
1166 - ]
1167 - ),
1168 858
1169 859 ];
1170 860
1171 861 return apply_filters( 'rtsb/core/elements/checkout/widget_list', $list );
@@ -1181,9 +871,9 @@
1181 871 'order_received_text' => apply_filters(
1182 872 'rtsb/elements/order_received_text/options',
1183 873 [
1184 874 'id' => 'order_received_text',
1185 - 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ),
875 + 'title' => esc_html__( 'Order Received Text', 'shopbuilder-pro' ),
1186 876 'category' => 'thank_you',
1187 877 'is_front_page' => 'thank_you',
1188 878 'active' => 'on',
1189 879 'package' => $this->pro_package(),
@@ -1193,9 +883,9 @@
1193 883 'order_details_summary' => apply_filters(
1194 884 'rtsb/elements/order_details_summary/options',
1195 885 [
1196 886 'id' => 'order_details_summary',
1197 - 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ),
887 + 'title' => esc_html__( 'Order Details Summary', 'shopbuilder-pro' ),
1198 888 'category' => 'thank_you',
1199 889 'is_front_page' => 'thank_you',
1200 890 'active' => 'on',
1201 891 'package' => $this->pro_package(),
@@ -1205,9 +895,9 @@
1205 895 'order_details_table' => apply_filters(
1206 896 'rtsb/elements/order_details_table/options',
1207 897 [
1208 898 'id' => 'order_details_table',
1209 - 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ),
899 + 'title' => esc_html__( 'Order Details Table', 'shopbuilder-pro' ),
1210 900 'category' => 'thank_you',
1211 901 'is_front_page' => 'thank_you',
1212 902 'active' => 'on',
1213 903 'package' => $this->pro_package(),
@@ -1217,9 +907,9 @@
1217 907 'downloadable_products' => apply_filters(
1218 908 'rtsb/elements/downloadable_products/options',
1219 909 [
1220 910 'id' => 'downloadable_products',
1221 - 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ),
911 + 'title' => esc_html__( 'Downloadable Products', 'shopbuilder-pro' ),
1222 912 'category' => 'thank_you',
1223 913 'is_front_page' => 'thank_you',
1224 914 'active' => 'on',
1225 915 'package' => $this->pro_package(),
@@ -1229,9 +919,9 @@
1229 919 'order_billing_address' => apply_filters(
1230 920 'rtsb/elements/order_billing_address/options',
1231 921 [
1232 922 'id' => 'order_billing_address',
1233 - 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ),
923 + 'title' => esc_html__( 'Order Billing Address', 'shopbuilder-pro' ),
1234 924 'category' => 'thank_you',
1235 925 'is_front_page' => 'thank_you',
1236 926 'active' => 'on',
1237 927 'package' => $this->pro_package(),
@@ -1241,9 +931,9 @@
1241 931 'order_shipping_address' => apply_filters(
1242 932 'rtsb/elements/order_shipping_address/options',
1243 933 [
1244 934 'id' => 'order_shipping_address',
1245 - 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ),
935 + 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder-pro' ),
1246 936 'category' => 'thank_you',
1247 937 'is_front_page' => 'thank_you',
1248 938 'active' => 'on',
1249 939 'package' => $this->pro_package(),
@@ -1258,14 +948,15 @@
1258 948 *
1259 949 * @return array
1260 950 */
1261 951 protected function my_account_page_widget_list() {
1262 - $widgets = [
952 + return [
953 +
1263 954 'account_navigation_edit_shipping' => apply_filters(
1264 955 'rtsb/elements/account_navigation_edit_shipping/options',
1265 956 [
1266 957 'id' => 'account_navigation_edit_shipping',
1267 - 'title' => esc_html__( 'Account Navigation', 'shopbuilder' ),
958 + 'title' => esc_html__( 'Account Navigation', 'shopbuilder-pro' ),
1268 959 'category' => 'myaccount_dashboard',
1269 960 'is_front_page' => 'all_myaccount_dashboard_inner',
1270 961 'active' => 'on',
1271 962 'package' => $this->pro_package(),
@@ -1275,11 +966,11 @@
1275 966 'account_dashboard' => apply_filters(
1276 967 'rtsb/elements/account_dashboard/options',
1277 968 [
1278 969 'id' => 'account_dashboard',
1279 - 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ),
970 + 'title' => esc_html__( 'Account Dashboard', 'shopbuilder-pro' ),
1280 971 'category' => 'myaccount_dashboard',
1281 - 'is_front_page' => 'all_myaccount_dashboard_inner',
972 + 'is_front_page' => 'myaccount_dashboard',
1282 973 'active' => 'on',
1283 974 'package' => $this->pro_package(),
1284 975 'fields' => [],
1285 976 ]
@@ -1287,11 +978,11 @@
1287 978 'account_orders' => apply_filters(
1288 979 'rtsb/elements/account_orders/options',
1289 980 [
1290 981 'id' => 'account_orders',
1291 - 'title' => esc_html__( 'Account Orders', 'shopbuilder' ),
982 + 'title' => esc_html__( 'Account Orders', 'shopbuilder-pro' ),
1292 983 'category' => 'myaccount_dashboard',
1293 - 'is_front_page' => 'all_myaccount_dashboard_inner',
984 + 'is_front_page' => 'myaccount_order',
1294 985 'active' => 'on',
1295 986 'package' => $this->pro_package(),
1296 987 'fields' => [],
1297 988 ]
@@ -1299,11 +990,11 @@
1299 990 'account_downloads' => apply_filters(
1300 991 'rtsb/elements/account_downloads/options',
1301 992 [
1302 993 'id' => 'account_downloads',
1303 - 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ),
994 + 'title' => esc_html__( 'Account Downloads', 'shopbuilder-pro' ),
1304 995 'category' => 'myaccount_dashboard',
1305 - 'is_front_page' => 'all_myaccount_dashboard_inner',
996 + 'is_front_page' => 'myaccount_downloads',
1306 997 'active' => 'on',
1307 998 'package' => $this->pro_package(),
1308 999 'fields' => [],
1309 1000 ]
@@ -1311,11 +1002,11 @@
1311 1002 'account_billing_address' => apply_filters(
1312 1003 'rtsb/elements/account_billing_address/options',
1313 1004 [
1314 1005 'id' => 'account_billing_address',
1315 - 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ),
1006 + 'title' => esc_html__( 'Account Billing Address', 'shopbuilder-pro' ),
1316 1007 'category' => 'myaccount_dashboard',
1317 - 'is_front_page' => 'all_myaccount_dashboard_inner',
1008 + 'is_front_page' => 'myaccount_address',
1318 1009 'active' => 'on',
1319 1010 'package' => $this->pro_package(),
1320 1011 'fields' => [],
1321 1012 ]
@@ -1323,11 +1014,11 @@
1323 1014 'account_shipping_address' => apply_filters(
1324 1015 'rtsb/elements/account_shipping_address/options',
1325 1016 [
1326 1017 'id' => 'account_shipping_address',
1327 - 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ),
1018 + 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder-pro' ),
1328 1019 'category' => 'myaccount_dashboard',
1329 - 'is_front_page' => 'all_myaccount_dashboard_inner',
1020 + 'is_front_page' => 'myaccount_address',
1330 1021 'active' => 'on',
1331 1022 'package' => $this->pro_package(),
1332 1023 'fields' => [],
1333 1024 ]
@@ -1335,11 +1026,11 @@
1335 1026 'account_address_description' => apply_filters(
1336 1027 'rtsb/elements/account_address_description/options',
1337 1028 [
1338 1029 'id' => 'account_address_description',
1339 - 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ),
1030 + 'title' => esc_html__( 'Account Address Description', 'shopbuilder-pro' ),
1340 1031 'category' => 'myaccount_dashboard',
1341 - 'is_front_page' => 'all_myaccount_dashboard_inner',
1032 + 'is_front_page' => 'myaccount_address',
1342 1033 'active' => 'on',
1343 1034 'package' => $this->pro_package(),
1344 1035 'fields' => [],
1345 1036 ]
@@ -1347,11 +1038,11 @@
1347 1038 'account_details' => apply_filters(
1348 1039 'rtsb/elements/account_details/options',
1349 1040 [
1350 1041 'id' => 'account_details',
1351 - 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ),
1042 + 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder-pro' ),
1352 1043 'category' => 'myaccount_dashboard',
1353 - 'is_front_page' => 'all_myaccount_dashboard_inner',
1044 + 'is_front_page' => 'myaccount_edit_details',
1354 1045 'active' => 'on',
1355 1046 'package' => $this->pro_package(),
1356 1047 'fields' => [],
1357 1048 ]
@@ -1359,11 +1050,11 @@
1359 1050 'account_order_status' => apply_filters(
1360 1051 'rtsb/elements/account_order_status/options',
1361 1052 [
1362 1053 'id' => 'account_order_status',
1363 - 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ),
1054 + 'title' => esc_html__( 'Account Order Status', 'shopbuilder-pro' ),
1364 1055 'category' => 'myaccount_dashboard',
1365 - 'is_front_page' => 'all_myaccount_dashboard_inner',
1056 + 'is_front_page' => 'myaccount_orders_details',
1366 1057 'active' => 'on',
1367 1058 'package' => $this->pro_package(),
1368 1059 'fields' => [],
1369 1060 ]
@@ -1371,11 +1062,11 @@
1371 1062 'account_order_details_download' => apply_filters(
1372 1063 'rtsb/elements/account_order_details_download/options',
1373 1064 [
1374 1065 'id' => 'account_order_details_download',
1375 - 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ),
1066 + 'title' => esc_html__( 'Account Order Download', 'shopbuilder-pro' ),
1376 1067 'category' => 'myaccount_dashboard',
1377 - 'is_front_page' => 'all_myaccount_dashboard_inner',
1068 + 'is_front_page' => 'myaccount_orders_details',
1378 1069 'active' => 'on',
1379 1070 'package' => $this->pro_package(),
1380 1071 'fields' => [],
1381 1072 ]
@@ -1383,11 +1074,11 @@
1383 1074 'account_order_details_note' => apply_filters(
1384 1075 'rtsb/elements/account_order_details_note/options',
1385 1076 [
1386 1077 'id' => 'account_order_details_note',
1387 - 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ),
1078 + 'title' => esc_html__( 'Account Order Note', 'shopbuilder-pro' ),
1388 1079 'category' => 'myaccount_dashboard',
1389 - 'is_front_page' => 'all_myaccount_dashboard_inner',
1080 + 'is_front_page' => 'myaccount_orders_details',
1390 1081 'active' => 'on',
1391 1082 'package' => $this->pro_package(),
1392 1083 'fields' => [],
1393 1084 ]
@@ -1395,11 +1086,11 @@
1395 1086 'account_order_details_table' => apply_filters(
1396 1087 'rtsb/elements/account_order_details_table/options',
1397 1088 [
1398 1089 'id' => 'account_order_details_table',
1399 - 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ),
1090 + 'title' => esc_html__( 'Account Order Table', 'shopbuilder-pro' ),
1400 1091 'category' => 'myaccount_dashboard',
1401 - 'is_front_page' => 'all_myaccount_dashboard_inner',
1092 + 'is_front_page' => 'myaccount_orders_details',
1402 1093 'active' => 'on',
1403 1094 'package' => $this->pro_package(),
1404 1095 'fields' => [],
1405 1096 ]
@@ -1407,11 +1098,11 @@
1407 1098 'account_order_details_order_again' => apply_filters(
1408 1099 'rtsb/elements/account_order_details_order_again/options',
1409 1100 [
1410 1101 'id' => 'account_order_details_order_again',
1411 - 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ),
1102 + 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder-pro' ),
1412 1103 'category' => 'myaccount_dashboard',
1413 - 'is_front_page' => 'all_myaccount_dashboard_inner',
1104 + 'is_front_page' => 'myaccount_orders_details',
1414 1105 'active' => 'on',
1415 1106 'package' => $this->pro_package(),
1416 1107 'fields' => [],
1417 1108 ]
@@ -1419,11 +1110,11 @@
1419 1110 'account_order_details_order_shipping' => apply_filters(
1420 1111 'rtsb/elements/account_order_details_order_shipping/options',
1421 1112 [
1422 1113 'id' => 'account_order_details_order_shipping',
1423 - 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ),
1114 + 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder-pro' ),
1424 1115 'category' => 'myaccount_dashboard',
1425 - 'is_front_page' => 'all_myaccount_dashboard_inner',
1116 + 'is_front_page' => 'myaccount_orders_details',
1426 1117 'active' => 'on',
1427 1118 'package' => $this->pro_package(),
1428 1119 'fields' => [],
1429 1120 ]
@@ -1431,11 +1122,11 @@
1431 1122 'account_order_details_order_billing' => apply_filters(
1432 1123 'rtsb/elements/account_order_details_order_billing/options',
1433 1124 [
1434 1125 'id' => 'account_order_details_order_billing',
1435 - 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ),
1126 + 'title' => esc_html__( 'Account Order Billing', 'shopbuilder-pro' ),
1436 1127 'category' => 'myaccount_dashboard',
1437 - 'is_front_page' => 'all_myaccount_dashboard_inner',
1128 + 'is_front_page' => 'myaccount_orders_details',
1438 1129 'active' => 'on',
1439 1130 'package' => $this->pro_package(),
1440 1131 'fields' => [],
1441 1132 ]
@@ -1443,11 +1134,11 @@
1443 1134 'account_edit_billing_address' => apply_filters(
1444 1135 'rtsb/elements/account_edit_billing_address/options',
1445 1136 [
1446 1137 'id' => 'account_edit_billing_address',
1447 - 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ),
1138 + 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder-pro' ),
1448 1139 'category' => 'myaccount_dashboard',
1449 - 'is_front_page' => 'all_myaccount_dashboard_inner',
1140 + 'is_front_page' => 'myaccount_edit_billing_address',
1450 1141 'active' => 'on',
1451 1142 'package' => $this->pro_package(),
1452 1143 'fields' => [],
1453 1144 ]
@@ -1455,11 +1146,11 @@
1455 1146 'account_edit_shipping_address' => apply_filters(
1456 1147 'rtsb/elements/account_edit_shipping_address/options',
1457 1148 [
1458 1149 'id' => 'account_edit_shipping_address',
1459 - 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ),
1150 + 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder-pro' ),
1460 1151 'category' => 'myaccount_dashboard',
1461 - 'is_front_page' => 'all_myaccount_dashboard_inner',
1152 + 'is_front_page' => 'myaccount_edit_shipping_address',
1462 1153 'active' => 'on',
1463 1154 'package' => $this->pro_package(),
1464 1155 'fields' => [],
1465 1156 ]
@@ -1464,10 +1155,8 @@
1464 1155 'fields' => [],
1465 1156 ]
1466 1157 ),
1467 1158 ];
1468 -
1469 - return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets );
1470 1159 }
1471 1160
1472 1161 /***
1473 1162 * @return array
@@ -1473,13 +1162,13 @@
1473 1162 * @return array
1474 1163 */
1475 1164 protected function myaccount_auth_page_widget_list() {
1476 1165 return [
1477 - 'account_login' => apply_filters(
1166 + 'account_login' => apply_filters(
1478 1167 'rtsb/elements/account_login/options',
1479 1168 [
1480 1169 'id' => 'account_login',
1481 - 'title' => esc_html__( 'Login Register Form', 'shopbuilder' ),
1170 + 'title' => esc_html__( 'Login Register Form', 'shopbuilder-pro' ),
1482 1171 'category' => 'others_widget',
1483 1172 'is_front_page' => 'myaccount_auth',
1484 1173 'active' => 'on',
1485 1174 'package' => $this->pro_package(),
@@ -1485,39 +1174,15 @@
1485 1174 'package' => $this->pro_package(),
1486 1175 'fields' => [],
1487 1176 ]
1488 1177 ),
1489 - 'account_login_form' => apply_filters(
1490 - 'rtsb/elements/account_login_form/options',
1491 - [
1492 - 'id' => 'account_login_form',
1493 - 'title' => esc_html__( 'Login Form', 'shopbuilder' ),
1494 - 'category' => 'others_widget',
1495 - 'is_front_page' => 'myaccount_auth',
1496 - 'active' => 'on',
1497 - 'package' => $this->pro_package(),
1498 - 'fields' => [],
1499 - ]
1500 - ),
1501 - 'account_registration_form' => apply_filters(
1502 - 'rtsb/elements/account_registration_form/options',
1503 - [
1504 - 'id' => 'account_registration_form',
1505 - 'title' => esc_html__( 'Registration Form', 'shopbuilder' ),
1506 - 'category' => 'others_widget',
1507 - 'is_front_page' => 'myaccount_auth',
1508 - 'active' => 'on',
1509 - 'package' => $this->pro_package(),
1510 - 'fields' => [],
1511 - ]
1512 - ),
1513 - 'account_lost_password' => apply_filters(
1178 + 'account_lost_password' => apply_filters(
1514 1179 'rtsb/elements/account_lost_password/options',
1515 1180 [
1516 1181 'id' => 'account_lost_password',
1517 - 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ),
1182 + 'title' => esc_html__( 'Lost Password Form', 'shopbuilder-pro' ),
1518 1183 'category' => 'others_widget',
1519 - 'is_front_page' => 'myaccount_auth',
1184 + 'is_front_page' => 'myaccount_lost_password',
1520 1185 'active' => 'on',
1521 1186 'package' => $this->pro_package(),
1522 1187 'fields' => [],
1523 1188 ]