Jump to content

Two different taxes for one product


Recommended Posts

Hi all,

I need some help with finding the best solution to solve a problem I have with PrestaShop.

In Holland companies can give their employers a packet with many different things inside. We call this 'kerstpakket', and it often contains different kind of presents, like food and other products.

The problem is that a packet can contain products with different taxes. Food is 6% and non-food is 19% of tax, so often the total price is partly with 6% tax, and partly with 19% tax.
How can I manage this with PrestaShop?

Of course I can turn off all taxes, and just insert prices including tax. But in that case the customer doesn't see any taxes on the bill. And since this is all for companies, it's important that the tax is on the bill.

So I need something like :

Price Packet 1: 100 euro
Tax 6%: 3 euro
Tax 19% : 9,50 euro
Total inc. tax: 112,50 euro

Is this possible with PrestaShop, or what should I configure or change (in the code) to make this work?

Link to comment
Share on other sites

Thank you Sarahd. But I'm wondering if this modification will do what I want. Actually I can't see a good example of how it works.

SpyrosT: Maybe I wasn't clear enough in my explanation.
I know I can add different taxes to a product. But this is always TAX 1 OR TAX 2. In my situation I need TAX 1 AND TAX 2. But even if I could set two taxes, I would be impossible to automatically calculate these taxes because it might be that 10% of the price is TAX 1 and 90% of the price is TAX 2. Or 50%, 50%. It depends on the contents of the packet.

So, I think the optimal situation would be if I could set a price (excl. tax), the tax 1 and the tax 2 when I add a new product. So the calculation how it's done now is:
price * tax
e.g. 100 euro * 1.19

It should be:
price + tax 1 + tax 2
e.g. 100 euro + 5 euro + 10 euro

This means that when I add a new product I have some extra work to do with calculating the taxes myself, but it's the only way because the system doesn't know how much tax there is of each kind.

At the end it's important that the customer can see the price excluding tax. The different taxes and the total price including tax.

So I'm still wondering if the modification mentioned by Sarahd can do this...

Link to comment
Share on other sites

Let me tell you something else.

Lets say that you set 2 taxs as I said before.
Then add youy products one by one with each tax it should have ok.

Now make a product compinations so that product "SET 1"
has a hat with 6% tax + a phone with 10% and a pen with 15%.

Your total will be calculated with each product's tax.

Link to comment
Share on other sites

That sounds good!
Although I couldn't find how to make combinations in Prestashop.

Another question. It's not allowed to buy the contents of the packet seperately. So in your example, the hat, phone and pen shouldn't be available seperately in the store. Is this possible?
So actually it's a hidden product, but it can exists in one or more packets.

And besides, the seperate products should also be calculated in the weight of the whole packet.

If this is all possible, it is the best solution I think! :)

But I can't find how to do this in PrestaShop.

Link to comment
Share on other sites

When you add a new product or when you create a package you will find in the 1. Info just under the "Weight:"
a check box "Pack"

Then you select what ever you want to be added ;)

Of cource as you said all these products should be pre-added first seperately.

Link to comment
Share on other sites

And an other one trick... when you add a product that you don't want it to be available seperately
you can mark it as Status Disabled so when a customer tries to buy it, it will say not available.

Remember NOT to add tax in a package because you have already did in the product listing.

Link to comment
Share on other sites

Thank you for your help. I understand now how to create a package with different products. But it still doesn't seem to work.

I created 2 different taxes:
6% and 19%.

Then I added 2 products:
1. Price: 1 euro, tax 19%. (Total price: 1,19 euro.)
2. Price: 2 euro, tax 6%. (Total price: 2,12 euro)

I disabled both items.

Then I made the package product and added the two products above.
But then I have to choose the price. If I set a price, for example 20 euro and no tax and I go to my shop I see:
"20 euro, instead of 3,31 including tax."
But I can't find the different taxes anywhere. Not in my cart overview, nor (after placing the order) in the invoice.
Also when I go to the orders in my account I see: Total price 20 euro, Total incl. tax, 20 euro.

So it looks like nothing is done with the contents of the package. Only the price of the package itself is used.
Am I still missing something?

Link to comment
Share on other sites

  • 3 years later...
×
×
  • Create New...