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

Creating pages that display different categories

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-05-2007, 07:24 AM
 
liquid liquid is offline
 

Member
  
Join Date: Jul 2006
Posts: 14
 

Default Creating pages that display different categories

Hello,

I have potential client that would like to set up their store as follows:

Division 1 | Division 2 | Division 3

Each of these divisions is separate from each other. These Divisions would be shown as graphic tab links at the top of the site and when clicked on would list their own categories and sub categories on the sidebar, much where the categories are listed as default.

/edit
As per part of this existing thread each Division can be a Root Category. Now each Root category when clicked on should display it's sub-categories in the side bar instead of all categories and all sub-categories of the entire store as the cart does by default.


Is there a way of doing this?

any input would be greatly appreciated.
__________________
lite commerce 2.2 [unix]
x-cart -gold 4.1.4 [unix]
canada
Reply With Quote
  #2  
Old 08-05-2007, 08:14 AM
 
balinor balinor is offline
 

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

Default Re: Creating pages that display different categories

Set up the divisions as root categories, and add sub-categories to them.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-05-2007, 11:53 AM
 
liquid liquid is offline
 

Member
  
Join Date: Jul 2006
Posts: 14
 

Default Re: Creating pages that display different categories

That makes sense, so now if I make the a root category as Division 1 how would I get that page to only display Division 1's sub-categories.

..... the same if I make another root category as Divison 2 how would I get that page to only Display Division 2 sub-categories.

thx for your help.
__________________
lite commerce 2.2 [unix]
x-cart -gold 4.1.4 [unix]
canada
Reply With Quote
  #4  
Old 08-05-2007, 12:10 PM
 
balinor balinor is offline
 

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

Default Re: Creating pages that display different categories

That's the way it works by default...the only sub-cats you see when you click on a root cat are the ones belonging to that root cat.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 08-05-2007, 12:59 PM
 
liquid liquid is offline
 

Member
  
Join Date: Jul 2006
Posts: 14
 

Default Re: Creating pages that display different categories

sorry I should have been more clear.. in reference to the side bar where the all categories are usually listed I will see only the root category sub-categories listed?

I don't want all subcategories of all root categories being listed on the side menu. just the subcategories of the root category should be listed.
__________________
lite commerce 2.2 [unix]
x-cart -gold 4.1.4 [unix]
canada
Reply With Quote
  #6  
Old 08-05-2007, 01:14 PM
 
balinor balinor is offline
 

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

Default Re: Creating pages that display different categories

Sub-categories don't show by default in the side menu.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 08-05-2007, 01:39 PM
 
liquid liquid is offline
 

Member
  
Join Date: Jul 2006
Posts: 14
 

Default Re: Creating pages that display different categories

but is there a way of listing it's subcategories?
__________________
lite commerce 2.2 [unix]
x-cart -gold 4.1.4 [unix]
canada
Reply With Quote
  #8  
Old 08-06-2007, 04:24 AM
 
balinor balinor is offline
 

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

Default Re: Creating pages that display different categories

Yes, you would need to do a little hacking though. Have a look in the Custom Mods forum, lots of category display mods, some of which cover showing sub-categories. You would just need to use the part about sub-category display and hide the root category display part.
__________________
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 11:19 PM.

   

 
X-Cart forums © 2001-2020