VAT included in the price - Question

Open to all! Ask other shopowners for help.
loop
Contributor
Posts: 253
Joined: Thu Mar 25, 2021 12:26 pm
Phoenix Version:
Has thanked: 7 times
Been thanked: 3 times

VAT included in the price - Question

Post by loop »

Hi, i want to have the vat included in the price, so if i say the product cost 9.90 and save, i want that in the order / system he see the 9.90 (which includes the tax)

to achieve this i could hack the tax to 0.00 in the module and it would work, but for history reason it would be good, that i can have the real tax (for example 7.7) to the order matched, but it doesn't add the 7.7% on the price

i hope that my problem is described correct ;) thank you if you have any idea how i can set taxes but without adding the taxes to the price (as it's included in my price)


Join The Code Co-op to get access to your library in the Code Co-op Forum
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: VAT included in the price - Question

Post by ecartz »

There are two price entries on the product page. One includes tax and the other does not. So always enter your prices as the one that includes tax and the other will be set automatically.

Somewhere there is a configuration entry to show prices including VAT. Set that to true.
loop
Contributor
Posts: 253
Joined: Thu Mar 25, 2021 12:26 pm
Phoenix Version:
Has thanked: 7 times
Been thanked: 3 times

Re: VAT included in the price - Question

Post by loop »

Thank you for your answer, i did that with show prices including VAT TRUE and +- i see it like i want it, the problem is in real, the price is saved thenn to the database without VAT and with VAT it's the price i want to show....

what i need, is that the price i want to be included is really saved in the database, so whenn i write 99.00 euro, thenn i need that it's saved like this (as i need to acces on the database with different scripts and i need that the price i see there is the final price, vat included)

so what i would need to setup a tax but to say he should not calculate anything as it's already included.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: VAT included in the price - Question

Post by ecartz »

Or just modify your scripts to base themselves on the price without VAT.

I mean, modifying the core representation to make your scripts work seems the wrong way to go about it. The more sensible thing is to modify the scripts to match core.

If you absolutely need a database column that contains a price that includes VAT, it would be simpler to add a new one than to try to modify the existing column.
villameschik

Re: VAT included in the price - Question

Post by villameschik »

Hi, how can I configure the product price including tax and the customer needs to see the tax included?
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: VAT included in the price - Question

Post by heatherbell »

villameschik wrote: Wed Mar 31, 2021 1:15 pm Hi, how can I configure the product price including tax and the customer needs to see the tax included?
app.php/addons/free_addon/prices_with_tax_info/
14Steve14
Senior Contributor
Posts: 922
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: VAT included in the price - Question

Post by 14Steve14 »

heatherbell wrote: Wed Mar 31, 2021 1:48 pm
villameschik wrote: Wed Mar 31, 2021 1:15 pm Hi, how can I configure the product price including tax and the customer needs to see the tax included?
app.php/addons/free_addon/prices_with_tax_info/
Thanks for this. I have already tried this and it totally messes up another area on the product page where I show the MRRP and a discount compared to that price. It may be that I have to get the code changed to suit the application. I have created a PI module to show some text under the price that shows that VAT is added to the price at 20%.
villameschik

Re: VAT included in the price - Question

Post by villameschik »

Hi, I use version 1.0.8.0 and it works perfectly, only problem that calculates the taxes on the total but not on the number of products_attributes.
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: VAT included in the price - Question

Post by heatherbell »

villameschik wrote: Thu Apr 01, 2021 7:23 am Hi, I use version 1.0.8.0 and it works perfectly, only problem that calculates the taxes on the total but not on the number of products_attributes.
Double check instructions, from memory, I thought there was an option in the addon to do that.
villameschik

Re: VAT included in the price - Question

Post by villameschik »

Hi heatherbell, I checked and double checked, if I don't see where I'm wrong,
example:
1 bottle of wine costs 16 euros including taxes;
1 box of 3 bottles costs 48 euros, so in products_attributes I have to insert an option of box3 + 32 euros, at this point the app calculates the taxes on € 54.40, that's all.
if I delete the products_attributes it calculates perfectly


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply