| @@ -11,8 +11,9 @@ | ||
| 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; | |
| 15 | 16 | use RadiusTheme\SB\Models\Base\ListModel; |
| 16 | 17 | use RadiusTheme\SB\Traits\SingletonTrait; |
| 17 | 18 | use RadiusTheme\SBPRO\Elementor\Widgets\Checkout as CheckoutPro; |
| 18 | 19 | |
| @@ -51,8 +52,11 @@ | ||
| 51 | 52 | ], |
| 52 | 53 | 'product' => [ |
| 53 | 54 | 'title' => esc_html__( 'Single', 'shopbuilder' ), |
| 54 | 55 | ], |
| 56 | + 'quick_view' => [ | |
| 57 | + 'title' => esc_html__( 'Quick View', 'shopbuilder' ), | |
| 58 | + ], | |
| 55 | 59 | 'cart' => [ |
| 56 | 60 | 'title' => esc_html__( 'Cart', 'shopbuilder' ), |
| 57 | 61 | ], |
| 58 | 62 | 'checkout' => [ |
| @@ -79,8 +83,9 @@ | ||
| 79 | 83 | */ |
| 80 | 84 | protected function raw_list() { |
| 81 | 85 | $list = $this->product_page_widget_list() |
| 82 | 86 | + $this->general_widget_list() |
| 87 | + + $this->product_quick_view() | |
| 83 | 88 | + $this->shop_archive_page_widget_list() |
| 84 | 89 | + $this->cart_page_widget_list() |
| 85 | 90 | + $this->checkout_page_widget_list() |
| 86 | 91 | + $this->thankyou_page_widget_list() |
| @@ -206,8 +211,20 @@ | ||
| 206 | 211 | 'package' => 'free', |
| 207 | 212 | 'fields' => [], |
| 208 | 213 | ] |
| 209 | 214 | ), |
| 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 | + | |
| 210 | 227 | ]; |
| 211 | 228 | |
| 212 | 229 | return apply_filters( 'rtsb/core/elements/general/widget_list', $list ); |
| 213 | 230 | } |
| @@ -271,10 +288,10 @@ | ||
| 271 | 288 | 'product_onsale' => apply_filters( |
| 272 | 289 | 'rtsb/elements/product_onsale/options', |
| 273 | 290 | [ |
| 274 | 291 | 'id' => 'product_onsale', |
| 275 | - 'title' => esc_html__( 'Sale Flash - Onsale', 'shopbuilder' ), | |
| 276 | - 'base_class' => Single\ProductOnSale::class, | |
| 292 | + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 293 | + 'base_class' => Single\ProductBadges::class, | |
| 277 | 294 | 'category' => 'product', |
| 278 | 295 | 'active' => 'on', |
| 279 | 296 | 'package' => 'free', |
| 280 | 297 | 'fields' => [], |
| @@ -422,8 +439,19 @@ | ||
| 422 | 439 | 'package' => $this->pro_package(), |
| 423 | 440 | 'fields' => [], |
| 424 | 441 | ] |
| 425 | 442 | ), |
| 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 | + ), | |
| 426 | 454 | 'flash_sale_countdown' => apply_filters( |
| 427 | 455 | 'rtsb/elements/flash_sale_countdown/options', |
| 428 | 456 | [ |
| 429 | 457 | 'id' => 'flash_sale_countdown', |
| @@ -568,8 +596,267 @@ | ||
| 568 | 596 | return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list ); |
| 569 | 597 | } |
| 570 | 598 | |
| 571 | 599 | /** |
| 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 | + /** | |
| 572 | 859 | * Product Archive Widget List. |
| 573 | 860 | * |
| 574 | 861 | * @return array |
| 575 | 862 | */ |
| @@ -971,10 +1258,9 @@ | ||
| 971 | 1258 | * |
| 972 | 1259 | * @return array |
| 973 | 1260 | */ |
| 974 | 1261 | protected function my_account_page_widget_list() { |
| 975 | - return [ | |
| 976 | - | |
| 1262 | + $widgets = [ | |
| 977 | 1263 | 'account_navigation_edit_shipping' => apply_filters( |
| 978 | 1264 | 'rtsb/elements/account_navigation_edit_shipping/options', |
| 979 | 1265 | [ |
| 980 | 1266 | 'id' => 'account_navigation_edit_shipping', |
| @@ -991,9 +1277,9 @@ | ||
| 991 | 1277 | [ |
| 992 | 1278 | 'id' => 'account_dashboard', |
| 993 | 1279 | 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ), |
| 994 | 1280 | 'category' => 'myaccount_dashboard', |
| 995 | - 'is_front_page' => 'myaccount_dashboard', | |
| 1281 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 996 | 1282 | 'active' => 'on', |
| 997 | 1283 | 'package' => $this->pro_package(), |
| 998 | 1284 | 'fields' => [], |
| 999 | 1285 | ] |
| @@ -1003,9 +1289,9 @@ | ||
| 1003 | 1289 | [ |
| 1004 | 1290 | 'id' => 'account_orders', |
| 1005 | 1291 | 'title' => esc_html__( 'Account Orders', 'shopbuilder' ), |
| 1006 | 1292 | 'category' => 'myaccount_dashboard', |
| 1007 | - 'is_front_page' => 'myaccount_order', | |
| 1293 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1008 | 1294 | 'active' => 'on', |
| 1009 | 1295 | 'package' => $this->pro_package(), |
| 1010 | 1296 | 'fields' => [], |
| 1011 | 1297 | ] |
| @@ -1015,9 +1301,9 @@ | ||
| 1015 | 1301 | [ |
| 1016 | 1302 | 'id' => 'account_downloads', |
| 1017 | 1303 | 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ), |
| 1018 | 1304 | 'category' => 'myaccount_dashboard', |
| 1019 | - 'is_front_page' => 'myaccount_downloads', | |
| 1305 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1020 | 1306 | 'active' => 'on', |
| 1021 | 1307 | 'package' => $this->pro_package(), |
| 1022 | 1308 | 'fields' => [], |
| 1023 | 1309 | ] |
| @@ -1027,9 +1313,9 @@ | ||
| 1027 | 1313 | [ |
| 1028 | 1314 | 'id' => 'account_billing_address', |
| 1029 | 1315 | 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ), |
| 1030 | 1316 | 'category' => 'myaccount_dashboard', |
| 1031 | - 'is_front_page' => 'myaccount_address', | |
| 1317 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1032 | 1318 | 'active' => 'on', |
| 1033 | 1319 | 'package' => $this->pro_package(), |
| 1034 | 1320 | 'fields' => [], |
| 1035 | 1321 | ] |
| @@ -1039,9 +1325,9 @@ | ||
| 1039 | 1325 | [ |
| 1040 | 1326 | 'id' => 'account_shipping_address', |
| 1041 | 1327 | 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ), |
| 1042 | 1328 | 'category' => 'myaccount_dashboard', |
| 1043 | - 'is_front_page' => 'myaccount_address', | |
| 1329 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1044 | 1330 | 'active' => 'on', |
| 1045 | 1331 | 'package' => $this->pro_package(), |
| 1046 | 1332 | 'fields' => [], |
| 1047 | 1333 | ] |
| @@ -1051,9 +1337,9 @@ | ||
| 1051 | 1337 | [ |
| 1052 | 1338 | 'id' => 'account_address_description', |
| 1053 | 1339 | 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ), |
| 1054 | 1340 | 'category' => 'myaccount_dashboard', |
| 1055 | - 'is_front_page' => 'myaccount_address', | |
| 1341 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1056 | 1342 | 'active' => 'on', |
| 1057 | 1343 | 'package' => $this->pro_package(), |
| 1058 | 1344 | 'fields' => [], |
| 1059 | 1345 | ] |
| @@ -1063,9 +1349,9 @@ | ||
| 1063 | 1349 | [ |
| 1064 | 1350 | 'id' => 'account_details', |
| 1065 | 1351 | 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ), |
| 1066 | 1352 | 'category' => 'myaccount_dashboard', |
| 1067 | - 'is_front_page' => 'myaccount_edit_details', | |
| 1353 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1068 | 1354 | 'active' => 'on', |
| 1069 | 1355 | 'package' => $this->pro_package(), |
| 1070 | 1356 | 'fields' => [], |
| 1071 | 1357 | ] |
| @@ -1075,9 +1361,9 @@ | ||
| 1075 | 1361 | [ |
| 1076 | 1362 | 'id' => 'account_order_status', |
| 1077 | 1363 | 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ), |
| 1078 | 1364 | 'category' => 'myaccount_dashboard', |
| 1079 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1365 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1080 | 1366 | 'active' => 'on', |
| 1081 | 1367 | 'package' => $this->pro_package(), |
| 1082 | 1368 | 'fields' => [], |
| 1083 | 1369 | ] |
| @@ -1087,9 +1373,9 @@ | ||
| 1087 | 1373 | [ |
| 1088 | 1374 | 'id' => 'account_order_details_download', |
| 1089 | 1375 | 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ), |
| 1090 | 1376 | 'category' => 'myaccount_dashboard', |
| 1091 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1377 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1092 | 1378 | 'active' => 'on', |
| 1093 | 1379 | 'package' => $this->pro_package(), |
| 1094 | 1380 | 'fields' => [], |
| 1095 | 1381 | ] |
| @@ -1099,9 +1385,9 @@ | ||
| 1099 | 1385 | [ |
| 1100 | 1386 | 'id' => 'account_order_details_note', |
| 1101 | 1387 | 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ), |
| 1102 | 1388 | 'category' => 'myaccount_dashboard', |
| 1103 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1389 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1104 | 1390 | 'active' => 'on', |
| 1105 | 1391 | 'package' => $this->pro_package(), |
| 1106 | 1392 | 'fields' => [], |
| 1107 | 1393 | ] |
| @@ -1111,9 +1397,9 @@ | ||
| 1111 | 1397 | [ |
| 1112 | 1398 | 'id' => 'account_order_details_table', |
| 1113 | 1399 | 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ), |
| 1114 | 1400 | 'category' => 'myaccount_dashboard', |
| 1115 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1401 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1116 | 1402 | 'active' => 'on', |
| 1117 | 1403 | 'package' => $this->pro_package(), |
| 1118 | 1404 | 'fields' => [], |
| 1119 | 1405 | ] |
| @@ -1123,9 +1409,9 @@ | ||
| 1123 | 1409 | [ |
| 1124 | 1410 | 'id' => 'account_order_details_order_again', |
| 1125 | 1411 | 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ), |
| 1126 | 1412 | 'category' => 'myaccount_dashboard', |
| 1127 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1413 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1128 | 1414 | 'active' => 'on', |
| 1129 | 1415 | 'package' => $this->pro_package(), |
| 1130 | 1416 | 'fields' => [], |
| 1131 | 1417 | ] |
| @@ -1135,9 +1421,9 @@ | ||
| 1135 | 1421 | [ |
| 1136 | 1422 | 'id' => 'account_order_details_order_shipping', |
| 1137 | 1423 | 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ), |
| 1138 | 1424 | 'category' => 'myaccount_dashboard', |
| 1139 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1425 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1140 | 1426 | 'active' => 'on', |
| 1141 | 1427 | 'package' => $this->pro_package(), |
| 1142 | 1428 | 'fields' => [], |
| 1143 | 1429 | ] |
| @@ -1147,9 +1433,9 @@ | ||
| 1147 | 1433 | [ |
| 1148 | 1434 | 'id' => 'account_order_details_order_billing', |
| 1149 | 1435 | 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ), |
| 1150 | 1436 | 'category' => 'myaccount_dashboard', |
| 1151 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1437 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1152 | 1438 | 'active' => 'on', |
| 1153 | 1439 | 'package' => $this->pro_package(), |
| 1154 | 1440 | 'fields' => [], |
| 1155 | 1441 | ] |
| @@ -1159,9 +1445,9 @@ | ||
| 1159 | 1445 | [ |
| 1160 | 1446 | 'id' => 'account_edit_billing_address', |
| 1161 | 1447 | 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ), |
| 1162 | 1448 | 'category' => 'myaccount_dashboard', |
| 1163 | - 'is_front_page' => 'myaccount_edit_billing_address', | |
| 1449 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1164 | 1450 | 'active' => 'on', |
| 1165 | 1451 | 'package' => $this->pro_package(), |
| 1166 | 1452 | 'fields' => [], |
| 1167 | 1453 | ] |
| @@ -1171,9 +1457,9 @@ | ||
| 1171 | 1457 | [ |
| 1172 | 1458 | 'id' => 'account_edit_shipping_address', |
| 1173 | 1459 | 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ), |
| 1174 | 1460 | 'category' => 'myaccount_dashboard', |
| 1175 | - 'is_front_page' => 'myaccount_edit_shipping_address', | |
| 1461 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1176 | 1462 | 'active' => 'on', |
| 1177 | 1463 | 'package' => $this->pro_package(), |
| 1178 | 1464 | 'fields' => [], |
| 1179 | 1465 | ] |
| @@ -1178,8 +1464,10 @@ | ||
| 1178 | 1464 | 'fields' => [], |
| 1179 | 1465 | ] |
| 1180 | 1466 | ), |
| 1181 | 1467 | ]; |
| 1468 | + | |
| 1469 | + return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets ); | |
| 1182 | 1470 | } |
| 1183 | 1471 | |
| 1184 | 1472 | /*** |
| 1185 | 1473 | * @return array |
| @@ -1227,9 +1515,9 @@ | ||
| 1227 | 1515 | [ |
| 1228 | 1516 | 'id' => 'account_lost_password', |
| 1229 | 1517 | 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ), |
| 1230 | 1518 | 'category' => 'others_widget', |
| 1231 | - 'is_front_page' => 'myaccount_lost_password', | |
| 1519 | + 'is_front_page' => 'myaccount_auth', | |
| 1232 | 1520 | 'active' => 'on', |
| 1233 | 1521 | 'package' => $this->pro_package(), |
| 1234 | 1522 | 'fields' => [], |
| 1235 | 1523 | ] |