Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4291

No method to remove a promo code from the shopping cart

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • Release Branch 10.04
    • None
    • order
    • None
    • Bug Crush Event - 21/2/2015

    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

      Attachments

        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

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              glca Glyton Camilleri
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: