| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
which variable to use? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() What's the syntax for checking if I'm on the home page or not? I thought it would be {if $main ne ""} but that didn't work.
__________________
Gregg XC v4.0.12 (13 and 17) Gold |
|||||||
#2
|
|||||||
|
|||||||
![]() I always use this:
{if $main eq "catalog" and $current_category.category eq ""}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Smashing! Works like a champ. Thank you very much.
__________________
Gregg XC v4.0.12 (13 and 17) Gold |
|||||||
#4
|
|||||||
|
|||||||
![]() good one and easy too
![]()
__________________
X-Cart 4.0.18 DBest |
|||||||
|
|||
X-Cart forums © 2001-2020
|