| @@ -2868,8 +2868,9 @@ | ||
| 2868 | 2868 | ], |
| 2869 | 2869 | ], |
| 2870 | 2870 | ], |
| 2871 | 2871 | ], |
| 2872 | + /* | |
| 2872 | 2873 | 'loop_priority_note' => [ |
| 2873 | 2874 | 'type' => 'raw', |
| 2874 | 2875 | 'label' => ' ', |
| 2875 | 2876 | 'html' => '<span style="color:red">' . esc_html__( 'If the badge position is incorrect or not displayed, please adjust the priority of hooks accordingly by increasing or decreasing them as necessary.', 'shopbuilder' ) . '</span>', |
| @@ -2883,8 +2884,9 @@ | ||
| 2883 | 2884 | ], |
| 2884 | 2885 | ], |
| 2885 | 2886 | 'tab' => 'group', |
| 2886 | 2887 | ], |
| 2888 | + */ | |
| 2887 | 2889 | 'group_position_hook_priority' => [ |
| 2888 | 2890 | 'id' => 'group_position_hook_priority', |
| 2889 | 2891 | 'type' => 'number', |
| 2890 | 2892 | 'size' => 'small', |
| @@ -2896,10 +2898,10 @@ | ||
| 2896 | 2898 | 'dependency' => [ |
| 2897 | 2899 | 'rules' => [ |
| 2898 | 2900 | [ |
| 2899 | 2901 | 'item' => 'modules.product_badges.loop_group_position', |
| 2900 | - 'value' => 'above_image', | |
| 2901 | - 'operator' => '!=', | |
| 2902 | + 'value' => 'custom', | |
| 2903 | + 'operator' => '==', | |
| 2902 | 2904 | ], |
| 2903 | 2905 | ], |
| 2904 | 2906 | ], |
| 2905 | 2907 | ], |
| @@ -2987,8 +2989,9 @@ | ||
| 2987 | 2989 | ], |
| 2988 | 2990 | ], |
| 2989 | 2991 | ], |
| 2990 | 2992 | ], |
| 2993 | + /* | |
| 2991 | 2994 | 'product_page_priority_note' => [ |
| 2992 | 2995 | 'type' => 'raw', |
| 2993 | 2996 | 'label' => ' ', |
| 2994 | 2997 | 'html' => '<span style="color:red">' . esc_html__( 'If the badge position is incorrect or not displayed, please adjust the priority of hooks accordingly by increasing or decreasing them as necessary.', 'shopbuilder' ) . '</span>', |
| @@ -3002,8 +3005,9 @@ | ||
| 3002 | 3005 | ], |
| 3003 | 3006 | ], |
| 3004 | 3007 | 'tab' => 'group', |
| 3005 | 3008 | ], |
| 3009 | + */ | |
| 3006 | 3010 | 'product_page_group_hook_priority' => [ |
| 3007 | 3011 | 'id' => 'product_page_group_hook_priority', |
| 3008 | 3012 | 'type' => 'number', |
| 3009 | 3013 | 'size' => 'small', |
| @@ -3015,10 +3019,10 @@ | ||
| 3015 | 3019 | 'dependency' => [ |
| 3016 | 3020 | 'rules' => [ |
| 3017 | 3021 | [ |
| 3018 | 3022 | 'item' => 'modules.product_badges.product_page_group_position', |
| 3019 | - 'value' => [ 'shortcode', 'above_image' ], | |
| 3020 | - 'operator' => '!in', | |
| 3023 | + 'value' => 'custom', | |
| 3024 | + 'operator' => '==', | |
| 3021 | 3025 | ], |
| 3022 | 3026 | ], |
| 3023 | 3027 | ], |
| 3024 | 3028 | |