OFFLINE-GmbH / oc-snipcartshop-plugin

Ecommerce solution for October CMS using snipcart.com as a backend
MIT License
11 stars 4 forks source link

Add more control on tax management #13

Open Zmove opened 7 years ago

Zmove commented 7 years ago

Hello,

I have a business when several different products can have several different tax rate applied to them.

Actually, the plugin only allow for an "Apply taxes" option to calculate taxes for that products.

The problem is that all taxes are calculated whereas I need to specify which tax apply to which product.

I firstly believed that it was a snipcart limitation so I contacted them, but it seems they can handle that case, using the "data-item-taxes" field. So I think the plugin needs to be updated to give more control about the taxes.

Best regards,

Alex

tobias-kuendig commented 7 years ago

The reason the tax management hasn't been implemented yet was that Snipcart currently offers no API endpoints to create, edit and fetch the taxes from the Snipcart backend. This means a user has to create all taxes manually in October and Snipcart and the settings have to match exactly. While possible it isn't the most user friendly option. I'll take a look at this feature. Thanks for your input!

Zmove commented 7 years ago

It should be possible "from snipcart" to create and manage the taxes in snipcart backend, but to retrieve the list of the taxes defined in october and let user to chose one or several taxes for that product instead of "apply all taxes" boolean option, which would be a very good alternative already.