Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-3702

Discounted Price Still Applied After Removing Coupon Code

    Details

      Description

      When removing a coupon code from the cart, the price in the Cart widget is still the discounted price. When adding the coupon code back to the cart, the price switches to the regular price without the discount.

      Assumptions

      1. Working Commerce site that can accept orders
        1. Linked to a channel
      2. Percent discount configured
        1. active, Target = Apply to Product w/ specific product selected, linked to the channel, coupon code enabled & set, scheduled to display now
      3. Logged in as user who can add to cart

      Steps to Reproduce

      1. Go to catalog.
      2. Find product associated with discount.
      3. Add to cart.
      4. Go to cart.
      5. Apply coupon code.
      6. Note price.
      7. Remove coupon code.
      8. Note price.
      9. Add coupon code back.

      Expected Result

       Cart shows regular price.

      Actual Result

       When coupon code is removed, cart shows discounted price still.

       When coupon code is added, cart shows regular price.

      Discount

      Product

      Reproduced on

      Tomcat 9.0.6 + MySQL 5.7

      Portal 7.1.10 GA1 fix pack 17 

      Commerce 2.1 RC 6

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lorenzo.lapescara Lorenzo La Pescara
                Reporter:
                jaclyn.ong Jaclyn Ong
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  2.1.2