Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Display sub-categories by default


killkenny

Recommended Posts

Posted

Hi guys,

 

I am trying to get my category box to display all of my main categories as well as my sub categories by default.

 

So for instance if I was using the standard product set that come with osCommerce, then the categories box on the home page would look like this:

 

Hardware->

- CDROM Drives

- Graphics Cards

- Keyboards

- Memory

- Mice

- Monitors

- Printers

- Speakers

Software->

- Action

- Simulation

- Strategy

DVD Movies->

- Action

- Cartoons

- Comedy

- Drama

- Science Fiction

- Thriller

 

I hope this makes sense, and I hope there is someone out there that can help me.

 

Thanks

Posted

Hello,

Have you looked in the contributions section?

There will be loads for that type of thing

Red communities tab at the top of the page then Contributions

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

For anyone who is interested, I managed to get what I wanted by making some changes to the Show All Categories contrib.

 

No major changes are needed, I just wanted it to output the code in an unordered list.

 

Thanks for the heads up nic.

Archived

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

×
×
  • Create New...