Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Homepage Images that link to sub-categories


Guest

Recommended Posts

I have three images on my main index page that Im trying to get to load sub-categories of products. I also have half a brain working and just cant seem to nail this. Can anyone lend an assist? many thanks in advance.

Link to comment
Share on other sites

silly question but have you 'made' the sub categories! I've got categories and subcategories and they clicked through automatically - do you have a link to your site?

Running a botched up version of  osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help.

Link to comment
Share on other sites

presumably these images are some html hard-coded ones? You should place some code to retrieve the categories images from the database. Because you need the categories_id field along with the link to display the listings.

Link to comment
Share on other sites

presumably these images are some html hard-coded ones? You should place some code to retrieve the categories images from the database. Because you need the categories_id field along with the link to display the listings.

Thanks for emailing back enigma1 and zefeena. Yes, I am dynamically calling the images from the DB, but the place Im lost is how to call only certain subcategories from the table categories_id. The first image links to about 54 sub-categories, the second to 3 and the third to 9. www.frames4everyone.com.

Link to comment
Share on other sites

presumably these images are some html hard-coded ones? You should place some code to retrieve the categories images from the database. Because you need the categories_id field along with the link to display the listings.

Thanks for emailing back enigma1 and zefeena. Yes, I am dynamically calling the images from the DB, but the place Im lost is how to call only certain subcategories from the table categories_id. The first image links to about 54 sub-categories, the second to 3 and the third to 9. www.frames4everyone.com.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...