View Single Post
  #1  
Old 07-03-2013, 04:18 AM
 
snowboard snowboard is offline
 

Senior Member
  
Join Date: May 2007
Posts: 111
 

Default How to use if statement for category page but not product page

Hi,

I am using {if $cat eq "xxx"} code {/if} to put code in the header of a specific category page...

However I am finding that it is also putting it in all product pages of any products that are in that category!

How do I specify it so that it will only appear on the category page, but not on the product pages of products that belong to that category?

Thanks for your help,
__________________
version 4.1.7
Reply With Quote