The tax amount was added to 10% from the WooCommerce tax settings. When adding a product to the wePOS cart and if applied any discount to the product the tax is calculated from the product base price, not from the discounted price. But if I check with the WooCommerce cart page if I add a discount coupon to the product on the cart page the tax is calculated on the product's discounted price.
Description of the bug:
The tax amount was added to 10% from the WooCommerce tax settings. When adding a product to the wePOS cart and if applied any discount to the product the tax is calculated from the product base price, not from the discounted price. But if I check with the WooCommerce cart page if I add a discount coupon to the product on the cart page the tax is calculated on the product's discounted price.
Screen record: For a better understanding please check this video: https://www.loom.com/share/e999c75b5c8c4d52ba4855260bbb6697
System Status: wePOS: v1.2.5 wePOS Pro: v1.1.6 WordPress: v6.1.1 WooCommerce: v7.2.0