loyalty_criteria_multi_product
This module enables defining complex loyalty program rules that require purchasing specific combinations of multiple products to fulfill criteria.
Key Features
- loyalty.rule: Adds a selection field to choose between domain-based and multi-product criteria for loyalty rules.
- loyalty.rule: Includes a one-to-many field for defining multiple product criteria when multi-product mode is selected.
- loyalty.criteria: Provides a model to specify sets of products and automatically computes the minimum required quantity as the number of products in each set.
- loyalty.program: Sets the default loyalty criteria to domain for various program types to maintain standard behavior.