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

Subcategory in 4.2

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-12-2009, 09:27 AM
  techker's Avatar 
techker techker is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 155
 

Default 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.
__________________
X-Cart version 4.4.3
Reply With Quote
  #2  
Old 03-12-2009, 09:36 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,192
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 03-12-2009, 10:09 AM
  techker's Avatar 
techker techker is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 155
 

Default 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
__________________
X-Cart version 4.4.3
Reply With Quote
  #4  
Old 03-12-2009, 04:07 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,192
 

Default 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>
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 04-24-2009, 07:39 PM
  AusNetIT's Avatar 
AusNetIT AusNetIT is offline
 

Senior Member
  
Join Date: Apr 2009
Posts: 152
 

Default 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
__________________
Melbourne website design | SEO in Melbourne

Installed Ver 4.6.0
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 03:40 PM.

   

 
X-Cart forums © 2001-2020