| @@ -145,28 +145,12 @@ | ||
| 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 | - 'label' => esc_html__( 'Shop Page Settings', 'shopbuilder' ), | |
| 152 | + 'label' => esc_html__( 'Shop Page Settings', 'shopbuilder-pro' ), | |
| 169 | 153 | 'tab' => 'button', |
| 170 | 154 | ], |
| 171 | 155 | 'show_btn_on_loop' => [ |
| 172 | 156 | 'id' => 'show_btn_on_loop', |
| @@ -274,9 +258,9 @@ | ||
| 274 | 258 | ], |
| 275 | 259 | 'wishlist_single_wrapper_heading' => [ |
| 276 | 260 | 'id' => 'wishlist_single_wrapper_heading', |
| 277 | 261 | 'type' => 'title', |
| 278 | - 'label' => esc_html__( 'Product Page Settings', 'shopbuilder' ), | |
| 262 | + 'label' => esc_html__( 'Product Page Settings', 'shopbuilder-pro' ), | |
| 279 | 263 | 'tab' => 'button', |
| 280 | 264 | ], |
| 281 | 265 | 'show_btn_product_page' => [ |
| 282 | 266 | 'id' => 'show_btn_product_page', |
| @@ -447,13 +431,13 @@ | ||
| 447 | 431 | /* translators: 1: The shortcode.*/ |
| 448 | 432 | esc_html__( 'Select a page for wishlist page and make sure you add the shortcode %1$s into the page content', 'shopbuilder' ), |
| 449 | 433 | '<code>[rtsb_wishlist]</code>' |
| 450 | 434 | ), |
| 451 | - 'options' => Fns::get_pages(), | |
| 435 | + 'options' => Fns::get_pages(), | |
| 452 | 436 | 'tab' => 'page', |
| 453 | 437 | ], |
| 454 | 438 | |
| 455 | - 'page_show_fields' => [ | |
| 439 | + 'page_show_fields' => [ | |
| 456 | 440 | 'value' => WishlistFns::instance()->get_field_ids(), |
| 457 | 441 | 'id' => 'page_show_fields', |
| 458 | 442 | 'multiple' => true, |
| 459 | 443 | 'checkbox' => true, |
| @@ -497,9 +481,9 @@ | ||
| 497 | 481 | [ |
| 498 | 482 | 'compare_shop_wrapper_heading' => [ |
| 499 | 483 | 'id' => 'compare_shop_wrapper_heading', |
| 500 | 484 | 'type' => 'title', |
| 501 | - 'label' => esc_html__( 'Shop Page Settings', 'shopbuilder' ), | |
| 485 | + 'label' => esc_html__( 'Shop Page Settings', 'shopbuilder-pro' ), | |
| 502 | 486 | 'tab' => 'button', |
| 503 | 487 | ], |
| 504 | 488 | 'show_btn_on_loop' => [ |
| 505 | 489 | 'id' => 'show_btn_on_loop', |
| @@ -607,9 +591,9 @@ | ||
| 607 | 591 | ], |
| 608 | 592 | 'compare_single_wrapper_heading' => [ |
| 609 | 593 | 'id' => 'compare_single_wrapper_heading', |
| 610 | 594 | 'type' => 'title', |
| 611 | - 'label' => esc_html__( 'Product Page Settings', 'shopbuilder' ), | |
| 595 | + 'label' => esc_html__( 'Product Page Settings', 'shopbuilder-pro' ), | |
| 612 | 596 | 'tab' => 'button', |
| 613 | 597 | ], |
| 614 | 598 | 'show_btn_product_page' => [ |
| 615 | 599 | 'id' => 'show_btn_product_page', |
| @@ -935,22 +919,8 @@ | ||
| 935 | 919 | 'package' => $this->pro_package(), |
| 936 | 920 | 'active_field' => [ |
| 937 | 921 | 'label' => esc_html__( 'Enable Product Size Chart?', 'shopbuilder' ), |
| 938 | 922 | 'help' => esc_html__( 'Switch on to enable Product Size Chart module.', 'shopbuilder' ), |
| 939 | - ], | |
| 940 | - 'fields' => [], | |
| 941 | - ] | |
| 942 | - ), | |
| 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 | 923 | ], |
| 954 | 924 | 'fields' => [], |
| 955 | 925 | ] |
| 956 | 926 | ), |