| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
if specific category | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
Can anyone help me achieve the following? When a certain category is chosen, I want to display my products in a different format. So I am going to create a different products.tpl that is called when that specific category is selected. I am stuck trying to figure out what if statement to use in categories.tpl or subcategories.tpl I would have thought that I could either have it so that it chooses if category ID = my category, or if category = position. Any pointers or ideas however well founded would be great as they may just get me moving in the right direction. Thanks in advance
__________________
Version 5.3 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() {if $cat eq "101"}
code {else} code {/if}
__________________
Dongan MercuryMinds Technologies Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com Follow us at Facebook / Twitter |
|||||||||
|
|||
X-Cart forums © 2001-2020
|