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

Discount does not show up properly in cart

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: 7.4 CE GA2, Master
    • Component/s: Order Management
    • Labels:
      None
    • Story Points:
      4
    • Sprint:
      OM Sprint 1

      Description

      Steps to Reproduce:
      1. Create a Minium Site
      2. Create two business accounts (Account1, Account2)
      3. Create a discount for subtotal and give it 50% amount and mark the discount as Active
      4. Apply the discount to the Minium channel and account 1 under Eligibility tab
      5. Go to Minium site
      6. On Account1, add a product to cart and check the cart for updated total (Total should appear correctly but the Order Discount is $0.00)
      7. Press "View Details" in the cart, the discount is applied correctly in Pending Orders.
      8. Go back to the catalog and switch to Account2.
      9. Click on the cart and view the total, it still shows up as half off when there should be no discount applied.
      10. Press "View Details" in the cart, the discount is applied correctly in Pending Orders.

      Expected Result:
      When viewing the cart, Order Discount should show how much is subtracted from the subtotal and not $0.00 when on Account1. For Account2, the order should not have any discount applied when viewing cart.

      Actual Result:
      When a discount is applied, Order Discount still shows as $0.00 in cart but the total is changed. For Account2, the order has a discount applied when viewing cart. See Discount_test.mp4.

      Reproduced on:
      Tomcat 9.0.40 + MySQL 5.7 Portal master GIT ID: 66cbe2581c65f56da46e90a7c5c290b022bfd4fb

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fabio.mastrorilli Fabio Mastrorilli
              Reporter:
              brittney.nguyen Brittney Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4 CE GA2
                  Master