| @@ -11,10 +11,12 @@ | ||
| 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; |
| 18 | +use RadiusTheme\SBPRO\Elementor\Widgets\Checkout as CheckoutPro; | |
| 17 | 19 | |
| 18 | 20 | /** |
| 19 | 21 | * Elementor Element List |
| 20 | 22 | */ |
| @@ -50,8 +52,11 @@ | ||
| 50 | 52 | ], |
| 51 | 53 | 'product' => [ |
| 52 | 54 | 'title' => esc_html__( 'Single', 'shopbuilder' ), |
| 53 | 55 | ], |
| 56 | + 'quick_view' => [ | |
| 57 | + 'title' => esc_html__( 'Quick View', 'shopbuilder' ), | |
| 58 | + ], | |
| 54 | 59 | 'cart' => [ |
| 55 | 60 | 'title' => esc_html__( 'Cart', 'shopbuilder' ), |
| 56 | 61 | ], |
| 57 | 62 | 'checkout' => [ |
| @@ -57,15 +62,15 @@ | ||
| 57 | 62 | 'checkout' => [ |
| 58 | 63 | 'title' => esc_html__( 'Checkout', 'shopbuilder' ), |
| 59 | 64 | ], |
| 60 | 65 | 'thank_you' => [ |
| 61 | - 'title' => esc_html__( 'Order Received', 'shopbuilder-pro' ), | |
| 66 | + 'title' => esc_html__( 'Order Received', 'shopbuilder' ), | |
| 62 | 67 | ], |
| 63 | 68 | 'myaccount_dashboard' => [ |
| 64 | - 'title' => esc_html__( 'My Account', 'shopbuilder-pro' ), | |
| 69 | + 'title' => esc_html__( 'My Account', 'shopbuilder' ), | |
| 65 | 70 | ], |
| 66 | 71 | 'others_widget' => [ |
| 67 | - 'title' => esc_html__( 'Others', 'shopbuilder-pro' ), | |
| 72 | + 'title' => esc_html__( 'Others', 'shopbuilder' ), | |
| 68 | 73 | ], |
| 69 | 74 | ] |
| 70 | 75 | ); |
| 71 | 76 | } |
| @@ -78,8 +83,9 @@ | ||
| 78 | 83 | */ |
| 79 | 84 | protected function raw_list() { |
| 80 | 85 | $list = $this->product_page_widget_list() |
| 81 | 86 | + $this->general_widget_list() |
| 87 | + + $this->product_quick_view() | |
| 82 | 88 | + $this->shop_archive_page_widget_list() |
| 83 | 89 | + $this->cart_page_widget_list() |
| 84 | 90 | + $this->checkout_page_widget_list() |
| 85 | 91 | + $this->thankyou_page_widget_list() |
| @@ -205,8 +211,20 @@ | ||
| 205 | 211 | 'package' => 'free', |
| 206 | 212 | 'fields' => [], |
| 207 | 213 | ] |
| 208 | 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 | + | |
| 209 | 227 | ]; |
| 210 | 228 | |
| 211 | 229 | return apply_filters( 'rtsb/core/elements/general/widget_list', $list ); |
| 212 | 230 | } |
| @@ -270,10 +288,10 @@ | ||
| 270 | 288 | 'product_onsale' => apply_filters( |
| 271 | 289 | 'rtsb/elements/product_onsale/options', |
| 272 | 290 | [ |
| 273 | 291 | 'id' => 'product_onsale', |
| 274 | - 'title' => esc_html__( 'Sale Flash - Onsale', 'shopbuilder' ), | |
| 275 | - 'base_class' => Single\ProductOnSale::class, | |
| 292 | + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 293 | + 'base_class' => Single\ProductBadges::class, | |
| 276 | 294 | 'category' => 'product', |
| 277 | 295 | 'active' => 'on', |
| 278 | 296 | 'package' => 'free', |
| 279 | 297 | 'fields' => [], |
| @@ -414,9 +432,9 @@ | ||
| 414 | 432 | 'product_sales_count' => apply_filters( |
| 415 | 433 | 'rtsb/elements/product_sales_count/options', |
| 416 | 434 | [ |
| 417 | 435 | 'id' => 'product_sales_count', |
| 418 | - 'title' => esc_html__( 'Sales Count', 'shopbuilder-pro' ), | |
| 436 | + 'title' => esc_html__( 'Sales Count', 'shopbuilder' ), | |
| 419 | 437 | 'category' => 'product', |
| 420 | 438 | 'active' => '', |
| 421 | 439 | 'package' => $this->pro_package(), |
| 422 | 440 | 'fields' => [], |
| @@ -421,13 +439,24 @@ | ||
| 421 | 439 | 'package' => $this->pro_package(), |
| 422 | 440 | 'fields' => [], |
| 423 | 441 | ] |
| 424 | 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 | + ), | |
| 425 | 454 | 'flash_sale_countdown' => apply_filters( |
| 426 | 455 | 'rtsb/elements/flash_sale_countdown/options', |
| 427 | 456 | [ |
| 428 | 457 | 'id' => 'flash_sale_countdown', |
| 429 | - 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder-pro' ), | |
| 458 | + 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder' ), | |
| 430 | 459 | 'category' => 'product', |
| 431 | 460 | 'active' => '', |
| 432 | 461 | 'package' => $this->pro_package(), |
| 433 | 462 | 'fields' => [], |
| @@ -436,9 +465,9 @@ | ||
| 436 | 465 | 'product_size_chart' => apply_filters( |
| 437 | 466 | 'rtsb/elements/product_size_chart/options', |
| 438 | 467 | [ |
| 439 | 468 | 'id' => 'product_size_chart', |
| 440 | - 'title' => esc_html__( 'Size Chart', 'shopbuilder-pro' ), | |
| 469 | + 'title' => esc_html__( 'Size Chart', 'shopbuilder' ), | |
| 441 | 470 | 'category' => 'product', |
| 442 | 471 | 'active' => '', |
| 443 | 472 | 'package' => $this->pro_package(), |
| 444 | 473 | 'fields' => [], |
| @@ -447,9 +476,9 @@ | ||
| 447 | 476 | 'product_quick_checkout' => apply_filters( |
| 448 | 477 | 'rtsb/elements/product_quick_checkout/options', |
| 449 | 478 | [ |
| 450 | 479 | 'id' => 'product_quick_checkout', |
| 451 | - 'title' => esc_html__( 'Quick Checkout', 'shopbuilder-pro' ), | |
| 480 | + 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ), | |
| 452 | 481 | 'category' => 'product', |
| 453 | 482 | 'active' => '', |
| 454 | 483 | 'package' => $this->pro_package(), |
| 455 | 484 | 'fields' => [], |
| @@ -466,8 +495,19 @@ | ||
| 466 | 495 | 'package' => 'free', |
| 467 | 496 | 'fields' => [], |
| 468 | 497 | ] |
| 469 | 498 | ), |
| 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 | + ), | |
| 470 | 510 | 'product_reviews' => apply_filters( |
| 471 | 511 | 'rtsb/elements/product_reviews/options', |
| 472 | 512 | [ |
| 473 | 513 | 'id' => 'product_reviews', |
| @@ -556,8 +596,267 @@ | ||
| 556 | 596 | return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list ); |
| 557 | 597 | } |
| 558 | 598 | |
| 559 | 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 | + /** | |
| 560 | 859 | * Product Archive Widget List. |
| 561 | 860 | * |
| 562 | 861 | * @return array |
| 563 | 862 | */ |
| @@ -618,9 +917,9 @@ | ||
| 618 | 917 | 'ajax_product_filters' => apply_filters( |
| 619 | 918 | 'rtsb/elements/ajax_product_filters/options', |
| 620 | 919 | [ |
| 621 | 920 | 'id' => 'ajax_product_filters', |
| 622 | - 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder-pro' ), | |
| 921 | + 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder' ), | |
| 623 | 922 | 'category' => 'shop', |
| 624 | 923 | 'active' => 'on', |
| 625 | 924 | 'package' => $this->pro_package(), |
| 626 | 925 | 'fields' => [], |
| @@ -757,9 +1056,9 @@ | ||
| 757 | 1056 | * @return array |
| 758 | 1057 | */ |
| 759 | 1058 | protected function checkout_page_widget_list() { |
| 760 | 1059 | $list = [ |
| 761 | - 'billing_form' => apply_filters( | |
| 1060 | + 'billing_form' => apply_filters( | |
| 762 | 1061 | 'rtsb/elements/billing_form/options', |
| 763 | 1062 | [ |
| 764 | 1063 | 'id' => 'billing_form', |
| 765 | 1064 | 'title' => esc_html__( 'Billing Form', 'shopbuilder' ), |
| @@ -769,9 +1068,9 @@ | ||
| 769 | 1068 | 'package' => 'free', |
| 770 | 1069 | 'fields' => [], |
| 771 | 1070 | ] |
| 772 | 1071 | ), |
| 773 | - 'shipping_form' => apply_filters( | |
| 1072 | + 'shipping_form' => apply_filters( | |
| 774 | 1073 | 'rtsb/elements/shipping_form/options', |
| 775 | 1074 | [ |
| 776 | 1075 | 'id' => 'shipping_form', |
| 777 | 1076 | 'title' => esc_html__( 'Shipping Form', 'shopbuilder' ), |
| @@ -781,9 +1080,9 @@ | ||
| 781 | 1080 | 'package' => 'free', |
| 782 | 1081 | 'fields' => [], |
| 783 | 1082 | ] |
| 784 | 1083 | ), |
| 785 | - 'order_notes' => apply_filters( | |
| 1084 | + 'order_notes' => apply_filters( | |
| 786 | 1085 | 'rtsb/elements/order_notes/options', |
| 787 | 1086 | [ |
| 788 | 1087 | 'id' => 'order_notes', |
| 789 | 1088 | 'title' => esc_html__( 'Order Notes', 'shopbuilder' ), |
| @@ -793,9 +1092,9 @@ | ||
| 793 | 1092 | 'package' => 'free', |
| 794 | 1093 | 'fields' => [], |
| 795 | 1094 | ] |
| 796 | 1095 | ), |
| 797 | - 'order_review' => apply_filters( | |
| 1096 | + 'order_review' => apply_filters( | |
| 798 | 1097 | 'rtsb/elements/order_review/options', |
| 799 | 1098 | [ |
| 800 | 1099 | 'id' => 'order_review', |
| 801 | 1100 | 'title' => esc_html__( 'Order Review', 'shopbuilder' ), |
| @@ -805,9 +1104,9 @@ | ||
| 805 | 1104 | 'package' => 'free', |
| 806 | 1105 | 'fields' => [], |
| 807 | 1106 | ] |
| 808 | 1107 | ), |
| 809 | - 'checkout_payment' => apply_filters( | |
| 1108 | + 'checkout_payment' => apply_filters( | |
| 810 | 1109 | 'rtsb/elements/checkout_payment/options', |
| 811 | 1110 | [ |
| 812 | 1111 | 'id' => 'checkout_payment', |
| 813 | 1112 | 'title' => esc_html__( 'Checkout Payment Method', 'shopbuilder' ), |
| @@ -817,9 +1116,9 @@ | ||
| 817 | 1116 | 'package' => 'free', |
| 818 | 1117 | 'fields' => [], |
| 819 | 1118 | ] |
| 820 | 1119 | ), |
| 821 | - 'coupon_form' => apply_filters( | |
| 1120 | + 'coupon_form' => apply_filters( | |
| 822 | 1121 | 'rtsb/elements/coupon_form/options', |
| 823 | 1122 | [ |
| 824 | 1123 | 'id' => 'coupon_form', |
| 825 | 1124 | 'title' => esc_html__( 'Coupon Form', 'shopbuilder' ), |
| @@ -829,9 +1128,9 @@ | ||
| 829 | 1128 | 'package' => 'free', |
| 830 | 1129 | 'fields' => [], |
| 831 | 1130 | ] |
| 832 | 1131 | ), |
| 833 | - 'checkout_login_form' => apply_filters( | |
| 1132 | + 'checkout_login_form' => apply_filters( | |
| 834 | 1133 | 'rtsb/elements/checkout_login_form/options', |
| 835 | 1134 | [ |
| 836 | 1135 | 'id' => 'checkout_login_form', |
| 837 | 1136 | 'title' => esc_html__( 'Login Form', 'shopbuilder' ), |
| @@ -841,10 +1140,9 @@ | ||
| 841 | 1140 | 'package' => 'free', |
| 842 | 1141 | 'fields' => [], |
| 843 | 1142 | ] |
| 844 | 1143 | ), |
| 845 | - | |
| 846 | - 'shipping_method' => apply_filters( | |
| 1144 | + 'shipping_method' => apply_filters( | |
| 847 | 1145 | 'rtsb/elements/shipping_method/options', |
| 848 | 1146 | [ |
| 849 | 1147 | 'id' => 'shipping_method', |
| 850 | 1148 | 'title' => esc_html__( 'Shipping Method', 'shopbuilder' ), |
| @@ -854,8 +1152,20 @@ | ||
| 854 | 1152 | 'package' => 'free', |
| 855 | 1153 | 'fields' => [], |
| 856 | 1154 | ] |
| 857 | 1155 | ), |
| 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 | + ), | |
| 858 | 1168 | |
| 859 | 1169 | ]; |
| 860 | 1170 | |
| 861 | 1171 | return apply_filters( 'rtsb/core/elements/checkout/widget_list', $list ); |
| @@ -871,9 +1181,9 @@ | ||
| 871 | 1181 | 'order_received_text' => apply_filters( |
| 872 | 1182 | 'rtsb/elements/order_received_text/options', |
| 873 | 1183 | [ |
| 874 | 1184 | 'id' => 'order_received_text', |
| 875 | - 'title' => esc_html__( 'Order Received Text', 'shopbuilder-pro' ), | |
| 1185 | + 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ), | |
| 876 | 1186 | 'category' => 'thank_you', |
| 877 | 1187 | 'is_front_page' => 'thank_you', |
| 878 | 1188 | 'active' => 'on', |
| 879 | 1189 | 'package' => $this->pro_package(), |
| @@ -883,9 +1193,9 @@ | ||
| 883 | 1193 | 'order_details_summary' => apply_filters( |
| 884 | 1194 | 'rtsb/elements/order_details_summary/options', |
| 885 | 1195 | [ |
| 886 | 1196 | 'id' => 'order_details_summary', |
| 887 | - 'title' => esc_html__( 'Order Details Summary', 'shopbuilder-pro' ), | |
| 1197 | + 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ), | |
| 888 | 1198 | 'category' => 'thank_you', |
| 889 | 1199 | 'is_front_page' => 'thank_you', |
| 890 | 1200 | 'active' => 'on', |
| 891 | 1201 | 'package' => $this->pro_package(), |
| @@ -895,9 +1205,9 @@ | ||
| 895 | 1205 | 'order_details_table' => apply_filters( |
| 896 | 1206 | 'rtsb/elements/order_details_table/options', |
| 897 | 1207 | [ |
| 898 | 1208 | 'id' => 'order_details_table', |
| 899 | - 'title' => esc_html__( 'Order Details Table', 'shopbuilder-pro' ), | |
| 1209 | + 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ), | |
| 900 | 1210 | 'category' => 'thank_you', |
| 901 | 1211 | 'is_front_page' => 'thank_you', |
| 902 | 1212 | 'active' => 'on', |
| 903 | 1213 | 'package' => $this->pro_package(), |
| @@ -907,9 +1217,9 @@ | ||
| 907 | 1217 | 'downloadable_products' => apply_filters( |
| 908 | 1218 | 'rtsb/elements/downloadable_products/options', |
| 909 | 1219 | [ |
| 910 | 1220 | 'id' => 'downloadable_products', |
| 911 | - 'title' => esc_html__( 'Downloadable Products', 'shopbuilder-pro' ), | |
| 1221 | + 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ), | |
| 912 | 1222 | 'category' => 'thank_you', |
| 913 | 1223 | 'is_front_page' => 'thank_you', |
| 914 | 1224 | 'active' => 'on', |
| 915 | 1225 | 'package' => $this->pro_package(), |
| @@ -919,9 +1229,9 @@ | ||
| 919 | 1229 | 'order_billing_address' => apply_filters( |
| 920 | 1230 | 'rtsb/elements/order_billing_address/options', |
| 921 | 1231 | [ |
| 922 | 1232 | 'id' => 'order_billing_address', |
| 923 | - 'title' => esc_html__( 'Order Billing Address', 'shopbuilder-pro' ), | |
| 1233 | + 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ), | |
| 924 | 1234 | 'category' => 'thank_you', |
| 925 | 1235 | 'is_front_page' => 'thank_you', |
| 926 | 1236 | 'active' => 'on', |
| 927 | 1237 | 'package' => $this->pro_package(), |
| @@ -931,9 +1241,9 @@ | ||
| 931 | 1241 | 'order_shipping_address' => apply_filters( |
| 932 | 1242 | 'rtsb/elements/order_shipping_address/options', |
| 933 | 1243 | [ |
| 934 | 1244 | 'id' => 'order_shipping_address', |
| 935 | - 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder-pro' ), | |
| 1245 | + 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ), | |
| 936 | 1246 | 'category' => 'thank_you', |
| 937 | 1247 | 'is_front_page' => 'thank_you', |
| 938 | 1248 | 'active' => 'on', |
| 939 | 1249 | 'package' => $this->pro_package(), |
| @@ -948,15 +1258,14 @@ | ||
| 948 | 1258 | * |
| 949 | 1259 | * @return array |
| 950 | 1260 | */ |
| 951 | 1261 | protected function my_account_page_widget_list() { |
| 952 | - return [ | |
| 953 | - | |
| 1262 | + $widgets = [ | |
| 954 | 1263 | 'account_navigation_edit_shipping' => apply_filters( |
| 955 | 1264 | 'rtsb/elements/account_navigation_edit_shipping/options', |
| 956 | 1265 | [ |
| 957 | 1266 | 'id' => 'account_navigation_edit_shipping', |
| 958 | - 'title' => esc_html__( 'Account Navigation', 'shopbuilder-pro' ), | |
| 1267 | + 'title' => esc_html__( 'Account Navigation', 'shopbuilder' ), | |
| 959 | 1268 | 'category' => 'myaccount_dashboard', |
| 960 | 1269 | 'is_front_page' => 'all_myaccount_dashboard_inner', |
| 961 | 1270 | 'active' => 'on', |
| 962 | 1271 | 'package' => $this->pro_package(), |
| @@ -966,11 +1275,11 @@ | ||
| 966 | 1275 | 'account_dashboard' => apply_filters( |
| 967 | 1276 | 'rtsb/elements/account_dashboard/options', |
| 968 | 1277 | [ |
| 969 | 1278 | 'id' => 'account_dashboard', |
| 970 | - 'title' => esc_html__( 'Account Dashboard', 'shopbuilder-pro' ), | |
| 1279 | + 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ), | |
| 971 | 1280 | 'category' => 'myaccount_dashboard', |
| 972 | - 'is_front_page' => 'myaccount_dashboard', | |
| 1281 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 973 | 1282 | 'active' => 'on', |
| 974 | 1283 | 'package' => $this->pro_package(), |
| 975 | 1284 | 'fields' => [], |
| 976 | 1285 | ] |
| @@ -978,11 +1287,11 @@ | ||
| 978 | 1287 | 'account_orders' => apply_filters( |
| 979 | 1288 | 'rtsb/elements/account_orders/options', |
| 980 | 1289 | [ |
| 981 | 1290 | 'id' => 'account_orders', |
| 982 | - 'title' => esc_html__( 'Account Orders', 'shopbuilder-pro' ), | |
| 1291 | + 'title' => esc_html__( 'Account Orders', 'shopbuilder' ), | |
| 983 | 1292 | 'category' => 'myaccount_dashboard', |
| 984 | - 'is_front_page' => 'myaccount_order', | |
| 1293 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 985 | 1294 | 'active' => 'on', |
| 986 | 1295 | 'package' => $this->pro_package(), |
| 987 | 1296 | 'fields' => [], |
| 988 | 1297 | ] |
| @@ -990,11 +1299,11 @@ | ||
| 990 | 1299 | 'account_downloads' => apply_filters( |
| 991 | 1300 | 'rtsb/elements/account_downloads/options', |
| 992 | 1301 | [ |
| 993 | 1302 | 'id' => 'account_downloads', |
| 994 | - 'title' => esc_html__( 'Account Downloads', 'shopbuilder-pro' ), | |
| 1303 | + 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ), | |
| 995 | 1304 | 'category' => 'myaccount_dashboard', |
| 996 | - 'is_front_page' => 'myaccount_downloads', | |
| 1305 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 997 | 1306 | 'active' => 'on', |
| 998 | 1307 | 'package' => $this->pro_package(), |
| 999 | 1308 | 'fields' => [], |
| 1000 | 1309 | ] |
| @@ -1002,11 +1311,11 @@ | ||
| 1002 | 1311 | 'account_billing_address' => apply_filters( |
| 1003 | 1312 | 'rtsb/elements/account_billing_address/options', |
| 1004 | 1313 | [ |
| 1005 | 1314 | 'id' => 'account_billing_address', |
| 1006 | - 'title' => esc_html__( 'Account Billing Address', 'shopbuilder-pro' ), | |
| 1315 | + 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ), | |
| 1007 | 1316 | 'category' => 'myaccount_dashboard', |
| 1008 | - 'is_front_page' => 'myaccount_address', | |
| 1317 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1009 | 1318 | 'active' => 'on', |
| 1010 | 1319 | 'package' => $this->pro_package(), |
| 1011 | 1320 | 'fields' => [], |
| 1012 | 1321 | ] |
| @@ -1014,11 +1323,11 @@ | ||
| 1014 | 1323 | 'account_shipping_address' => apply_filters( |
| 1015 | 1324 | 'rtsb/elements/account_shipping_address/options', |
| 1016 | 1325 | [ |
| 1017 | 1326 | 'id' => 'account_shipping_address', |
| 1018 | - 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder-pro' ), | |
| 1327 | + 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ), | |
| 1019 | 1328 | 'category' => 'myaccount_dashboard', |
| 1020 | - 'is_front_page' => 'myaccount_address', | |
| 1329 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1021 | 1330 | 'active' => 'on', |
| 1022 | 1331 | 'package' => $this->pro_package(), |
| 1023 | 1332 | 'fields' => [], |
| 1024 | 1333 | ] |
| @@ -1026,11 +1335,11 @@ | ||
| 1026 | 1335 | 'account_address_description' => apply_filters( |
| 1027 | 1336 | 'rtsb/elements/account_address_description/options', |
| 1028 | 1337 | [ |
| 1029 | 1338 | 'id' => 'account_address_description', |
| 1030 | - 'title' => esc_html__( 'Account Address Description', 'shopbuilder-pro' ), | |
| 1339 | + 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ), | |
| 1031 | 1340 | 'category' => 'myaccount_dashboard', |
| 1032 | - 'is_front_page' => 'myaccount_address', | |
| 1341 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1033 | 1342 | 'active' => 'on', |
| 1034 | 1343 | 'package' => $this->pro_package(), |
| 1035 | 1344 | 'fields' => [], |
| 1036 | 1345 | ] |
| @@ -1038,11 +1347,11 @@ | ||
| 1038 | 1347 | 'account_details' => apply_filters( |
| 1039 | 1348 | 'rtsb/elements/account_details/options', |
| 1040 | 1349 | [ |
| 1041 | 1350 | 'id' => 'account_details', |
| 1042 | - 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder-pro' ), | |
| 1351 | + 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ), | |
| 1043 | 1352 | 'category' => 'myaccount_dashboard', |
| 1044 | - 'is_front_page' => 'myaccount_edit_details', | |
| 1353 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1045 | 1354 | 'active' => 'on', |
| 1046 | 1355 | 'package' => $this->pro_package(), |
| 1047 | 1356 | 'fields' => [], |
| 1048 | 1357 | ] |
| @@ -1050,11 +1359,11 @@ | ||
| 1050 | 1359 | 'account_order_status' => apply_filters( |
| 1051 | 1360 | 'rtsb/elements/account_order_status/options', |
| 1052 | 1361 | [ |
| 1053 | 1362 | 'id' => 'account_order_status', |
| 1054 | - 'title' => esc_html__( 'Account Order Status', 'shopbuilder-pro' ), | |
| 1363 | + 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ), | |
| 1055 | 1364 | 'category' => 'myaccount_dashboard', |
| 1056 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1365 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1057 | 1366 | 'active' => 'on', |
| 1058 | 1367 | 'package' => $this->pro_package(), |
| 1059 | 1368 | 'fields' => [], |
| 1060 | 1369 | ] |
| @@ -1062,11 +1371,11 @@ | ||
| 1062 | 1371 | 'account_order_details_download' => apply_filters( |
| 1063 | 1372 | 'rtsb/elements/account_order_details_download/options', |
| 1064 | 1373 | [ |
| 1065 | 1374 | 'id' => 'account_order_details_download', |
| 1066 | - 'title' => esc_html__( 'Account Order Download', 'shopbuilder-pro' ), | |
| 1375 | + 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ), | |
| 1067 | 1376 | 'category' => 'myaccount_dashboard', |
| 1068 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1377 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1069 | 1378 | 'active' => 'on', |
| 1070 | 1379 | 'package' => $this->pro_package(), |
| 1071 | 1380 | 'fields' => [], |
| 1072 | 1381 | ] |
| @@ -1074,11 +1383,11 @@ | ||
| 1074 | 1383 | 'account_order_details_note' => apply_filters( |
| 1075 | 1384 | 'rtsb/elements/account_order_details_note/options', |
| 1076 | 1385 | [ |
| 1077 | 1386 | 'id' => 'account_order_details_note', |
| 1078 | - 'title' => esc_html__( 'Account Order Note', 'shopbuilder-pro' ), | |
| 1387 | + 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ), | |
| 1079 | 1388 | 'category' => 'myaccount_dashboard', |
| 1080 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1389 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1081 | 1390 | 'active' => 'on', |
| 1082 | 1391 | 'package' => $this->pro_package(), |
| 1083 | 1392 | 'fields' => [], |
| 1084 | 1393 | ] |
| @@ -1086,11 +1395,11 @@ | ||
| 1086 | 1395 | 'account_order_details_table' => apply_filters( |
| 1087 | 1396 | 'rtsb/elements/account_order_details_table/options', |
| 1088 | 1397 | [ |
| 1089 | 1398 | 'id' => 'account_order_details_table', |
| 1090 | - 'title' => esc_html__( 'Account Order Table', 'shopbuilder-pro' ), | |
| 1399 | + 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ), | |
| 1091 | 1400 | 'category' => 'myaccount_dashboard', |
| 1092 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1401 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1093 | 1402 | 'active' => 'on', |
| 1094 | 1403 | 'package' => $this->pro_package(), |
| 1095 | 1404 | 'fields' => [], |
| 1096 | 1405 | ] |
| @@ -1098,11 +1407,11 @@ | ||
| 1098 | 1407 | 'account_order_details_order_again' => apply_filters( |
| 1099 | 1408 | 'rtsb/elements/account_order_details_order_again/options', |
| 1100 | 1409 | [ |
| 1101 | 1410 | 'id' => 'account_order_details_order_again', |
| 1102 | - 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder-pro' ), | |
| 1411 | + 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ), | |
| 1103 | 1412 | 'category' => 'myaccount_dashboard', |
| 1104 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1413 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1105 | 1414 | 'active' => 'on', |
| 1106 | 1415 | 'package' => $this->pro_package(), |
| 1107 | 1416 | 'fields' => [], |
| 1108 | 1417 | ] |
| @@ -1110,11 +1419,11 @@ | ||
| 1110 | 1419 | 'account_order_details_order_shipping' => apply_filters( |
| 1111 | 1420 | 'rtsb/elements/account_order_details_order_shipping/options', |
| 1112 | 1421 | [ |
| 1113 | 1422 | 'id' => 'account_order_details_order_shipping', |
| 1114 | - 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder-pro' ), | |
| 1423 | + 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ), | |
| 1115 | 1424 | 'category' => 'myaccount_dashboard', |
| 1116 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1425 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1117 | 1426 | 'active' => 'on', |
| 1118 | 1427 | 'package' => $this->pro_package(), |
| 1119 | 1428 | 'fields' => [], |
| 1120 | 1429 | ] |
| @@ -1122,11 +1431,11 @@ | ||
| 1122 | 1431 | 'account_order_details_order_billing' => apply_filters( |
| 1123 | 1432 | 'rtsb/elements/account_order_details_order_billing/options', |
| 1124 | 1433 | [ |
| 1125 | 1434 | 'id' => 'account_order_details_order_billing', |
| 1126 | - 'title' => esc_html__( 'Account Order Billing', 'shopbuilder-pro' ), | |
| 1435 | + 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ), | |
| 1127 | 1436 | 'category' => 'myaccount_dashboard', |
| 1128 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1437 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1129 | 1438 | 'active' => 'on', |
| 1130 | 1439 | 'package' => $this->pro_package(), |
| 1131 | 1440 | 'fields' => [], |
| 1132 | 1441 | ] |
| @@ -1134,11 +1443,11 @@ | ||
| 1134 | 1443 | 'account_edit_billing_address' => apply_filters( |
| 1135 | 1444 | 'rtsb/elements/account_edit_billing_address/options', |
| 1136 | 1445 | [ |
| 1137 | 1446 | 'id' => 'account_edit_billing_address', |
| 1138 | - 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder-pro' ), | |
| 1447 | + 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ), | |
| 1139 | 1448 | 'category' => 'myaccount_dashboard', |
| 1140 | - 'is_front_page' => 'myaccount_edit_billing_address', | |
| 1449 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1141 | 1450 | 'active' => 'on', |
| 1142 | 1451 | 'package' => $this->pro_package(), |
| 1143 | 1452 | 'fields' => [], |
| 1144 | 1453 | ] |
| @@ -1146,11 +1455,11 @@ | ||
| 1146 | 1455 | 'account_edit_shipping_address' => apply_filters( |
| 1147 | 1456 | 'rtsb/elements/account_edit_shipping_address/options', |
| 1148 | 1457 | [ |
| 1149 | 1458 | 'id' => 'account_edit_shipping_address', |
| 1150 | - 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder-pro' ), | |
| 1459 | + 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ), | |
| 1151 | 1460 | 'category' => 'myaccount_dashboard', |
| 1152 | - 'is_front_page' => 'myaccount_edit_shipping_address', | |
| 1461 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1153 | 1462 | 'active' => 'on', |
| 1154 | 1463 | 'package' => $this->pro_package(), |
| 1155 | 1464 | 'fields' => [], |
| 1156 | 1465 | ] |
| @@ -1155,8 +1464,10 @@ | ||
| 1155 | 1464 | 'fields' => [], |
| 1156 | 1465 | ] |
| 1157 | 1466 | ), |
| 1158 | 1467 | ]; |
| 1468 | + | |
| 1469 | + return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets ); | |
| 1159 | 1470 | } |
| 1160 | 1471 | |
| 1161 | 1472 | /*** |
| 1162 | 1473 | * @return array |
| @@ -1162,13 +1473,13 @@ | ||
| 1162 | 1473 | * @return array |
| 1163 | 1474 | */ |
| 1164 | 1475 | protected function myaccount_auth_page_widget_list() { |
| 1165 | 1476 | return [ |
| 1166 | - 'account_login' => apply_filters( | |
| 1477 | + 'account_login' => apply_filters( | |
| 1167 | 1478 | 'rtsb/elements/account_login/options', |
| 1168 | 1479 | [ |
| 1169 | 1480 | 'id' => 'account_login', |
| 1170 | - 'title' => esc_html__( 'Login Register Form', 'shopbuilder-pro' ), | |
| 1481 | + 'title' => esc_html__( 'Login Register Form', 'shopbuilder' ), | |
| 1171 | 1482 | 'category' => 'others_widget', |
| 1172 | 1483 | 'is_front_page' => 'myaccount_auth', |
| 1173 | 1484 | 'active' => 'on', |
| 1174 | 1485 | 'package' => $this->pro_package(), |
| @@ -1174,13 +1485,37 @@ | ||
| 1174 | 1485 | 'package' => $this->pro_package(), |
| 1175 | 1486 | 'fields' => [], |
| 1176 | 1487 | ] |
| 1177 | 1488 | ), |
| 1178 | - 'account_lost_password' => apply_filters( | |
| 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( | |
| 1179 | 1514 | 'rtsb/elements/account_lost_password/options', |
| 1180 | 1515 | [ |
| 1181 | 1516 | 'id' => 'account_lost_password', |
| 1182 | - 'title' => esc_html__( 'Lost Password Form', 'shopbuilder-pro' ), | |
| 1517 | + 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ), | |
| 1183 | 1518 | 'category' => 'others_widget', |
| 1184 | 1519 | 'is_front_page' => 'myaccount_lost_password', |
| 1185 | 1520 | 'active' => 'on', |
| 1186 | 1521 | 'package' => $this->pro_package(), |