kilbot / WooCommerce-POS

:bangbang: All development now at https://github.com/wcpos.
http://wcpos.com
GNU General Public License v3.0
353 stars 125 forks source link

Display prices including tax in product list #187

Closed danielhers closed 6 years ago

danielhers commented 6 years ago

Currently tax is only displayed in the order summary totals. In some countries it is customary to show all prices in the store already including taxes. It should be possible to display them this way.

kilbot commented 6 years ago

Hi Daniel. This is a setting in WooCommerce, ie: set Display Prices During Cart and Checkout - Including Tax.

danielhers commented 6 years ago

Thanks for your reply. I think I wasn't clear enough - I meant for the prices in the product catalog to appear including taxes, not just the cart and checkout. It seems like the setting Display Prices in the Shop should control this, but it doesn't seem to apply to the POS view (even though it does apply for the WooCommerce online shop).

kilbot commented 6 years ago

The POS follows the same setting as WooCommerce for the Product list, the Cart, the Checkout and the Receipt. I'm not getting any other reports about this issue so please triple check you have things set up correctly. Also, you may need to clear the local product cache if you have changed the settings recently.

danielhers commented 6 years ago

That's very strange, because I'm clearly seeing different prices on WooCommerce and in the POS - the former includes taxes and the latter doesn't, for the same products. I also tried in an incognito window. Shouldn't that be enough to avoid showing cached values?

kilbot commented 6 years ago

Products are stored locally in IndexedDB. Go to the Support page in the POS and clear the local products.

danielhers commented 6 years ago

Thanks. I cleared the local products and then refreshed the list back in the POS, but it's still the same. In the product list, the prices don't include taxes, even though in the cart, the total prices for each product does include taxes.

kilbot commented 6 years ago

I've just done some testing and I can reproduce this issue if you enter prices excluding taxes, but display the prices with taxes. It's possible that something changed in WC REST API 3.0 which means the POS has to manually calculate the tax for the products list.

I am currently dedicating all my time to rewriting the plugin in React so it is unlikely that I will be able to fix this for 0.4.x, but I will add it to the list for 0.5.

danielhers commented 6 years ago

Right, that's exactly what happens for me. I'm entering prices without taxes but displaying them with taxes. Thanks a lot for the time you spent on this issue and in general on the plugin. Will you update this issue when there is progress?