Uploaded image for project: 'YesCart'
  1. YesCart
  2. YC-258 Shopper segmentation
  3. YC-303

Rework ShopDiscount and ShopDiscountRule domain objects

    Details

    • Type: Sub-new feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • 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)

        Attachments

          Activity

            People

            • Assignee:
              denis Denis Pavlov
              Reporter:
              denis Denis Pavlov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: