Jump to content

don't show in block new products if price is 0


Recommended Posts

Hi guys,

 

Need some help again.

 

Is there any way i can stop showing new products if the price is 0? I am reffering to the block new products module. I tried to add something like "{if $newproduct.price != 0}" in blocknewproducts.tpl but that doesn't work.

 

Any ideeas about how to make this happen?

Thank you.

 

P.s, i am using ps 1.6

Edited by Spluf (see edit history)
Link to comment
Share on other sites

Solved it... i modified the module so i can add it to the homeTabContent and that's why it didn't work. i had to build a new file called "newproduct-list.tpl", ad the conditional there and link that in the blocknewproducts-home.tpl file (this sh*t is complicated).

 

Have a nice day :)

Link to comment
Share on other sites

×
×
  • Create New...