- This topic has 3 replies, 2 voices, and was last updated 12 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › round the price
hello,
We have 16% VAT.
I would like to sell a product in 99
If I set the price to 85.34 – customer see a price of 98.99
if i set it to 85.35 – customer see a price of 99.01
How can i make the final price including VAT to be 99?
The price is rounded to two decimal places (this is a standard practice for price amount). If you don’t want to use decimal place then it should be doable with a custom tweak. Are you using a “Add to Cart” type button?
yes I am…
Open the “wp_eStore1.php” file and search for the following line of code:
return $symbol.number_format($price, 2, $decimal, $thousands_sep);
Once you find it change it to the following:
return $symbol.number_format($price);
That should round the price to the price without the decimal places.