![]() |
Hide various sections on Home page only
I would like to hide certain sections from displaying only on the Home page - e.g. categories menu, login section, cart, etc.
Obviously an if statement is required. Can anyone please advise? Thanks |
Re: Hide various sections on Home page only
{if $main eq "catalog" and $current_category.category eq ""}
displays on home page {else} does not display {/if} |
Re: Hide various sections on Home page only
Perfect. Thanks!
|
Re: Hide various sections on Home page only
Does this if statement apply for 4.2.X as well?
What .tpl do you use the statement in - customer/home.tpl or customer/main/welcome.tpl? Quote:
|
All times are GMT -8. The time now is 01:43 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.