You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The application allows us to choose the input price type (it can be set in the admnistration admin/superadmin/pricing/). However, when I start using INPUT_PRICE_TYPE_WITHOUT_VAT (typical for B2B stores), I can see several issues:
QuantifiedProductPriceCalculation::calculatePrice has hardcoded price calculation from price with VAT, which might result in the wrong results - the customer might see badly calculated prices without VAT in the cart
the same applies to OrderItemPriceCalculation - the customer then sees badly calculated prices of order items in order mail and on the order detail page. Also, the administrator sees the bad prices.
I tried to simulate the problem on the current master version of SSFWCC:
I set the input price to "Without VAT"
I created a new VAT with a 19 % rate and set it as default for the SK domain
I set the SK domain price for Hello Kitty to 5,80 €
On the SK domain, I put Hello Kitty in the cart, and change the quantity to 3 pcs. One of the problems is (rather UX), I can not see the total price without VAT...However, if it was possible to see it, I would see it is badly calculated to 17,39 € (while it should be 3 x 5,80 = 17,4 €)
After finishing the order, I can see the item's bad prices in administration (see image 1)
Also, the order detail on SF is quite weird (see image 2) - the total price without VAT is wrong and the first column with unit price without VAT is labeled as "Unit price with VAT"
Image 1:
Image 2:
The text was updated successfully, but these errors were encountered:
Describe the bug
The application allows us to choose the input price type (it can be set in the admnistration
admin/superadmin/pricing/
). However, when I start usingINPUT_PRICE_TYPE_WITHOUT_VAT
(typical for B2B stores), I can see several issues:QuantifiedProductPriceCalculation::calculatePrice
has hardcoded price calculation from price with VAT, which might result in the wrong results - the customer might see badly calculated prices without VAT in the cartOrderItemPriceCalculation
- the customer then sees badly calculated prices of order items in order mail and on the order detail page. Also, the administrator sees the bad prices.I tried to simulate the problem on the current master version of SSFWCC:
Image 1:
Image 2:
The text was updated successfully, but these errors were encountered: