cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong calculation of price on attributes in total price of product

Wrong calculation of price on attributes in total price of product

Hi, hopefully you can help me.

I have a problem with the addition of a product price and a selected attribute (or more) price(s)

In this shop I have entered the prices / TAX setting: 'excluding VAT'.

The product page is displayed correctly. However, once I select an option, the VAT attribute is added to the product price excluding VAT.

This is not correct. See example; the total sum must be 1185 euros.

 

See the following URL: http://lectern.ae.mysleeve.hypernode.io/lectern-clear-and-frosted-berlioz

See code below; i think totalprice calculation is incorrect?

{ "#product_addtocart_form": { "priceOptions": { "optionConfig": {"45681":{"107768":{"prices":{"oldPrice":{"amount":390,"adjustments":[]},"basePrice":{"amount":390},"finalPrice":{"amount":471.900001}},"type":"fixed","name":"Including microphone"},"107769":{"prices":{"oldPrice":{"amount":245,"adjustments":[]},"basePrice":{"amount":245},"finalPrice":{"amount":296.450001}},"type":"fixed","name":"Excluding microphone"}},"45547":{"107610":{"prices":{"oldPrice":{"amount":0,"adjustments":[]},"basePrice":{"amount":0},"finalPrice":{"amount":0}},"type":"fixed","name":"Legen"},"107611":{"prices":{"oldPrice":{"amount":0,"adjustments":[]},"basePrice":{"amount":0},"finalPrice":{"amount":0}},"type":"fixed","name":"Frosted"}},"42304":{"99716":{"prices":{"oldPrice":{"amount":50,"adjustments":[]},"basePrice":{"amount":50},"finalPrice":{"amount":60.500001}},"type":"fixed","name":"Other colour front panel"},"99717":{"prices":{"oldPrice":{"amount":125,"adjustments":[]},"basePrice":{"amount":125},"finalPrice":{"amount":151.250001}},"type":"fixed","name":"Logo on front panel"}},"45722":{"107850":{"prices":{"oldPrice":{"amount":145,"adjustments":[]},"basePrice":{"amount":145},"finalPrice":{"amount":175.450001}},"type":"fixed","name":"Fitted LED reading lamp"},"107851":{"prices":{"oldPrice":{"amount":65,"adjustments":[]},"basePrice":{"amount":65},"finalPrice":{"amount":78.650001}},"type":"fixed","name":"Clip on LED reading light"}},"45760":{"107926":{"prices":{"oldPrice":{"amount":69,"adjustments":[]},"basePrice":{"amount":69},"finalPrice":{"amount":83.490001}},"type":"fixed","name":"Acrylic tumbler holder"},"107927":{"prices":{"oldPrice":{"amount":81.25,"adjustments":[]},"basePrice":{"amount":81.25},"finalPrice":{"amount":98.312501}},"type":"fixed","name":"Set of wheels (braked)"}},"45470":{"107432":{"prices":{"oldPrice":{"amount":79,"adjustments":[]},"basePrice":{"amount":79},"finalPrice":{"amount":95.590001}},"type":"fixed","name":"Protective cover"},"107433":{"prices":{"oldPrice":{"amount":150,"adjustments":[]},"basePrice":{"amount":150},"finalPrice":{"amount":181.500001}},"type":"fixed","name":"Wooden transport box"}},"42305":{"prices":{"oldPrice":{"amount":0,"adjustments":[]},"basePrice":{"amount":0},"finalPrice":{"amount":0}},"type":"fixed","name":"RAL color"},"42306":{"prices":{"oldPrice":{"amount":0,"adjustments":[]},"basePrice":{"amount":0},"finalPrice":{"amount":0}},"type":"fixed","name":"Upload your logo"}}, "controlContainer": ".field", "priceHolderSelector": "[data-role=priceBox]" } } }L5ROW.jpg