| @@ -112,9 +112,9 @@ | ||
| 112 | 112 | 'label' => esc_html__( 'Enter Hook Name', 'shopbuilder' ), |
| 113 | 113 | 'help' => sprintf( |
| 114 | 114 | /* translators: 1: The shortcode.*/ |
| 115 | 115 | esc_html__( 'Or Copy the php code %1$s and paste it in your product query where you want to show the button.', 'shopbuilder' ), |
| 116 | - "<code><?php do_action( 'rtsb/modules/quick_view/frontend/display' ); ?></code>" | |
| 116 | + "<br /><code><?php do_action( 'rtsb/modules/quick_view/frontend/display' ); ?></code><br />" | |
| 117 | 117 | ), |
| 118 | 118 | 'tab' => 'general', |
| 119 | 119 | 'dependency' => [ |
| 120 | 120 | 'rules' => [ |
| @@ -318,9 +318,9 @@ | ||
| 318 | 318 | 'tab' => 'button', |
| 319 | 319 | 'help' => sprintf( |
| 320 | 320 | /* translators: 1: The shortcode.*/ |
| 321 | 321 | esc_html__( 'Or Copy the php code %1$s and paste it in your product query where you want to show the button.', 'shopbuilder' ), |
| 322 | - "<code><?php do_action('rtsb/modules/wishlist/frontend/display' ); ?></code>" | |
| 322 | + "<br /><code><?php do_action('rtsb/modules/wishlist/frontend/display' ); ?></code><br />" | |
| 323 | 323 | ), |
| 324 | 324 | 'dependency' => [ |
| 325 | 325 | 'rules' => [ |
| 326 | 326 | [ |
| @@ -430,9 +430,9 @@ | ||
| 430 | 430 | 'tab' => 'button', |
| 431 | 431 | 'help' => sprintf( |
| 432 | 432 | /* translators: 1: The shortcode.*/ |
| 433 | 433 | esc_html__( 'Or Copy the php code %1$s and paste it in your product query where you want to show the button.', 'shopbuilder' ), |
| 434 | - "<code><?php do_action('rtsb/modules/wishlist/frontend/display' ); ?></code>" | |
| 434 | + "<br /><code><?php do_action('rtsb/modules/wishlist/frontend/display' ); ?></code><br />" | |
| 435 | 435 | ), |
| 436 | 436 | 'dependency' => [ |
| 437 | 437 | 'rules' => [ |
| 438 | 438 | [ |
| @@ -526,9 +526,8 @@ | ||
| 526 | 526 | 'label' => esc_html__( 'Remove if Added to Cart', 'shopbuilder' ), |
| 527 | 527 | 'tab' => 'page', |
| 528 | 528 | ), |
| 529 | 529 | */ |
| 530 | - | |
| 531 | 530 | 'page' => [ |
| 532 | 531 | 'id' => 'page', |
| 533 | 532 | 'type' => 'select', |
| 534 | 533 | 'label' => esc_html__( 'Select Wishlist Page', 'shopbuilder' ), |
| @@ -539,9 +538,8 @@ | ||
| 539 | 538 | ), |
| 540 | 539 | 'options' => Fns::get_pages(), |
| 541 | 540 | 'tab' => 'page', |
| 542 | 541 | ], |
| 543 | - | |
| 544 | 542 | 'page_show_fields' => [ |
| 545 | 543 | 'value' => WishlistFns::instance()->get_field_ids(), |
| 546 | 544 | 'id' => 'page_show_fields', |
| 547 | 545 | 'multiple' => true, |
| @@ -651,9 +649,9 @@ | ||
| 651 | 649 | 'tab' => 'button', |
| 652 | 650 | 'help' => sprintf( |
| 653 | 651 | /* translators: 1: The shortcode.*/ |
| 654 | 652 | esc_html__( 'Or Copy the php code %1$s and paste it in your product query where you want to show the button.', 'shopbuilder' ), |
| 655 | - "<code><?php do_action('rtsb/modules/compare/frontend/display' ); ?></code>" | |
| 653 | + "<br /><code><?php do_action('rtsb/modules/compare/frontend/display' ); ?></code><br />" | |
| 656 | 654 | ), |
| 657 | 655 | 'dependency' => [ |
| 658 | 656 | 'rules' => [ |
| 659 | 657 | [ |
| @@ -763,9 +761,9 @@ | ||
| 763 | 761 | 'tab' => 'button', |
| 764 | 762 | 'help' => sprintf( |
| 765 | 763 | /* translators: 1: The shortcode.*/ |
| 766 | 764 | esc_html__( 'Or Copy the php code %1$s and paste it in your product query where you want to show the button.', 'shopbuilder' ), |
| 767 | - "<code><?php do_action('rtsb/modules/compare/frontend/display' ); ?></code>" | |
| 765 | + "<br /><code><?php do_action('rtsb/modules/compare/frontend/display' ); ?></code><br />" | |
| 768 | 766 | ), |
| 769 | 767 | 'dependency' => [ |
| 770 | 768 | 'rules' => [ |
| 771 | 769 | [ |
| @@ -891,27 +889,27 @@ | ||
| 891 | 889 | |
| 892 | 890 | ], |
| 893 | 891 | ] |
| 894 | 892 | ), |
| 895 | - 'variation_gallery' => apply_filters( | |
| 896 | - 'rtsb/module/variation_gallery/options', | |
| 893 | + 'variation_swatches' => apply_filters( | |
| 894 | + 'rtsb/module/variation_swatches/options', | |
| 897 | 895 | [ |
| 898 | - 'id' => 'variation_gallery', | |
| 896 | + 'id' => 'variation_swatches', | |
| 899 | 897 | 'external' => true, |
| 900 | 898 | 'category' => 'general', |
| 901 | - 'title' => esc_html__( 'Variation Gallery', 'shopbuilder' ), | |
| 902 | - 'pluginSlug' => 'woo-product-variation-gallery', | |
| 903 | - 'pluginIsInstalled' => Fns::check_plugin_installed( 'woo-product-variation-gallery/woo-product-variation-gallery.php' ), | |
| 904 | - 'pluginIsActive' => Fns::check_plugin_active( 'woo-product-variation-gallery/woo-product-variation-gallery.php' ), | |
| 899 | + 'title' => esc_html__( 'Variation Swatches', 'shopbuilder' ), | |
| 900 | + 'pluginSlug' => 'woo-product-variation-swatches', | |
| 901 | + 'pluginIsInstalled' => Fns::check_plugin_installed( 'woo-product-variation-swatches/woo-product-variation-swatches.php' ), | |
| 902 | + 'pluginIsActive' => Fns::check_plugin_active( 'woo-product-variation-swatches/woo-product-variation-swatches.php' ), | |
| 905 | 903 | 'pluginActiveUrl' => add_query_arg( |
| 906 | 904 | [ |
| 907 | - '_wpnonce' => wp_create_nonce( 'activate-plugin_woo-product-variation-gallery/woo-product-variation-gallery.php' ), | |
| 905 | + '_wpnonce' => wp_create_nonce( 'activate-plugin_woo-product-variation-swatches/woo-product-variation-swatches.php' ), | |
| 908 | 906 | 'action' => 'activate', |
| 909 | - 'plugin' => 'woo-product-variation-gallery/woo-product-variation-gallery.php', | |
| 907 | + 'plugin' => 'woo-product-variation-swatches/woo-product-variation-swatches.php', | |
| 910 | 908 | ], |
| 911 | 909 | admin_url( 'plugins.php' ) |
| 912 | 910 | ), |
| 913 | - 'help' => esc_html__( 'This module requires: Variation Images Gallery for WooCommerce Plugin', 'shopbuilder' ), | |
| 911 | + 'help' => esc_html__( 'This module requires: Variation Swatches for WooCommerce Plugin.', 'shopbuilder' ), | |
| 914 | 912 | 'package' => 'free', |
| 915 | 913 | 'active_field' => [ |
| 916 | 914 | 'disable' => false, |
| 917 | 915 | ], |
| @@ -917,27 +915,27 @@ | ||
| 917 | 915 | ], |
| 918 | 916 | 'fields' => [], |
| 919 | 917 | ] |
| 920 | 918 | ), |
| 921 | - 'variation_swatches' => apply_filters( | |
| 922 | - 'rtsb/module/variation_swatches/options', | |
| 919 | + 'variation_gallery' => apply_filters( | |
| 920 | + 'rtsb/module/variation_gallery/options', | |
| 923 | 921 | [ |
| 924 | - 'id' => 'variation_swatches', | |
| 922 | + 'id' => 'variation_gallery', | |
| 925 | 923 | 'external' => true, |
| 926 | 924 | 'category' => 'general', |
| 927 | - 'title' => esc_html__( 'Variation Swatches', 'shopbuilder' ), | |
| 928 | - 'pluginSlug' => 'woo-product-variation-swatches', | |
| 929 | - 'pluginIsInstalled' => Fns::check_plugin_installed( 'woo-product-variation-swatches/woo-product-variation-swatches.php' ), | |
| 930 | - 'pluginIsActive' => Fns::check_plugin_active( 'woo-product-variation-swatches/woo-product-variation-swatches.php' ), | |
| 925 | + 'title' => esc_html__( 'Variation Gallery', 'shopbuilder' ), | |
| 926 | + 'pluginSlug' => 'woo-product-variation-gallery', | |
| 927 | + 'pluginIsInstalled' => Fns::check_plugin_installed( 'woo-product-variation-gallery/woo-product-variation-gallery.php' ), | |
| 928 | + 'pluginIsActive' => Fns::check_plugin_active( 'woo-product-variation-gallery/woo-product-variation-gallery.php' ), | |
| 931 | 929 | 'pluginActiveUrl' => add_query_arg( |
| 932 | 930 | [ |
| 933 | - '_wpnonce' => wp_create_nonce( 'activate-plugin_woo-product-variation-swatches/woo-product-variation-swatches.php' ), | |
| 931 | + '_wpnonce' => wp_create_nonce( 'activate-plugin_woo-product-variation-gallery/woo-product-variation-gallery.php' ), | |
| 934 | 932 | 'action' => 'activate', |
| 935 | - 'plugin' => 'woo-product-variation-swatches/woo-product-variation-swatches.php', | |
| 933 | + 'plugin' => 'woo-product-variation-gallery/woo-product-variation-gallery.php', | |
| 936 | 934 | ], |
| 937 | 935 | admin_url( 'plugins.php' ) |
| 938 | 936 | ), |
| 939 | - 'help' => esc_html__( 'This module requires: Variation Swatches for WooCommerce Plugin.', 'shopbuilder' ), | |
| 937 | + 'help' => esc_html__( 'This module requires: Variation Images Gallery for WooCommerce Plugin', 'shopbuilder' ), | |
| 940 | 938 | 'package' => 'free', |
| 941 | 939 | 'active_field' => [ |
| 942 | 940 | 'disable' => false, |
| 943 | 941 | ], |
| @@ -943,8 +941,37 @@ | ||
| 943 | 941 | ], |
| 944 | 942 | 'fields' => [], |
| 945 | 943 | ] |
| 946 | 944 | ), |
| 945 | + 'mini_cart' => apply_filters( | |
| 946 | + 'rtsb/module/mini_cart/options', | |
| 947 | + [ | |
| 948 | + 'id' => 'mini_cart', | |
| 949 | + 'active' => '', | |
| 950 | + 'title' => esc_html__( 'Mini Cart', 'shopbuilder' ), | |
| 951 | + 'package' => $this->pro_package(), | |
| 952 | + 'active_field' => [ | |
| 953 | + 'label' => esc_html__( 'Enable Mini Cart?', 'shopbuilder' ), | |
| 954 | + 'help' => esc_html__( 'Switch on to enable mini cart module.', 'shopbuilder' ), | |
| 955 | + ], | |
| 956 | + 'is_active' => true, | |
| 957 | + 'fields' => [], | |
| 958 | + ] | |
| 959 | + ), | |
| 960 | + 'product_size_chart' => apply_filters( | |
| 961 | + 'rtsb/module/product_size_chart/options', | |
| 962 | + [ | |
| 963 | + 'id' => 'product_size_chart', | |
| 964 | + 'active' => '', | |
| 965 | + 'title' => esc_html__( 'Product Size Chart', 'shopbuilder' ), | |
| 966 | + 'package' => $this->pro_package(), | |
| 967 | + 'active_field' => [ | |
| 968 | + 'label' => esc_html__( 'Enable Product Size Chart?', 'shopbuilder' ), | |
| 969 | + 'help' => esc_html__( 'Switch on to enable Product Size Chart module.', 'shopbuilder' ), | |
| 970 | + ], | |
| 971 | + 'fields' => [], | |
| 972 | + ] | |
| 973 | + ), | |
| 947 | 974 | 'product_badges' => apply_filters( |
| 948 | 975 | 'rtsb/module/product_badges/options', |
| 949 | 976 | [ |
| 950 | 977 | 'id' => 'product_badges', |
| @@ -957,50 +984,67 @@ | ||
| 957 | 984 | ], |
| 958 | 985 | 'fields' => [], |
| 959 | 986 | ] |
| 960 | 987 | ), |
| 961 | - 'product_size_chart' => apply_filters( | |
| 962 | - 'rtsb/module/product_size_chart/options', | |
| 988 | + 'customize_my_account' => apply_filters( | |
| 989 | + 'rtsb/module/customize_my_account/options', | |
| 963 | 990 | [ |
| 964 | - 'id' => 'product_size_chart', | |
| 991 | + 'id' => 'customize_my_account', | |
| 965 | 992 | 'active' => '', |
| 966 | - 'title' => esc_html__( 'Product Size Chart', 'shopbuilder' ), | |
| 993 | + 'title' => esc_html__( 'Customize My Account', 'shopbuilder' ), | |
| 967 | 994 | 'package' => $this->pro_package(), |
| 968 | 995 | 'active_field' => [ |
| 969 | - 'label' => esc_html__( 'Enable Product Size Chart?', 'shopbuilder' ), | |
| 970 | - 'help' => esc_html__( 'Switch on to enable Product Size Chart module.', 'shopbuilder' ), | |
| 996 | + 'label' => esc_html__( 'Enable Customize My Account?', 'shopbuilder' ), | |
| 997 | + 'help' => esc_html__( 'Switch on to enable customize my account module.', 'shopbuilder' ), | |
| 971 | 998 | ], |
| 972 | 999 | 'fields' => [], |
| 973 | 1000 | ] |
| 974 | 1001 | ), |
| 975 | - 'back_order' => apply_filters( | |
| 976 | - 'rtsb/module/back_order/options', | |
| 1002 | + 'pre_order' => apply_filters( | |
| 1003 | + 'rtsb/module/pre_order/options', | |
| 977 | 1004 | [ |
| 978 | - 'id' => 'back_order', | |
| 1005 | + 'id' => 'pre_order', | |
| 979 | 1006 | 'active' => '', |
| 980 | - 'title' => esc_html__( 'Back-Order', 'shopbuilder' ), | |
| 1007 | + 'title' => esc_html__( 'Pre-Order', 'shopbuilder' ), | |
| 981 | 1008 | 'package' => $this->pro_package(), |
| 982 | 1009 | 'active_field' => [ |
| 983 | - 'label' => esc_html__( 'Enable Back-Order?', 'shopbuilder' ), | |
| 984 | - 'help' => esc_html__( 'Switch on to enable back-order module.', 'shopbuilder' ), | |
| 1010 | + 'label' => esc_html__( 'Enable Pre-Order?', 'shopbuilder' ), | |
| 1011 | + 'help' => esc_html__( 'Switch on to enable pre-order module.', 'shopbuilder' ), | |
| 985 | 1012 | ], |
| 986 | 1013 | 'fields' => [], |
| 987 | 1014 | ] |
| 988 | 1015 | ), |
| 989 | - 'flash_sale_countdown' => apply_filters( | |
| 990 | - 'rtsb/module/flash_sale_countdown/options', | |
| 1016 | + 'currency_switcher' => apply_filters( | |
| 1017 | + 'rtsb/module/currency_switcher/options', | |
| 991 | 1018 | [ |
| 992 | - 'id' => 'flash_sale_countdown', | |
| 1019 | + 'id' => 'currency_switcher', | |
| 993 | 1020 | 'active' => '', |
| 994 | - 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder' ), | |
| 1021 | + 'title' => esc_html__( 'Currency Switcher', 'shopbuilder' ), | |
| 995 | 1022 | 'package' => $this->pro_package(), |
| 996 | 1023 | 'active_field' => [ |
| 997 | - 'label' => esc_html__( 'Enable Flash Sale Countdown?', 'shopbuilder' ), | |
| 998 | - 'help' => esc_html__( 'Switch on to enable Flash Sale Countdown module.', 'shopbuilder' ), | |
| 1024 | + 'label' => esc_html__( 'Enable Currency Switcher?', 'shopbuilder' ), | |
| 1025 | + 'help' => esc_html__( 'Switch on to enable currency switcher module.', 'shopbuilder' ), | |
| 999 | 1026 | ], |
| 1027 | + 'is_active' => true, | |
| 1000 | 1028 | 'fields' => [], |
| 1001 | 1029 | ] |
| 1002 | 1030 | ), |
| 1031 | + 'product_add_ons' => apply_filters( | |
| 1032 | + 'rtsb/module/product_add_ons/options', | |
| 1033 | + [ | |
| 1034 | + 'id' => 'product_add_ons', | |
| 1035 | + 'active' => '', | |
| 1036 | + 'title' => esc_html__( 'Product Add-Ons', 'shopbuilder' ), | |
| 1037 | + 'package' => $this->pro_package(), | |
| 1038 | + 'active_field' => [ | |
| 1039 | + 'label' => esc_html__( 'Enable Product Add-Ons?', 'shopbuilder' ), | |
| 1040 | + 'help' => esc_html__( 'Switch on to enable product add-ons module.', 'shopbuilder' ), | |
| 1041 | + ], | |
| 1042 | + 'is_active' => true, | |
| 1043 | + 'fields' => [], | |
| 1044 | + ] | |
| 1045 | + ), | |
| 1046 | + // Checkout Fields Manager. | |
| 1003 | 1047 | 'sales_notification' => apply_filters( |
| 1004 | 1048 | 'rtsb/module/sales_notification/options', |
| 1005 | 1049 | [ |
| 1006 | 1050 | 'id' => 'sales_notification', |
| @@ -1013,8 +1057,22 @@ | ||
| 1013 | 1057 | ], |
| 1014 | 1058 | 'fields' => [], |
| 1015 | 1059 | ] |
| 1016 | 1060 | ), |
| 1061 | + 'flash_sale_countdown' => apply_filters( | |
| 1062 | + 'rtsb/module/flash_sale_countdown/options', | |
| 1063 | + [ | |
| 1064 | + 'id' => 'flash_sale_countdown', | |
| 1065 | + 'active' => '', | |
| 1066 | + 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder' ), | |
| 1067 | + 'package' => $this->pro_package(), | |
| 1068 | + 'active_field' => [ | |
| 1069 | + 'label' => esc_html__( 'Enable Flash Sale Countdown?', 'shopbuilder' ), | |
| 1070 | + 'help' => esc_html__( 'Switch on to enable Flash Sale Countdown module.', 'shopbuilder' ), | |
| 1071 | + ], | |
| 1072 | + 'fields' => [], | |
| 1073 | + ] | |
| 1074 | + ), | |
| 1017 | 1075 | 'quick_checkout' => apply_filters( |
| 1018 | 1076 | 'rtsb/module/quick_checkout/options', |
| 1019 | 1077 | [ |
| 1020 | 1078 | 'id' => 'quick_checkout', |
| @@ -1041,20 +1099,19 @@ | ||
| 1041 | 1099 | ], |
| 1042 | 1100 | 'fields' => [], |
| 1043 | 1101 | ] |
| 1044 | 1102 | ), |
| 1045 | - 'mini_cart' => apply_filters( | |
| 1046 | - 'rtsb/module/mini_cart/options', | |
| 1103 | + 'back_order' => apply_filters( | |
| 1104 | + 'rtsb/module/back_order/options', | |
| 1047 | 1105 | [ |
| 1048 | - 'id' => 'mini_cart', | |
| 1106 | + 'id' => 'back_order', | |
| 1049 | 1107 | 'active' => '', |
| 1050 | - 'title' => esc_html__( 'Mini Cart', 'shopbuilder' ), | |
| 1108 | + 'title' => esc_html__( 'Back-Order', 'shopbuilder' ), | |
| 1051 | 1109 | 'package' => $this->pro_package(), |
| 1052 | 1110 | 'active_field' => [ |
| 1053 | - 'label' => esc_html__( 'Enable Mini Cart?', 'shopbuilder' ), | |
| 1054 | - 'help' => esc_html__( 'Switch on to enable mini cart module.', 'shopbuilder' ), | |
| 1111 | + 'label' => esc_html__( 'Enable Back-Order?', 'shopbuilder' ), | |
| 1112 | + 'help' => esc_html__( 'Switch on to enable back-order module.', 'shopbuilder' ), | |
| 1055 | 1113 | ], |
| 1056 | - 'is_active' => true, | |
| 1057 | 1114 | 'fields' => [], |
| 1058 | 1115 | ] |
| 1059 | 1116 | ), |
| 1060 | 1117 | ]; |