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)
-   -   Subcategory in 4.2 (https://forum.x-cart.com/showthread.php?t=46224)

techker 03-12-2009 09:27 AM

Subcategory in 4.2
 
Hi I have been searching a lot and didn't found what I need on the forum yet. I need to display subcategory in 1 column with larger image. Something like this : http://www.woofersetc.com/index.cfm?fuseaction=page.display&page_id=14&mfg_a ccount_ID=14

Thank you for helping.

cflsystems 03-12-2009 09:36 AM

Re: Subcategory in 4.2
 
In General Settings/Appearance Options find "Display subcategories list in multiple columns ". If is checked the subcats will appear in multicolumn format, if is not checked - as one column list

techker 03-12-2009 10:09 AM

Re: Subcategory in 4.2
 
By doing it this way I am losing the subcategory picture. I am just unsure what's the solution to reintegrate the picture is. I tried modifying the code but ended up with a messed up page :?

cflsystems 03-12-2009 04:07 PM

Re: Subcategory in 4.2
 
In /skin1/customer/main there are 2 files - subcategories_list.tpl and subcategories_t.tpl
The first one is the one you want to modify to include pics. Just look at the code in the second one of how the pic is inserted.
Code:

{if $subcategory.is_icon}
      <a href="home.php?cat={$subcategory.categoryid}"><img src="{$subcategory.icon_url|amp}" alt="{$subcategory.category|escape}" width="{$subcategory.image_x}" height="{$subcategory.image_y}" /></a>


AusNetIT 04-24-2009 07:39 PM

Re: Subcategory in 4.2
 
HI,

There is no Subcategory box around all my subcategory in 4.2?
and also how do i make it 4 colums with one row?

Ex:

>>>CAT1 PROD >>>CAT2 PROD >>>CAT3 PROD >>>CAT4 PROD


i GOT LIKE THIS CAT1
PROD

DEFAULT SKIN


All times are GMT -8. The time now is 06:18 AM.

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