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

Tiered prices aren't updated if the quantity of an item is changed after the item has been added to the cart

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.7
    • Fix Version/s: 2.1.0, 2.1.1
    • Component/s: Shopping Experience
    • Labels:
      None

      Description

      Steps to Reproduce
      I have a product with tier pricing as follows:

      Quantity Unit Price
      1 - 99 $100
      100+ $75

      If I add 1 (or any amount below 100) of this product and check the cart, it shows the correct $100 unit price.
      If I increase the count directly in the cart view to 100 or more, it still shows the unit price at $100 when it should be $75.
      Likewise, if I start by adding 100 of the item to the cart, it shows the correct $75 unit price. If I drop the quantity below 100, it does not update the unit price back up to $100.

      Notes

      • Upon refreshing the cart page (e.g. F5), it shows the correct unit price.
      • Proceeding with checkout does as well.

      Reported via Slack by Brian Greenwald: https://liferay.slack.com/archives/CU1EBB058/p1582582780041000

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lorenzo.lapescara Lorenzo La Pescara
              Reporter:
              corbin.murakami Corbin Murakami
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2.1.0
                  2.1.1