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

User is not notified for an unapplicable discount coupon

Details

    • Commerce Sprint 13 - Jun/2022

    Description

      0. Create a speedwell site.
      1. Create a discount of 10% to be applied to a certain SKU (e.g the one for the ABS Sensor product)
      2. Add a coupon code for the discount.
      3. Add the Coupon Code Entry widget to the Checkout page (https://learn.liferay.com/commerce/latest/en/promoting-products/introduction-to-discounts.html)
      4. Go to the catalog and add the ABS sensor product to the cart. Click on the cart, then View Details.
      5. Write in the coupon code and click Apply. Click Update (I needed to).
      Checkpoint: You can see that the 10% account is applied and the total becomes 45 dollars (instead of 50).
      6. Now do step 4 and 5 again, but now add some other product to the cart (for which the discount does not apply).
      Result: nothing happens when you click apply.
      Expected by customer: "We expect that if an user enters a coupon code that cannot be applied to the current cart it receives some UI error notification."

       

      Master: 7964e8bcbdffb152d3177c789312b8974ddac5da

      Attachments

        Issue Links

          Activity

            People

              lorenzo.lapescara Lorenzo La Pescara
              il.kim Brian I. Kim
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  7.3.X
                  7.4 DXP U32