Jump to content

Show price reduced by on category page


Recommended Posts

Hello

I'm working on a new theme for a customer.

The theme is based on the default prestashop theme.

 

I need to show the reduced price on the category and homefeatured page.

When I print_r the $product array, it contains this:

[reduction] => 60.000000

 

But when I add it on the TPL file like this:

{convertPrice price=$product.reduction}

I get the value presented excluding taxes, even though the array contains including tax. How do I get it to show including tax?

 

On the product page everything works just fine, there it renders the value including tax. with the following tag:

{convertPrice price=$product->specificPrice.reduction}

 

But this tag wont work in the category, or home featured TPLs

Link to comment
Share on other sites

  • 2 months later...

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
×
×
  • Create New...