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

Detailed image on category page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-03-2006, 01:17 PM
 
superfish superfish is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 32
 

Default Detailed image on category page

Hi,

We would like to add a detailed image to our subcategory pages, which are currently very plain:

http://www.luxuryskinshop.com/cart/home.php?cat=278

Is adding such an image difficult? I'd be happy if the image was static but would be ecstatic if the image changed.

Thanks,
Matt
__________________
X-Cart Pro v4.0.16
X-AOM
X-RMA
X-Special Offers
X-Gift Registry
Reply With Quote
  #2  
Old 02-03-2006, 01:40 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

2 things I would suggest for your site.

First, add icons to your sub-categories and display them in columns instead of one long list. Here the mod to do that:

http://forum.x-cart.com/viewtopic.php?t=5131

Next, you have the ability to add html (images, text, combo of both) to your category description. That will give the page a nice graphical header. You just need to edit this bit of code in customer/main/subcategories.tpl to do that. Replace this:

Code:
{if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description|regex_replace:"/[\n]/":" "} {/if}

with this:

Code:
{$current_category.description}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 10:55 PM.

   

 
X-Cart forums © 2001-2020