matiss.jekabsons Posted November 17, 2015 Share Posted November 17, 2015 Hallo! I've got soma strange problem I have a product with Retail price 4.300000I have a VAT 21%My final Retail price is 5.20€ with VAT When a add one pcs. to card, the cart sum is 5.20€ BUT... when i add 2 pcs. to card, the strange part starts here, because then, the cart summ is 10.41€ Why? Where to dig? :/ Link to comment Share on other sites More sharing options...
Daresh Posted November 17, 2015 Share Posted November 17, 2015 It's rounding. 4.3 * 1.21 = 5.203 * 2 = 10.406 that is rounded to 10.41. Try take the VAT included price as base, so 5,20 / 1.21 = 4.29752 and set it as a Retail price. 1 Link to comment Share on other sites More sharing options...
matiss.jekabsons Posted November 17, 2015 Author Share Posted November 17, 2015 (edited) You are right... :/ But how to correct it? So its rounded just to 2 digits after coma?or there is no way?It looks like solved... but will test a bit Choosed Round type - round on each item Edited November 17, 2015 by matiss.jekabsons (see edit history) Link to comment Share on other sites More sharing options...
Daresh Posted November 17, 2015 Share Posted November 17, 2015 You may try to mess around with rounding options in Presta, but I'm not sure it will help, some other case may turn out to be wrong. Link to comment Share on other sites More sharing options...
matiss.jekabsons Posted November 17, 2015 Author Share Posted November 17, 2015 Ok, but isnt there a way to enter retail price with vat... so presta calculate retail without VAT for self? Link to comment Share on other sites More sharing options...
matiss.jekabsons Posted November 17, 2015 Author Share Posted November 17, 2015 That is allready done, but doesnt solve an issue. There is no field to enter retail price with vat. Just retail without vat + vat amount and presta calculate sum of it. Link to comment Share on other sites More sharing options...
Daresh Posted November 18, 2015 Share Posted November 18, 2015 That is a weird thing they made in Presta some time ago. Usually there were fields for either the tax excluded, or tax included price and the second one was calculated. Then it disappeared and now in 1.6.1 it's back again. 1 Link to comment Share on other sites More sharing options...
matiss.jekabsons Posted November 18, 2015 Author Share Posted November 18, 2015 ... and now in 1.6.1 it's back again. I am using now 1.6.1.2 but there is no field for entering price with tax :/ Link to comment Share on other sites More sharing options...
Daresh Posted November 18, 2015 Share Posted November 18, 2015 I need to ask my fellow programmer, cause I see it in my test store, but maybe he changed something. I'll let you know. 1 Link to comment Share on other sites More sharing options...
matiss.jekabsons Posted November 18, 2015 Author Share Posted November 18, 2015 That would be great! Link to comment Share on other sites More sharing options...
Daresh Posted November 18, 2015 Share Posted November 18, 2015 This is totally weird, but when you turn on "display tax label" in you country localization settings, the field for the price shows up. So I was wrong about the PS version, it was only a symptom. Link to comment Share on other sites More sharing options...
matiss.jekabsons Posted November 18, 2015 Author Share Posted November 18, 2015 Thats how it looks from my Prestatax label ir turned on Link to comment Share on other sites More sharing options...
Daresh Posted November 18, 2015 Share Posted November 18, 2015 Interesting... this would require closer inspection of what happens in the BO and what exact condition is taken. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now