![]() |
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, |
Re: How to use if statement for category page but not product page
{if $cat eq "xxx" && $main ne "product"} ... {/if}
|
All times are GMT -8. The time now is 04:58 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.