![]() |
If statement for category page
Hey, can anyone help me write an if statement which would determine if the current page equals a category page?
|
Re: If statement for category page
{if $main eq "catalog"}
|
Re: If statement for category page
awww, thanks!
What about if I wanted to say if $main eq 'home' ? I tried that, and 'main' but it didn't work. |
Re: If statement for category page
{if $main eq "catalog" and $current_category.category eq ""} ?
|
Re: If statement for category page
{if $main eq "catalog" and $current_category.category eq ""}
is "home" that is, there is no category. LOOK AT: /skin1/customer/home_main.tpl for guidance. |
All times are GMT -8. The time now is 03:43 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.