You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mart Naum (Jira)" <ji...@apache.org> on 2021/08/04 11:35:00 UTC

[jira] [Created] (OFBIZ-12298) Wrong price calculation for productConfigProduct

Mart Naum created OFBIZ-12298:
---------------------------------

             Summary: Wrong price calculation for productConfigProduct
                 Key: OFBIZ-12298
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12298
             Project: OFBiz
          Issue Type: Bug
          Components: product
            Reporter: Mart Naum


The enchiladas are implemented in the backend using productConfigProduct. For the standard product, the cheese enchiladas, the productPrice is configured to be 6 USD. The productPrice for fajita beef enchiladas is 8 USD.

However, the order in the webshop shows a price of 12 USD for a single order of cheese enchiladas. That's exactly double the price stored in productPrice. On the other hand the price calculation for the fajita beef enchiladas seems to be correct.

I experimented a bit with productConfigProduct and saw that the price always doubles in the ecommerce UI as well as in the resulting order when the productConfigProduct is identical to the parent product of this product configuration. This is so also the case with the configurable PC. I assume there is a glitch within the price calculation for productConfigProducts.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)