Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display price in product page with and without tax in Prestashop 1.7?

I found this workaround for version 1.6 here: How to display product price with and without tax at a time in product list for Prestashop?

but the code for product-list.tpl changed a lot in 1.7

Is there a workaround for 1.7?

Thanks in advance!

like image 951
Zimnel Avatar asked May 30 '17 10:05

Zimnel


1 Answers

The file to edit is:
psroot/themes/classic/templates/catalog/_partials/miniatures/product.tpl

To display the price vat excl use this snippet (find the position in the html where do you want to display):

{Tools::displayPrice($product.price_tax_exc)}

PS: Pay attention to the rich snippet and SEO

like image 57
marsaldev Avatar answered Oct 18 '22 10:10

marsaldev