Jump to content

product list - if product is in a category then ...


maryb66

Recommended Posts

Hi

 

I'm a bit of a newby to prestashop, but I want to write a line of code for product-list.tpl that would do this

 

If product is in category 63 <span class="new">{l s='New'}</span> /if

 

I'm using a category for new products for several reasons but mainly because I then can control what goes in and out and when

 

Could anyone put me on the right track?

 

Thanks in advanced

Mary

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