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

Channel set to pricing type = gross gives java.lang.UnsupportedOperationException

Details

    Description

      • Create a minium
      • Set the price type to gross

       

      Expected Result: Prices are shown with tax amount (in this case no taxes added)

      Actual Result: 

      Current URL /group/testminium/p/brake-fluid generates exception: java.lang.UnsupportedOperationException
      java.lang.UnsupportedOperationException
              at com.liferay.commerce.currency.internal.model.CommerceMoneyFactoryImpl$1.getPrice(CommerceMoneyFactoryImpl.java:99)
              at com.liferay.commerce.frontend.internal.util.ProductHelperImpl._getPriceModel(ProductHelperImpl.java:230)
              at com.liferay.commerce.frontend.internal.util.ProductHelperImpl.getPrice(ProductHelperImpl.java:89)
              at com.liferay.commerce.theme.minium.internal.product.renderer.list.entry.MiniumCPContentListEntryRenderer.render(MiniumCPContentListEntryRenderer.java:225)
      

      on products without a promo price.

      Attachments

        Activity

          People

            lorenzo.lapescara Lorenzo La Pescara
            riccardo.alberti Riccardo Alberti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                7.3
                7.3.X