Variation Tax Calculation Error
-
There appears to be an issue with tax calculation. The issue I have found arises with variable products with more than one attribute in the same cart. A variable product with a single attribute does not appear to cause this issue from what I am seeing.
Problem Description
I discovered this issue when adding two of the same variable product, with different variation attributes selected, in two separate cart line items, i.e:
Line Item 1 – Qty 1: Variable Product A [$10]
- Attribute 1 = 1a
- Attribute 2 = 2a
Line Item 2 – Qty 1: Variable Product A [$10]
- Attribute 1 = 1a
- Attribute 2 = 2b
The sales tax calculations seem to be incorrectly assigned to the line items and the cart tax and total are incorrect.
My expected tax rate is 8% and the total tax assigned should be $1.6 on a $20 order. But instead it shows $3.2. This extends to other erroneous calculations when the quantities vary. I captured the issue in the video link here: https://streamable.com/lncbit
I believe it doesn’t have anything to do with Woocommerce tax as I have removed all tax table line items and have attempted all variations of the available settings to try to understand the issue and came up with this analysis. All other plugins that I am using have been disabled temporarily to see if they were interfering without any impact.
Please ask for any additional information.
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.