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

Shipping Method rates should be defined in the channel's currency and not the VI's currency

    Details

      Description

      Shipping Method rates should be defined in the channel's currency and not the VI's currency

      Assumptions

      1. At least one channel
      2. At least two currencies
      3. The channel currency and the virtual instance's (VI's) primary currency are different

      Steps to Reproduce #1: Variable Rate Shipping Method

      1. Go to Commerce → Channels → [Channel] → Shipping Methods → Variable Rate
      2. Set the Variable Rate shipping method to Active and Save
      3. Create a Shipping Option and Save
      4. Add a new Shipping Option Setting

      Expected Result

      Fixed Price and Price per Unit of Weight uses the Channel's currency

      Actual Result

      Fixed Price and Price per Unit of Weight uses the Virtual Instance's primary currency

      Steps to Reproduce #2: Flat Rate Shipping Method

      1. Go to Commerce → Channels → [Channel] → Shipping Methods → Flat Rate
      2. Set the Flat Rate shipping method to Active and Save
      3. Create a Shipping Option

      Expected Result

      Amount uses the Channel's currency

      Actual Result

      Amount uses the Virtual Instance's primary currency

      Reproduced On

      7.3

      Tomcat 9.0.37 + HSQL 2.3.3
      liferay/liferay-portal:master git hash a9159f9538b844a43e6d0d4a6f0633627aac4c27

        Attachments

          Activity

            People

            Assignee:
            thalita.celi Thalita Celi
            Reporter:
            corbin.murakami Corbin Murakami
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.3 FP1
                7.3.X