I am trying to modify the class-wc-tax.php to support some states where tax is only on items costing more than $175 per item.
I have this working but only on single items. If someone adds two items that are $100 each so $200-175=25 it then taxes the extra $25 and thinks it is a single item.
My plan is to get the individual product quantity and divide that by the total price of quantity.
Example: Added two $100 items to cart, I want to get the quantity of this which is 2, take the total which is 200/2 = 100.
The only quantity I can get is the total cart quantity. Anyone know if it is possible to get the cart product/item quantity.