Closed (works as designed)
Project:
Ubercart Taxonomy Tax
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
29 Jul 2010 at 22:37 UTC
Updated:
11 Nov 2010 at 22:24 UTC
The module is applying the tax twice, as well as another tax that is not associated with the taxonomy term.
The set-up...
Two taxes HST (5%) and HST (12%)
Tax Vocab is "Rebate" with terms "Yes" and "No"
User Chooses "Yes", it is tax at 5%. User chooses "No" is then done at 12%
See screenshot attached
| Comment | File | Size | Author |
|---|---|---|---|
| Picture 1.png | 19.84 KB | pixelsweatshop |
Comments
Comment #1
pcambraThe module works like this (maybe is lack of documentation)
- Create a Tax Vocabulary, with these values (i.e.) "10% Tax" and "20% Tax"
- Create one tax for each vocabulary term, in this case, would be logical to create a tax with a 10% and another with 20%, in the tax settings, asign each term to the tax.
When buying, if the product has one of these terms, the tax or taxes assigned in the tax settings are applied, it doesn't work by a "yes/no" basis.
Comment #2
leon kessler commentedI think we need some more information from nigel as to how he would be attempting to achieve this.
Where and what are you applying the taxonomy terms to? As pcambra said they can only be applied to products.
However, the same tax rate being applied twice to the order is a bug. It happens when the criteria of an order matches both that for uc_taxes and uc_taxonomy_tax (e.g. the product content type, and a taxonomy term).
I've just committed a fix that prevents items being taxed if they have already been done so by uc_taxes.
Thanks
Leon
Comment #3
pixelsweatshop commentedthe "Yes" and "No" are only terms in the the vocab. isn't arbitrary what I call it, no? it could be "Dogs" and "Cats". Either way, I have assigned a tax rate of 5% to one of them and 12% to the other (as you have suggested) and it applies both tax rates. It is used on the default product content type. I might be wrong, but shouldn't this module override the default uc_taxes? or should I disable it and just use uc_taxonomy_tax?
Comment #5
pcambraTry to disable the "product" option in the tax settings, only set the taxonomy.
Comment #6
leon kessler commentedshouldn't this module override the default uc_taxes? or should I disable it and just use uc_taxonomy_tax?
This module is dependent on uc_taxes.
It also is not possible to override what uc_taxes does. You cannot remove tax from a hook (at least from what I know and tried).
I think what is needed is some clearer messaging on the uc_taxes admin page, as there were also a few people confused by this over on the ubercart forums.
It basically needs to say "taxed taxonomy terms" OR "taxed product types". I.e. if a product matches anything selected in either of these boxes it will be taxed.
Comment #7
pixelsweatshop commented#6 worked. must have been a late night when i set it up. Needed a clear head. Thanks for your time. :)