Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

:::: Adding Category Image to index page ::::


joongpark

Recommended Posts

I want to display images of all main categories in index page...

 

Like this...

 

http://movion.com/catalog/default.php

 

I am the one who creted that site and I forgot how I did it.

 

I found the method in either contribution or the support forum.

I spent last 2 hours searching the forum and contribution but cannot locate it.

 

Can some one please let me know how to do it again ??

 

Thank you so much.

Link to comment
Share on other sites

In index.php, right near the top change:

 

$category_depth = 'top';

 

to

 

$category_depth = 'nested';

 

 

around about line 87 change;

 

    if (isset($cPath) && strpos('_', $cPath)) {

 

to:

 

    if (isset($cPath) && ereg('_', $cPath)) {

 

 

Matti

Link to comment
Share on other sites

  • 1 month later...

Archived

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

×
×
  • Create New...