Closed chrisjrn closed 8 years ago
Design for a fix:
ENABLED_IF_TRUE
, and DISABLED_IF_FALSE
ENABLED_IF_TRUE
condition attached to a product, at least one must be met before the product will be displayed (this is the same as old non-mandatory)DISABLED_IF_FALSE
condition attached to a product, the product will not be displayed if any condition is not med (this is the same as old mandatory)ENABLED_IF_TRUE
and DISABLED_IF_FALSE
conditions are both present, then all DISABLED_IF_FALSE
conditions must be met as well as at least one ENABLED_IF_TRUE
condition.Here's the use case:
TimeOrStockLimitFlag
with a limit of 600; set it as DISABLED_IF_FALSE
VoucherFlag
for each voucher code; set it as ENABLED_IF_TRUE
If you have a mandatory ceiling for a product, then you can't use vouchers or other non-mandatory conditions to selectively enable the product. The mandatory/non-mandatory approach might need some work.