| @@ -145,24 +145,8 @@ | ||
| 145 | 145 | 'label' => esc_html__( 'Limit Wishlist Use', 'shopbuilder' ), |
| 146 | 146 | 'help' => esc_html__( 'Enable this option to allow only the logged-in users to use the Wishlist feature.', 'shopbuilder' ), |
| 147 | 147 | 'tab' => 'general', |
| 148 | 148 | ], |
| 149 | - 'hide_wishlist_non_logged_in' => [ | |
| 150 | - 'id' => 'hide_wishlist_non_logged_in', | |
| 151 | - 'type' => 'switch', | |
| 152 | - 'label' => esc_html__( 'Hide Wishlist Button', 'shopbuilder' ), | |
| 153 | - 'help' => esc_html__( 'Hide Wishlist Button For non logged-in users (guest users).', 'shopbuilder' ), | |
| 154 | - 'dependency' => [ | |
| 155 | - 'rules' => [ | |
| 156 | - [ | |
| 157 | - 'item' => 'modules.wishlist.enable_login_limit', | |
| 158 | - 'value' => 'on', | |
| 159 | - 'operator' => '==', | |
| 160 | - ], | |
| 161 | - ], | |
| 162 | - ], | |
| 163 | - 'tab' => 'general', | |
| 164 | - ], | |
| 165 | 149 | 'wishlist_shop_wrapper_heading' => [ |
| 166 | 150 | 'id' => 'wishlist_shop_wrapper_heading', |
| 167 | 151 | 'type' => 'title', |
| 168 | 152 | 'label' => esc_html__( 'Shop Page Settings', 'shopbuilder' ), |
| @@ -939,22 +923,22 @@ | ||
| 939 | 923 | ], |
| 940 | 924 | 'fields' => [], |
| 941 | 925 | ] |
| 942 | 926 | ), |
| 943 | - 'product_badges' => apply_filters( | |
| 944 | - 'rtsb/module/product_badges/options', | |
| 945 | - [ | |
| 946 | - 'id' => 'product_badges', | |
| 947 | - 'active' => '', | |
| 948 | - 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 949 | - 'package' => $this->pro_package(), | |
| 950 | - 'active_field' => [ | |
| 951 | - 'label' => esc_html__( 'Enable Product Badges?', 'shopbuilder' ), | |
| 952 | - 'help' => esc_html__( 'Switch on to enable product badges module.', 'shopbuilder' ), | |
| 953 | - ], | |
| 954 | - 'fields' => [], | |
| 955 | - ] | |
| 956 | - ), | |
| 927 | +// 'product_badges' => apply_filters( | |
| 928 | +// 'rtsb/module/product_badges/options', | |
| 929 | +// [ | |
| 930 | +// 'id' => 'product_badges', | |
| 931 | +// 'active' => '', | |
| 932 | +// 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 933 | +// 'package' => $this->pro_package(), | |
| 934 | +// 'active_field' => [ | |
| 935 | +// 'label' => esc_html__( 'Enable Product Badges?', 'shopbuilder' ), | |
| 936 | +// 'help' => esc_html__( 'Switch on to enable product badges module.', 'shopbuilder' ), | |
| 937 | +// ], | |
| 938 | +// 'fields' => [], | |
| 939 | +// ] | |
| 940 | +// ), | |
| 957 | 941 | ]; |
| 958 | 942 | return apply_filters( 'rtsb/core/modules/raw_list', $list ); |
| 959 | 943 | } |
| 960 | 944 | } |