Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Different message for differnet catagory

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-26-2005, 05:49 PM
 
x-online x-online is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Australia, Sydney
Posts: 189
 

Default Different message for differnet catagory

Hi,

I would like to know how to show different messages up the top of the catagory box eg.

CLick on the A catagory then it takes you to the next page.
then the message A up the top and then the products/sub catagory at the bottom.

Then if customer click B catagory the it shows B message.

Any ideas plesae?
__________________
X-Cart version 4.x (Most likely will be the latest version)
Reply With Quote
  #2  
Old 01-27-2005, 01:57 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

Code:
{if $cat eq 1} show message 1 {elseif $cat eq 2} show message 2 {/if}

where the numbers represent the category id numbers
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 01-27-2005, 03:39 AM
 
x-online x-online is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Australia, Sydney
Posts: 189
 

Default Thanks shan

Thanks Shan, should work like a Charm ^_^
__________________
X-Cart version 4.x (Most likely will be the latest version)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:04 PM.

   

 
X-Cart forums © 2001-2020