Closed (duplicate)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Taxes
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2013 at 07:31 UTC
Updated:
8 Feb 2013 at 16:54 UTC
I have 4 types of line items: "Blank line", "taxes", "shipping" and "Discounts" (from uc_discounts)
When configuring tax rates, I can select for each rate which line item the tax should be applied.
In my situation, discounts can applied on different product taxed at different rates.
The corresponding discounts of course shall be taxed at the same rate than the corresponding product.
This does not seem possible: if I select the Discount" line item for each rate it can apply, every configured rate applies to this line item regardless the product.
How can I handle that beside using a different discount module for each discounted product?
Thanks for help
Comments
Comment #1
longwaveThere is a "tax adjustment" line item callback that uc_discounts can implement to calculate the tax correctly. This was added to Ubercart in #1538920: Backport per-line-item tax adjustments.
Comment #2
jvieille commentedActually, this is more complex.
Solution here:
http://drupal.org/node/1170992#comment-6053532
http://drupal.org/node/476348#comment-3367008