Want to apply discount rule(attribute based) based on precedence.
We have a requirement to apply only one discount rule based on precedence when multiple rules satisfies the condition. For this we are planning to add a precedence DFF at discount rule name level.
- Create a discount list
- Create multiple discount rule names along with dff populated with reference numbers like (10,20,30)
- Assign the discount list to a strategy.
Create an order and based on the precedence set, only that discount rule name should execute.
To achieve above requirement, any leads on how to make changes to Service mappings or Algorithms. Help is really appreciated.
Tagged:
0