Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to dynamically create a category list


JonathanH

Recommended Posts

Posted

I would like to show a list of categories and their subcategories on my default page in the center section. I'd like it to be created dynamically, so I don't have to change it when I change my categories. I'd like each category to link to the category page. I think this will be easier for customers to find things and should help the search engines index my site.

 

I've created the category list manually and put it on my site without actual links.

 

My Webpage that shows what I'm talking about.

 

Its the section called "products we carry".

 

Is there a contribution already that does something similar to this? Or how would you suggest I approach this project. I'd like it to be formatted as close as possible to the example on my site.

 

Thanks.

Just learning OSC, but loving it so far.

Posted

See my signature for the Dynamic Sitemap contribution. You can use the class included, which I borrowed from Sitemap MS2, to list the categories. See the code in the dynamic_sitemap.php file for an example of how to use it.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

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

×
×
  • Create New...