Details
-
Type: Sub-new feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 2.0.0
-
Component/s: manager client, manager server
-
Labels:None
Description
Need to rework the discount objects:
1. There should not be direct relationship to shop for performance reasons
2. PromotionRule should have a one to one relationship with shop through shop code and a text field for eligibility SPeL expression
3. There are two types of operations for promotion rules: applyOrderDiscount (used for basket operations) and applyCustomerTag (used by customer segmentation cron job)