| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding Specific banners to specific categories! | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hi All
Im hoping this will be quite a simple one but im not much of a programmer so any help will be great. I want to add different baners to different category sections so i need a set of {if}{else} statements but i wsn't sure of the structure. eg {category URL eq "www.mystore.com/shop/category1.html} display this image {elseif} {category URL eq "www.mystore.com/shop/category2.html}display this {/if} I want to be able to do this with the html catalog so i can use categoryid=4 it has to be a URL that is specific to the html.catalog Thanks john X-Cart 3x
__________________
https://www.bedstar.co.uk |
|||||||||
#2
|
|||||||
|
|||||||
![]() {if $cat eq 'x'}
show this {elseif $cat eq 'x'} show that {/if} replace 'x' with the number of the category.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|