| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Category/Subcategory specific Photo below featured items | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am trying to place specific photos below featured items in all of my categories and sub categories. I have identified how to place one photo below featured items for all categories, but am struggling with my If statement to make the photos category specific.
For example: {if $category eq "children"} [img]{$ImagesDir}/child.gif[/img] {elseif $category eq "adult"} [img]{$ImagesDir}/adult.gif[/img] The problem is that I don't know what $category and "children" actually are!! Is $category actually $cat and "children" actually "1"? I hope this makes sense. Thanks |
|||||||
#2
|
|||||||||
|
|||||||||
![]() yeh,
{if $cat eq "1"} etc is the way to go. just swap the cat id number
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#3
|
|||||||
|
|||||||
![]() Right under my nose all along
|
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|