weDevsOfficial / wepos

WooCommerce Point of Sale ( POS ) WordPress Plugin
https://wordpress.org/plugins/wepos/
112 stars 74 forks source link

On the wePOS cart page, the tax is calculated based on the product base pricing not on the discounted price. #132

Closed TanvirHasan19 closed 10 months ago

TanvirHasan19 commented 1 year ago

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