Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Additional Categories Sidebox?

Additional Categories Sidebox?

Views: 4,146

Results 1 to 19 of 19
11 Mar 2009, 9:01 PM
#1
mepeet avatar

mepeet

New Zenner

Join Date:
Sep 2008
Posts:
10
Plugin Contributions:
0

Additional Categories Sidebox?

Hello,

I'm wondering if there is a way to add a second "Categories" sidebox which would contain a different set of categories. The products in the 2nd categories menu would be linked from the original "Categories", just grouped differently.

I have a "Shop by Subject" menu now, I'd like to add a "Shop by Grade Level" menu under it.

Any help is appreciated!

Thanks,
MEPeet
http://maestrosteachingsupplies.net/

12 Mar 2009, 6:15 PM
#2
mepeet avatar

mepeet

New Zenner

Join Date:
Sep 2008
Posts:
10
Plugin Contributions:
0

Re: Additional Categories Sidebox?

bump :blink:

13 Mar 2009, 4:49 AM
#3
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Additional Categories Sidebox?

mepeet:

Hello,

I'm wondering if there is a way to add a second "Categories" sidebox which would contain a different set of categories. The products in the 2nd categories menu would be linked from the original "Categories", just grouped differently.

I have a "Shop by Subject" menu now, I'd like to add a "Shop by Grade Level" menu under it.

Any help is appreciated!

Thanks,
MEPeet
http://maestrosteachingsupplies.net/

Me,
Check out this little post...

http://www.zen-cart.com/forum/showthread.php?t=44445&page=2

13 Mar 2009, 5:39 AM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Additional Categories Sidebox?

Me,
A long post to read but killer...
This is a short version

You could use a little tricky feature of coding here ...

If you are not using Document General Product Type ...

Make a Category and set the Category Restrictions to:
Document General
Product General

What this does is by having the Category marked as Restricted to Document General, that is a trigger to put that Category in the Document Sidebox ...

Marking it as Restricted to Product General allows normal Products to be added ...

Providing you set all of the Categories to both:
Document General
Product General

They will show in the Document Sidebox vs the Categories Sidebox ...

Now, you can use this Category Restriction to divide your Categories between 2 sideboxes ...

Note: Be careful that you set all Categories for the Document Sidebox to both Product Types or you will not see the Category/SubCategory in the Document Sidebox if it is missing the Restriction ...

NOTE: if you did not notice, the Restrictions for a Category appear when you Edit the Category ...
__________________
Linda McGrath
If you have to think ... you haven't been zenned ...

A simpler version of the task

Create the category, then go back and edit it. At the bottom of the page (Restrict to Product Type), select Document-General, then click Add Include Subcategories. When it refreshes, select Product-General and click Add Include Subcats.

The page will now show the two product types enabled. Save it.

When you go to create a product in the category, the dropdown will let you choose which of those two types to use.
__________________
Glenn

Of course you will half to edit the english.php file to change the side box headings Category to Shop by Subject and Documents to Shop by Grade Level

  1. includes/ languages/ maestro/ english.php
  2. remember to leave the single quotes
  3. EX: 'Category' will be 'Shop by Subject'
13 Mar 2009, 6:07 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Additional Categories Sidebox?

Especially if you want the "Shop by Grade Level" box right under the first box, you can do this with Categories Dressing. Make two category groups, give each one a box and heading and hide the original box/heading.
This avoids having to add code to two boxes to discriminate between display lists.

2 Apr 2009, 8:26 AM
#7
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Additional Categories Sidebox?

Ok - I'm understanding this ~ now can I set these two "categories" side-by-side in the same sidebox and toggle between them?

Tina

2 Apr 2009, 2:06 PM
#8
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Additional Categories Sidebox?

langflyer:

Hi there,
I just created a Document type category, but it shows "SOLD OUT" item :blink: how to get rid of it ? Thanks in advance~ :blush:

http://momsworld.anggugu.com/index.php?main_page=document_general_info&cPath=54&products_id=330

La,
admin panel/ catalog/ catagories-products/

  1. Edit your Combi product page
  2. Products Quantity:
  3. Is it blank
  4. Give it a value of 1,000
  5. Cute baby picture by the way, I bet you are a proud father and mother, very precious...
2 Apr 2009, 8:26 PM
#9
gtgal avatar

gtgal

New Zenner

Join Date:
Apr 2009
Posts:
1
Plugin Contributions:
0

Re: Additional Categories Sidebox?

Hi,

We paid a developer to install and set up our Zen Cart site. We asked to have two category boxes but were told they tried and it was not possible in Zen Cart.

However, presumably in the process of trying to achieve the above request, they seem to have set up our categories so that there is one "Top" category and then all the our categories are actually subcategories. It's therefore impossible to add subcategories (since they would be sub-sub-categories.) How can I fix this? I can't seem to add a category at the highest level - it always defaults to the "Top" category.

Thanks for any help!

3 Apr 2009, 1:13 AM
#10
langflyer avatar

langflyer

New Zenner

Join Date:
Nov 2007
Posts:
47
Plugin Contributions:
0

Re: Additional Categories Sidebox?

haredo:

La,
admin panel/ catalog/ catagories-products/

  1. Edit your Combi product page
  1. Products Quantity:
  1. Is it blank
  1. Give it a value of 1,000
  1. Cute baby picture by the way, I bet you are a proud father and mother, very precious...

Hi,
The "Combi" category has been restricted to "Document - General" for Product Types. No Products Quantity was found for this Product Type :oops:

Anyone know how to turn off the "SOLD OUT" ? :unsure:

3 Apr 2009, 3:19 AM
#11
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: Additional Categories Sidebox?

I have created a sidebox according to the direction Hare Do gave, and it worked great, however, how do I change the title box from "documents" to something else?

Also, is there a way to just list products in this box without starting with a category first?

Thanks in advance...

3 Apr 2009, 4:31 AM
#12
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Additional Categories Sidebox?

amandavz:

I have created a sidebox according to the direction Hare Do gave, and it worked great, however, how do I change the title box from "documents" to something else?

Also, is there a way to just list products in this box without starting with a category first?

Thanks in advance...

Am,
Click on the tab Called: Tutorials/FAQ

  1. Search for developers tool kit
  2. now search with this kit for : Documents
  3. and you will find the .php file to edit

includes/languages/english/extra_definitions/document_general.php

3 Apr 2009, 7:31 PM
#13
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Additional Categories Sidebox?

gtgal -
"Top" is the name for the invisible "category" that contains all of the real categories. You cannot have anything else at the Top level, but you can add more real top level categories if you already have some.

amandavz -
Showing products in a categories sidebox would require a major change in the coding. Clydejones' Expanded Category mod in Free Addons shows them, but it also shows all categories and all products at the same time. It might be possible to modify that to work if you are good with PHP.

5 Apr 2009, 7:29 PM
#14
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: Additional Categories Sidebox?

Forgive me, I don't quite understand. I was able to get the header changed, but I want to be able to add products to this "documents" side box without having to add a category first.

The instructions were to add a category and to change the restrictions in order to get this box to show up, is there a way to add products without adding categories first and still use this "documents" side box?

I want to be able to just list options available, instead of having to click the category, and then the options appear.

I hope this makes sense. See https://www.londonsautobody.com - "Add Paint Option" side box.

Thanks again.

6 Apr 2009, 9:15 AM
#15
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Additional Categories Sidebox?

That site's "Add Paint Options" box does not point to a product, it points to a category, which then has subcategories (which currently are empty, with no products).

And if you actually do want the products to show in the sidebox, create a category for each product, and make sure that Configuration > Layout Settings > Skip 1-prod Categories is set to true. Clicking the category link will go straight to the product page.

7 Apr 2009, 2:51 AM
#16
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: Additional Categories Sidebox?

I think I worked around it pretty good. I had to get creative, but I think I got it.

Thanks for your help though.

Check it out!!!

https://www.londonsautobody.com

7 Apr 2009, 7:50 AM
#17
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Additional Categories Sidebox?

Yep, three single-product subcategories in the "Paint It:" top category do the job nicely.

7 Apr 2009, 2:00 PM
#18
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Additional Categories Sidebox?

amandavz:

I think I worked around it pretty good. I had to get creative, but I think I got it.

Thanks for your help though.

Check it out!!!

www.londonsautobody.com

Am,
Site looking nice and clean

Just a suggestion:

  1. http://londonsautobody.com/index.php?main_page=product_info&cPath=449_450&products_id=70
  2. I would use this procedure for my customer so they do not miss this technique
  3. admin panel/ catalog/ option name manager
  4. en: Year Order= 20 Text
  5. Just giving you a start here
  6. make sure and read the Tutorials/FAQ on Attributes to finish
24 Feb 2010, 3:27 AM
#19
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Additional Categories Sidebox?

Sorry to bump an old post, but I wanted to say what an AWESOMELY simple solution!!!
:clap:

haredo:

Me,
A long post to read but killer...
This is a short version

You could use a little tricky feature of coding here ...

If you are not using Document General Product Type ...

Make a Category and set the Category Restrictions to:
Document General
Product General

What this does is by having the Category marked as Restricted to Document General, that is a trigger to put that Category in the Document Sidebox ...

Marking it as Restricted to Product General allows normal Products to be added ...

Providing you set all of the Categories to both:
Document General
Product General

They will show in the Document Sidebox vs the Categories Sidebox ...

Now, you can use this Category Restriction to divide your Categories between 2 sideboxes ...

Note: Be careful that you set all Categories for the Document Sidebox to both Product Types or you will not see the Category/SubCategory in the Document Sidebox if it is missing the Restriction ...

NOTE: if you did not notice, the Restrictions for a Category appear when you Edit the Category ...
__________________
Linda McGrath
If you have to think ... you haven't been zenned ...A simpler version of the task

Create the category, then go back and edit it. At the bottom of the page (Restrict to Product Type), select Document-General, then click Add Include Subcategories. When it refreshes, select Product-General and click Add Include Subcats.

The page will now show the two product types enabled. Save it.

When you go to create a product in the category, the dropdown will let you choose which of those two types to use.
__________________
GlennOf course you will half to edit the english.php file to change the side box headings Category to Shop by Subject and Documents to Shop by Grade Level

  1. includes/ languages/ maestro/ english.php
  1. remember to leave the single quotes
  1. EX: 'Category' will be 'Shop by Subject'