I have store which sell glasses products. A glasses can be rx glasses and non-rx glasses. Their price is different. A non rx glasses will have taxes applied to it but an rx glasses won't have any tax. Is there any simple way to apply this by using custom options? Basically those are the same glasses so I don't think I need to manage its inventory by using configurable products. And I don't really like the idea of creating configurable products as I don't like duplicating the products one by one but I don't see any other enlightment other than using configurable products. Any advice?

  • Perhaps use configurable products with two simple products backing it, one of which has a taxable tax class? – philwinkle Mar 31 '13 at 18:53
  • I think your observation is correct. I think the tax is attached to the configurable product, like the price. The price and tax setting of the simple doesn't matter. – Fabian Blechschmidt May 23 '13 at 15:16
  • @FabianBlechschmidt yeah thought so, can you point this out in your answer this so that I can mark your answer as correct. – ivantedja May 24 '13 at 1:31

I think this is not possible out of the box.

The intuitiv way: Creating a configurable and two simples one with tax and one without won't work, because for the price calculation only the price and tax setting of the configurable is used.

I think there are two ways to achieve this:

  1. Change the way this is handled and use the price and the tax setting of the simple
  2. Hook into one of the add to cart events and add only the simple (then you have the problem that you can't click it if it is not visible or you have to add a rewrite or build an observer which redirects from the simple to the configurable)

I fear using configurable products (as you thought and philwinkle stated) is actually the "magento" way of doing it. As people will buy the "simple" products, you can apply different taxes. If the glasses only had different prices, you could use the product options.

There is another way, a module in alpha-stadium that can be downloaded here: http://www.webguys.de/magento/adventskalender/turchen-04-configurable-products-und-die-basis-artikel-nummer/ (German). It applies "basic product numbers", an attribute that links products. This way you will have only 2 (not 3) products. I have to say that I have not tested the module yet.

I hope I could help.

  • So far I believe that the tax will be applied if either of the child product is taxable good (though the parent is non taxable goods) but I never test it myself. Just tried it and it doesn't work. Seems like configurable product is not a solution for this case – ivantedja May 23 '13 at 14:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.