| @@ -47,5 +47,14 @@ | ||
| 47 | 47 | */ |
| 48 | 48 | public static function showTieredPriceInCartAsDiscount(): bool { |
| 49 | 49 | return get_option( Settings::SETTINGS_PREFIX . 'show_discount_in_cart', 'yes' ) === 'yes'; |
| 50 | 50 | } |
| 51 | + | |
| 52 | + /** | |
| 53 | + * Mix and match minimum order quantity for variable products | |
| 54 | + * | |
| 55 | + * @return bool | |
| 56 | + */ | |
| 57 | + public static function isMixAndMatchMinimumEnabled(): bool { | |
| 58 | + return get_option( Settings::SETTINGS_PREFIX . 'mix_and_match_minimum', 'no' ) === 'yes'; | |
| 59 | + } | |
| 51 | 60 | } |