X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   How to Display VAT Exclusive and Inclusive Price (https://forum.x-cart.com/showthread.php?t=77989)

johngwms 09-11-2020 02:37 AM

How to Display VAT Exclusive and Inclusive Price
 
I want to be able to display the VAT Exclusive and Inclusive Price for each product on The Product Details page.

Has anyone done this before? and would be kind enough to share the code?

Ed B. 12-22-2020 01:44 AM

Re: How to Display VAT Exclusive and Inclusive Price
 
At a first glance, the template responsible for this seems to be customer/product/details/parts/common.price.twig which looks like
Code:

{{ widget('\\XLite\\View\\Price', product=this.product) }}


It is a bit of surprise that the VAT/GST module isn't directly involved. I don't know if I haven't looked at right place. Hopefully someone more knowledgeble can dig into this.


All times are GMT -8. The time now is 09:49 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.