Forums / Setting Up Categories, Products, Attributes / Products not displaying in category if there's more than one

Products not displaying in category if there's more than one

Locked

Started by scottbrown_14 on 3 Mar 2009, 10:52 AM · Views: 977

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
3 Mar 2009, 10:52 AM
#1
scottbrown_14 avatar

scottbrown_14

New Zenner

Join Date:
Mar 2009
Location:
Huddersfield, UK
Posts:
14
Plugin Contributions:
0

Products not displaying in category if there's more than one

Hi,

I've been working with Zen Cart on a few sites for a month or so now and have been getting to grips with it, solving problems as they arise and learning. It's quite fun. But no amount of chopping, changing and searching for answers has helped me on this one. Maybe someone can help.

I have a site (temporarily at http://www.express-pen.co.uk/cummins-shop/) which will have 3 sections, clothing, best selling clothing and merchandise. All categories are set up with general products in them and I don't recall adding products in different ways for each section. However, the merchandise category wont show products when there's more than one in the category.

If you look at the link above, you'll see I've set up two categories which have the same products in them. One has all 4 view enabled, the other has only the first enabled. Notice how one product is being shown in the second version and none in the first.

No errors are being displayed in the error log, the page is continuing to be created beyond the failure of product display and, as I said, it will display one product but no more.

It's completely stumped me, this one, and I can't figure out what to do. I'd rather fix than re-install to be honest.

Thanks for reading, any ideas?

Ta,

Scott.

3 Mar 2009, 4:07 PM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Products not displaying in category if there's more than one

The products are actually on that page - you just can't see them except by looking at the source code.

The problem is in your stylesheet - specifically with this line:

#productsListingTopNumber, #productsListingListingTopLinks, #productsListingBottomNumber, #productsListingListingBottomLinks, #indexProductList form { display: none; }

If you're going to hide the #indexProductList form, you're not going to see any product listings that have add-to-cart capability.

Neville
An assumption is what you arrive at when you get tired of thinking...

4 Mar 2009, 11:21 AM
#3
scottbrown_14 avatar

scottbrown_14

New Zenner

Join Date:
Mar 2009
Location:
Huddersfield, UK
Posts:
14
Plugin Contributions:
0

Re: Products not displaying in category if there's more than one

Ah got it, thanks a lot.

Bit of an elementary mistake really but thanks for indulging it!