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: None
    • Component/s: order
    • Labels:
      None
    • Sprint:
      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

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

        Activity

        Glyton Camilleri created issue -
        Glyton Camilleri made changes -
        Field Original Value New Value
        Fix Version/s SVN trunk [ 12311928 ]
        Nandani Aggarwal made changes -
        Attachment unapplyPromotion.txt [ 12530897 ]
        Nandani Aggarwal made changes -
        Attachment unapplyPromotion.txt [ 12530897 ]
        Nandani Aggarwal made changes -
        Attachment unapplyPromotion.txt [ 12530898 ]
        Ankit Jain made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Ankit Jain made changes -
        Attachment Updated-Ofbiz-4291.patch [ 12585222 ]
        Ankit Jain made changes -
        Attachment Updated-Ofbiz-4291.patch [ 12585410 ]
        Jacques Le Roux made changes -
        Status Patch Available [ 10002 ] Closed [ 6 ]
        Assignee Jacques Le Roux [ jacques.le.roux ]
        Fix Version/s SVN trunk [ 12311928 ]
        Resolution Implemented [ 10 ]
        Harsha Chadhar made changes -
        Attachment OFBIZ-4291.patch [ 12592324 ]
        Jacques Le Roux made changes -
        Resolution Implemented [ 10 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Harsha Chadhar made changes -
        Attachment OFBIZ-4291.patch [ 12593464 ]
        Harsha Chadhar made changes -
        Attachment OFBIZ-4291.patch [ 12592324 ]
        Jacopo Cappellato made changes -
        Fix Version/s Trunk [ 12311928 ]
        Sharan Foga made changes -
        Sprint Bug Crush Event - 21/2/2015 [ 91 ]
        Sharan Foga made changes -
        Rank Ranked higher
        Sharan Foga made changes -
        Rank Ranked higher
        Sharan Foga made changes -
        Rank Ranked higher

          People

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

            Dates

            • Created:
              Updated:

              Development

                Agile