X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Detailed image on category page (https://forum.x-cart.com/showthread.php?t=19712)

superfish 02-03-2006 01:17 PM

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

balinor 02-03-2006 01:40 PM

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}



All times are GMT -8. The time now is 12:13 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.