Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Display all products within a main category


threeG

Recommended Posts

Hi everyone - anyone,

 

I have been searching the forums (and tried myself) to find a way to show all the products in a main category as well as the subcategory headings. By doing this pages will seem more complete. It seems very inefficient to copy all the product links into the main category. For smaller stores this may be feasible, but for larger stores this gets out of hand.

 

I would like to list all the products in a main category as well as all the child-level, subcategory products of that one main category.

 

None of the contributions appear to do this. There are also some scattered posts here from others seeking a similar solution.

 

Has anyone here actually done this with their site and willing to share their contribution? Are there any coders here that think they know how to do this?

 

It seems to me to be an important contribution as this would give the control of navigating the site to the consumer - they could choose to browse the entire list for that category or use the subcategory headings to narrow it down.

 

I am hoping somebody out there has some insight.

 

I looked at the code in the index.php file where I am sure the sorting is done for this but couldn't figure it out. :blink:

Regards,

John

 

"There is nothing like a little successful tinkering to bring out the looney mad scientist in all of us. Brohoohoohoooohaahaahaaahahaaaaaaaaaa!"

Link to comment
Share on other sites

The way that I'm going to provide a list of all products on my site (assuming it goes live) it to tell them that they can do an advanced search for a single space in the description area. That will bring up a single list of all products. Then they can click on product headings to sort the list however they want.

 

I would assume that you could do a similar thing in code, but I'm too new to php and html to suggest how.

Link to comment
Share on other sites

Your comment is appreciated but I am not sure that you understood the post.

 

The idea is to be able to display all products within a given Main category including all its child level products in subcategories in one list - not all the products in the site. There are a few contributions I believe that will display all the store products.

 

What you suggest would show all the products in the store which does little for the customer, unless one has a very small number of products (<20 I would think). In that case one would have to wonder why you had categories in the first place.

 

Anyhow, I think the solution would be based on this logic.

 

If a category is selected from the left nav:

 

Check to see if the main or top category has any subcategories

If it has subcategories, then get all the products in the subcategories

Add this list of products from the subcategories to the product list in the main or top category selected, if any

display all of these products in the browser

display subcategory headings so that user can reduce the product list to just that sub category, choose just the main category products or go fish (i.e., browse all the products in that main category)

Regards,

John

 

"There is nothing like a little successful tinkering to bring out the looney mad scientist in all of us. Brohoohoohoooohaahaahaaahahaaaaaaaaaa!"

Link to comment
Share on other sites

  • 3 years later...
  • 1 month later...
OOO I would be interested in this too!

 

There is a contribution in this forum for Printed Catalog. This gives you a complete scrollable list of every item in your store complete with details, pictures, descriptions, prices etc... you can then scroll through the entire catalog, print it out or click on any product you are interested in from the catalog and it takes you directly to the information page of the product to purchase it. I installed it on my site and it works like a charm.

 

Tom

Link to comment
Share on other sites

  • 5 weeks later...
I have been looking for something like this too. I found a contribution called Category & Subcategories that lists products on all the pages but does not show the subcategories :\

 

 

I found this which ended up working to show subcategories with the Category & Subcategories contribution

 

http://www.oscommerce.com/community/contri...ns,1014/page,18

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...