Jump to content

SOLVED Home Featured formating issue


CmsFan
 Share

Recommended Posts

Good morning and great 2015 to all,

 

I have a little but very important problem. I sell products and services (mainly B2B, not individuals) Using Prestashop 1.6.0.9 I've been able to adapt the product-list.tpl  ,so the products list is shown without VAT from the outside view (inside the product details VAT and Without VAT prices are both correctly shown). I've used the following code to show PRICES WITHOUT VAT in the products list:

 

<span itemprop="price" class="price product-price">

                                    {convertPrice price=$product.price_tax_exc}
 
</span>

 

The fact is that I need to do the same in HomeFeatured Module, but for some reason the above code is not working on HomeFeatured.tpl

 

Can anybody help me with this issue?

 

On the other hand, how could I show Prices with VAT smaller and Prices with VAT included higher sized? (like the image below)

 

thump_8977511asdw.png

 

 

Many many thanks in advance!

Edited by Bcnserv (see edit history)

Share this post


Link to post
Share on other sites

No need to post many help posts :)

 

Have you checked if that field (price without taxes is selected in homefeatured module)? If not, you just need to select price without taxes from database or call a function Product::getPriceStatic with the right params

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More