Since we have some problems with the tax calculation, when the Order has a coupon that set's it to 0€ or atleast one of the products, the vat calculation is "wrong".
Because the JTL Connector then submits a vat rate of 0% for that item. But we still want the correct vat rate in JTL.
…from woo to retrieve them by order item.
Since we have some problems with the tax calculation, when the Order has a coupon that set's it to 0€ or atleast one of the products, the vat calculation is "wrong".
Because the JTL Connector then submits a vat rate of 0% for that item. But we still want the correct vat rate in JTL.
This PR attempts to fix it.
This should fix #2 and #3
Best Philipp