Leo T Abraham Leo T Abraham - 5 months ago 89x
PHP Question

How to display product price with and without tax at a time in product list for Prestashop?

In the product list I need to display the product price with and without tax at a time.

I am using the version 1.6 of Prestashop.

Right now the price including tax is displayed in the product list. I want to display the price excluding tax as well.

How can I do that? I have searched for solution and was not able to find a working solution for me.


Find the following block in product-list.tpl:

{foreach from=$products item=product name=products}

Add this to display price without tax:

{convertPrice price=$product.price_tax_exc}

Make sure that during development Template compilation is set to Force compilation and Cache is set to No in PrestaShop back-office -> Advanced Parameters -> Performance.