Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I am using the Categories Enhanced with Dropdown Contrib on OSC 2.2 with a few other contribs mainly the random products contrib. I seem to be having a small issue with displaying the products in the main categories. What happens is when selecting the top level of a category it displays random products through out the site. When a subcategory is selected it displays just the items in that subcategory. I just cant seem to make it work at the top level. To view what I am trying to describe you can go here:

 

http://www.hirschoptics.com

 

Thanks in advance for any help.

Posted

I see when you select 'pointer_blue.gifCamera Accessories you get just the new product module, are there any products in that category? or are you wanting to display all products within sub-categories to that, or list the sub-categories, or both??

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

The issue seems to happen with any folder that has a subfolder. If there is a subfolder OSC will display New Products/Random Products from the entire website instead of listing just the products in that particular category.

Posted

I see when you select 'pointer_blue.gifCamera Accessories you get just the new product module, are there any products in that category? or are you wanting to display all products within sub-categories to that, or list the sub-categories, or both??

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted (edited)

There arent any products in the main category. I would like it to display the products within the subcategories or both would even be better.

Edited by ghirsch
Posted
There arent any products in the main category. I would like it to display the products within the subcategories or both would even be better.

 

 

The default index.php will only display products once the category selected has them, if you wish to display all products within all sub-categories, then you need to write some sql to find all child categories, then get all products within those, of course that is likely to be a big list, so perhaps a waste of time.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...