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

Multiple category headings?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-02-2008, 03:57 PM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Multiple category headings?

how would you add a caption to each one.

For instance

Mens Items
xxxx
xxxx
xxxx
Womens items
xxxx
xxxx
xxxx

etc,... how can this be done?


Thanks
__________________
Regards, Dan
X-Cart Gold Version 4.1.10

1 - One page checkout
2 - Image Generator
3 - CSDEO Pro
4 - Shop By Price
5 - Next - Previous
6 - On Sale
7 - Shop By Price

8 - Froogle & Google Base Feed
9 - Buy Together
10 - Customer Loyalty Points
11 - Customer Reward Points
Customer Reward Points Referral Add-on
12 - Product Reviews
13 - Other Custom Modifications
----------------------
http://www.townsqjewelry.com/
http://www.eroticnights4u.com/ <---- Adult Oriented - Toys
Reply With Quote
  #2  
Old 03-02-2008, 09:25 PM
 
Asiaplay Asiaplay is offline
 

X-Wizard
  
Join Date: Oct 2005
Posts: 1,242
 

Default Re: Multiple category headings?

Hi EN4U,

If I understand your question correctly... then you are perhaps not using the full functionality of categories and sub-categories built into the cart.
i.e. at the moment you have only "one" level of category (and no sub-categories) - essentially all your categories are top level / 1st level categories.

What you should be doing is making "Mens Items" and "Womens Items" the top categories and then "xxxx1" "xxxx2" "xxxx3" etc. the sub-categories under each of these main categories.

So make a category called "Mens Items" and then click on it to open it - then add another category (this will be a sub-category e.g. "xxxx1")
This will give you the "top" category as a caption if you use fly-out category modules (either paid one or one you can do yourself from finished modules in the forum).

e.g.
Mens Items
xxxx1
xxxx2
xxxx3
xxxx4

Womens Items
xxxx5
xxxx6
xxxx7
xxxx8

Hope I understood your question and that comments are helpful - cheers, Asiaplay
__________________
X-Cart Gold version 4.1.9
(plus built in X-Cart bugs!)
Reply With Quote
  #3  
Old 03-02-2008, 09:31 PM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Re: Multiple category headings?

Quote:
Originally Posted by Asiaplay
Hi EN4U,

If I understand your question correctly... then you are perhaps not using the full functionality of categories and sub-categories built into the cart.
i.e. at the moment you have only "one" level of category (and no sub-categories) - essentially all your categories are top level / 1st level categories.

What you should be doing is making "Mens Items" and "Womens Items" the top categories and then "xxxx1" "xxxx2" "xxxx3" etc. the sub-categories under each of these main categories.

So make a category called "Mens Items" and then click on it to open it - then add another category (this will be a sub-category e.g. "xxxx1")
This will give you the "top" category as a caption if you use fly-out category modules (either paid one or one you can do yourself from finished modules in the forum).

e.g.
Mens Items
xxxx1
xxxx2
xxxx3
xxxx4

Womens Items
xxxx5
xxxx6
xxxx7
xxxx8

Hope I understood your question and that comments are helpful - cheers, Asiaplay


Wow, thank you so very much. i will send this to my brother who is doing the products on the site.


Thank you again......
__________________
Regards, Dan
X-Cart Gold Version 4.1.10

1 - One page checkout
2 - Image Generator
3 - CSDEO Pro
4 - Shop By Price
5 - Next - Previous
6 - On Sale
7 - Shop By Price

8 - Froogle & Google Base Feed
9 - Buy Together
10 - Customer Loyalty Points
11 - Customer Reward Points
Customer Reward Points Referral Add-on
12 - Product Reviews
13 - Other Custom Modifications
----------------------
http://www.townsqjewelry.com/
http://www.eroticnights4u.com/ <---- Adult Oriented - Toys
Reply With Quote
  #4  
Old 03-05-2008, 10:14 AM
 
Erotic4U Erotic4U is offline
 

Newbie
  
Join Date: Feb 2008
Posts: 9
 

Default Re: Multiple category headings?

What if I just want the heading to say what the title of the section is and not allow them to click it? For example:

Toys For Women (no click option)
Vibrators (click option)
Dildos (click option)

etc, etc.

Is there a way to do that?
__________________
EroticNights4U is open for business! Check us out!

www.eroticnights4u.com

X-Cart Gold Version 4.1.9
Reply With Quote
  #5  
Old 03-05-2008, 11:34 AM
 
Asiaplay Asiaplay is offline
 

X-Wizard
  
Join Date: Oct 2005
Posts: 1,242
 

Default Re: Multiple category headings?

Good question

In the code it is adding the link <a href....> for each category and sub-category... basically you just need to have an IF category is top-level category (no a href link) ELSE if not then include the <a href link...
This could also be done with CSS I guess (using a different style tag if is top category).

If you are not sure how to do this (change the code) and have bought someones third party module - then ask them to help... as I think they could code this for you in a couple of minutes (and might even be nice enough to not charge more than a couple of dollars).

Cheers - Asiaplay

PS: I am not a programmer - just trying to help with a solution for you which is built into the existing cart or can be easily done (hence why not given you the code change for this).
__________________
X-Cart Gold version 4.1.9
(plus built in X-Cart bugs!)
Reply With Quote
  #6  
Old 03-05-2008, 01:34 PM
 
Erotic4U Erotic4U is offline
 

Newbie
  
Join Date: Feb 2008
Posts: 9
 

Default Re: Multiple category headings?

Thanks for the tips. I'm not a programmer either! Can anyone assist in altering the code and send me the version of it? I'd appreciate it.
__________________
EroticNights4U is open for business! Check us out!

www.eroticnights4u.com

X-Cart Gold Version 4.1.9
Reply With Quote
  #7  
Old 03-15-2008, 10:41 AM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Re: Multiple category headings?

Quote:
Originally Posted by Erotic4U
Thanks for the tips. I'm not a programmer either! Can anyone assist in altering the code and send me the version of it? I'd appreciate it.

BUMP.... can anyone help here
__________________
Regards, Dan
X-Cart Gold Version 4.1.10

1 - One page checkout
2 - Image Generator
3 - CSDEO Pro
4 - Shop By Price
5 - Next - Previous
6 - On Sale
7 - Shop By Price

8 - Froogle & Google Base Feed
9 - Buy Together
10 - Customer Loyalty Points
11 - Customer Reward Points
Customer Reward Points Referral Add-on
12 - Product Reviews
13 - Other Custom Modifications
----------------------
http://www.townsqjewelry.com/
http://www.eroticnights4u.com/ <---- Adult Oriented - Toys
Reply With Quote
  #8  
Old 03-20-2008, 06:17 PM
 
Erotic4U Erotic4U is offline
 

Newbie
  
Join Date: Feb 2008
Posts: 9
 

Default Re: Multiple category headings?

I found a site that does this.....but I don't know how they do it. Notice on the left Nav bar they have the title of the section and right below it the sub categories are clickable. I'm fine with the clickable categories, but I want the title category to be non clickable like shown on this site. http://www.xtoysusa.com
__________________
EroticNights4U is open for business! Check us out!

www.eroticnights4u.com

X-Cart Gold Version 4.1.9
Reply With Quote
  #9  
Old 03-22-2008, 04:14 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Multiple category headings?

Ah crumbs! Please put a warning when an adult link like that is concerned. I'm fearing my bosses are going to think I'm a right perve - which I am but I don't want them knowing it ;D

What about trying this post from Awasson (there's also one from Moondog somewhere) & remember to adapt include/categories.php (which makes subcategories available)
http://forum.x-cart.com/showpost.php?p=161471&postcount=37

The whole thread...
http://forum.x-cart.com/showthread.php?t=13345

Hope this helps.
__________________
Doms
kube v4.1.9
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:46 PM.

   

 
X-Cart forums © 2001-2020