We have developed an extension for a site we are in the process of building that allows for tax brackets and will be continuing to develop it for other eCommerce sites.
In its current form you can define the various tax rates for your country (note: only single countries in this release) along with a friendly name such a “UK Zero-Rate VAT”.
Using the included custom field, you are able to select the tax rate for each product from a simple drop down list.
The website will then calculate the tax value based on the product’s price and selected tax rate.
We are doing final testing, and will be distributing it on Devotee for a small one-off maintenance charge to help fund its continued development but this should be a lifesaver for any developers building sites with various VAT rates.
Post if you’re interested here, and we’ll let you know once it’s available for purchase.
Unlike Red Carrot’s addon, this does not have an accompanying field type. You’d have to know what the tax classes are and create your own select for your products.
Could you briefly explain the settings? I assume each product will need to have a select field where you choose from say STANDARD, REDUCED, EXEMPT. Then in the settings would I add each of those as well as GLOBAL in the first tax_class row in the add_to_head section?
That leaves the second set of fields in add_to_head. I assume here I can set STANDARD for UK to be 20%, STANDARD for USA to be something byt else by putting in the tax value, choosing a country, and STANDARD in the tax_class field. But what about the name field - what’s that one for?
Then I also notice there’s a link to “Create new location in tax database” under the submit button, so I’m a bit lost.
Then I also notice there’s a link to “Create new location in tax database” under the submit button, so I’m a bit lost.
That’s general to the tax system. It’s unconnected to this particular plugin. Sorry for the confusion.
Could you briefly explain the settings? I assume each product will need to have a select field where you choose from say STANDARD, REDUCED, EXEMPT. Then in the settings would I add each of those as well as GLOBAL in the first tax_class row in the add_to_head section?
Yes. You’d add each of those. And only GLOBAL if there’s a global default.
But what about the name field -
Your reference only.
One important note: make sure that each item that’s going to have taxes applied to it; has the tax class set as an item option applied to it.
One thing I noticed is that the call to func_get_args() in get_tax() just returns the price as a number. Are you seeing that too? Not sure if it’s a product config issue or a problem with the plugin.
A little more info. On the add to cart form, it’s not just a number - it’s an array containing one item, which is a number. I’m assuming the get_tax() method needs to see the product data but is only receiving the price?
I emailed last week but haven’t heard anything back.
My email’s always overflowing. I answer quote requests between 4 & 5 Tuesday through Friday. Depending on number of requests, the earliest I would get to providing a quote would be today towards the end of my day.
Chris, sorry to hassle you. I’ve emailed and PM’d you but not had a reply. If you guys can’t offer paid support for this one I need to look for another solution and I need to be doing that ASAP. Can you please get back to me?