OFBiz
  1. OFBiz
  2. OFBIZ-4291

No method to remove a promo code from the shopping cart

    Details

    • Type: Improvement Improvement
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Release Branch 10.04
    • Fix Version/s: SVN trunk
    • Component/s: order
    • Labels:
      None

      Description

      Hi,

      When working with promotions and promo codes in the shopping cart, it seems not possible to remove one specific promo code from the cart neither through the ShoppingCart and its helpers and services, nor through the ProductPromoWorker.
      ShoppingCart has the method

      addProductPromoCode(String productPromoCodeId, LocalDispatcher dispatcher)

      but no method to remove the added PromoCode. Is there any other worker, service or event that can be called to do this? And if not, is there a specifc reason (maybe relating to promotions application rules) for not implementing this?

      Any response is appreciated.

      Thanks

      1. OFBIZ-4291.patch
        4 kB
        Harsha Chadhar
      2. Updated-Ofbiz-4291.patch
        9 kB
        Ankit Jain
      3. Updated-Ofbiz-4291.patch
        9 kB
        Ankit Jain
      4. unapplyPromotion.txt
        3 kB
        Nandani Aggarwal

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jacques Le Roux
            Reporter:
            Glyton Camilleri
          • Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:

              Development