Zen Cart Logo
Forums / General Questions / Parent / Sub category question

Parent / Sub category question

Views: 1,398

Results 1 to 12 of 12
30 Oct 2012, 9:43 PM
#1
jasperandjax avatar

jasperandjax

New Zenner

Join Date:
Mar 2012
Posts:
14
Plugin Contributions:
0

Parent / Sub category question

First off... I am using V1.5.1, the install was done via a complete new installation. I was using the previous version and was working on manipulating it and didn't make any back-ups and oooopsied something so killed all the files/directories and sql off of the host to start from scratch. (I love Zen Cart)

my zen cart is located at http://jasperandjax.com/storefront and the questions that I have is probably something simple that I am just overlooking. In my category list box it has the parent cat then the sub cats listed like it should. When I click on the parent cat (ie. Automotive) the main window shows that I am in that category but that no products are listed. How do I get it to list the Sub-categories of the parent cat in the main window ? (I am also using the Sage template if that makes any difference, but I have the same issue with the default template)

A http://stufftoscrap.com/store/ is a zen cart shop that I found that does what I am trying to figure out what mine won't do ... category on theirs is "Build A Kit"

I'm am sure there is something in the forums already explaining this, but I have been googling and searching for the past few hours and can not seem to find the reasoning for it. Any pointers would be greatly appreciated or if ya know where this has already been discussed to point me that way would be great as well.

Thanks In Advance

30 Oct 2012, 9:49 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Parent / Sub category question

admin > config > productlisting > Show Sub-Categories on Main Page while navigating through Categories > set to "1"

Zen-Venom Get Bitten

30 Oct 2012, 9:59 PM
#3
jasperandjax avatar

jasperandjax

New Zenner

Join Date:
Mar 2012
Posts:
14
Plugin Contributions:
0

Re: Parent / Sub category question

kobra:

admin > config > productlisting > Show Sub-Categories on Main Page while navigating through Categories > set to "1"

Thanks for the quick response... I do have it set to one but still no luck with it showing up correctly. here is a list of what my config>productlisting settings are

Display Product Image 1
Display Product Manufacturer Name 0
Display Product Model 1
Display Product Name 2
Display Product Price/Add to Cart 3
Display Product Quantity 0
Display Product Weight 0
Display Product Price/Add to Cart Column Width 125
Display Category/Manufacturer Filter (0=off; 1=on) 0
Prev/Next Split Page Navigation (1-top, 2-bottom, 3-both) 3
Display Product Listing Default Sort Order
Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product) 1
Display Multiple Products Qty Box Status and Set Button Location 3
Display Product Description 150
Product Listing Ascending Sort Order +
Product Listing Descending Sort Order -
Include Product Listing Alpha Sorter Dropdown true
Include Product Listing Sub Categories Image true
Include Product Listing Top Categories Image true
Show SubCategories on Main Page while navigating 1

As simple as that fix could have been ... I wish it would have solved it :)

31 Oct 2012, 6:49 AM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Parent / Sub category question

Product listing settings should be irrelevant for this, as you want (and should expect) a subcategory listing. Not sure why that subcat setting is lumped in with product listing settings... sounds like a legacy item where somebody a long time ago couldn't figure out a better place for it.

However, for some reason the program is trying to run the product listing page and rightly saying there are no products to list. Is it possible that you have a disabled product directly in Automotive?

31 Oct 2012, 2:44 PM
#5
jasperandjax avatar

jasperandjax

New Zenner

Join Date:
Mar 2012
Posts:
14
Plugin Contributions:
0

Re: Parent / Sub category question

gjh42:

Product listing settings should be irrelevant for this, as you want (and should expect) a subcategory listing. Not sure why that subcat setting is lumped in with product listing settings... sounds like a legacy item where somebody a long time ago couldn't figure out a better place for it.

However, for some reason the program is trying to run the product listing page and rightly saying there are no products to list. Is it possible that you have a disabled product directly in Automotive?

I've check to make sure I don't have any products under Automotive at all and there are none. I've even tried deleting all categories and products and loading them back in. A strange one is I uploaded some more products early this morning and some of the categories are working like they should and some are doing like Automotive does.. Needless to say now I am really confused since its no longer an all or nothing type thing.

31 Oct 2012, 4:24 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Parent / Sub category question

Were all products added manually or did you use some other means to populate them?

Zen-Venom Get Bitten

31 Oct 2012, 5:11 PM
#7
jasperandjax avatar

jasperandjax

New Zenner

Join Date:
Mar 2012
Posts:
14
Plugin Contributions:
0

Re: Parent / Sub category question

They were all added using Easypopulate 4.0 . I'm currently starting at square 1 beings that I accidently deleted a wrong directory or 2 on my server so going to be doing a fresh re-install of zc and then I'll split up my easypopulate csv file to try just a few items at a time and see if it was just a glitch from when I was originally setting it up. And on my CSV I am making sure this time that there are no Parent cats with prods in them from the get-go...

31 Oct 2012, 8:40 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Parent / Sub category question

You might try creating the cats & sub cats manually
Then exporting this
Then adding products to the resulting spreadsheet in the proper cats/subcats

Zen-Venom Get Bitten

6 Nov 2012, 4:38 AM
#9
jasperandjax avatar

jasperandjax

New Zenner

Join Date:
Mar 2012
Posts:
14
Plugin Contributions:
0

Re: Parent / Sub category question

just as an update.. not totally sure what was causing the issue in the first place, but after re-installing zen cart the issue went away and the cats/products are now showing up correctly ...

6 Nov 2012, 5:26 AM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Parent / Sub category question

Glad you got it sorted but should not have had to re-install

Zen-Venom Get Bitten

6 Nov 2012, 5:49 AM
#11
jasperandjax avatar

jasperandjax

New Zenner

Join Date:
Mar 2012
Posts:
14
Plugin Contributions:
0

Re: Parent / Sub category question

unfortunately I didn't have to re-install just because of this issue.. I accidently had broken a few plugins and links while tinkering and trying to get it dialed in a little better. I had also made the mistake of making multiple changes between backing anything up so I lost track of what had been installed between back ups so did a clean install just to clean everything back up... MENTAL NOTE.... Back-up between any update or install !!!!!! with a side note of keeping notes as to what was installed after each back up lol !!

6 Nov 2012, 6:05 AM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Parent / Sub category question

Yes, always a good policy

Zen-Venom Get Bitten