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

The Price Range Facet widget should use the currency of the channel, not the instance primary currency

    Details

      Description

      Assumptions

      1. At least one Commerce Channel with a related Liferay Site
      2. A functioning Liferay site with core Commerce widgets (can use the Minium accelerator for convenience)
      3. Primary Currency on the instance is set to Currency A
      4. Currency on the Channel is set to Currency B

      Steps to Reproduce

      1. Add the Price Range Facet to a page which includes the (Commerce) Search Results widget
      2. Assert that the currency of the price ranges is in Currency A

      Expected Result

      Currency of the price ranges is in Currency B because that is the currency of the channel

      Actual Result

      Currency of the price ranges is in Currency A

      Logs

      No errors in the logs

      Reproduced On

      7.2

      Tomcat 9.0.33 + HSQL 2.3.3
      DXP 7.2 FP5
      Commerce 2.1.0

      7.1

      Tomcat 9.0.33 + HSQL 2.3.3
      DXP 7.1 FP17
      Commerce 2.1.0

        Attachments

          Issue Links

            Activity