Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

This Is How to display categories with Images in the body of the main page in 3 easy steps!


bgoat

Recommended Posts

:thumbsup: The changes a quite simple To see the effects check out buyitomaha.com and see if

this is what you want to do to your site!

 

These changes will only put the categories with Images on the main page body it wont make

any other of the changes that I did to the site so far.

 

1st step is to remove all products, categories, and sub categories except for one

category and name or rename it Main, Index, Home, or what ever you want your main

page to be called. You will not put any products or other categories here .

 

2nd goto /Catalog/includes/classes/ and open to edit the file breadcrumb.php and find

this line: for ($i=0, $n=sizeof($this->_trail); $i<$n; $i++) and then change

($i=0) to ($i=2) and save the file back to itself, this will remove the

TOP>>CATALOG >> on the left side of the navigation bar below your logo banner

leaving only the directory that you named as your main. When done you will create

your categories under the category you set as your main and then your subcategories

under them and so on......

 

3rd goto /catagory/includes/ and open the file application_top.php to edit, next find the line: $cPath

= '0'; and change it to read $cPath = '1'; then save it back to the same file.

This now makes your main or what ever you named as you main category your default

start page so now you are done just set up your categories and sub categories as

stated above then put in your products and you have done it!

 

Please if you find this useful for your site could you send me a

private message and or post it here in this thread and let me know. I would like to know if my efforts to post this is useful to anyone. Thanks for looking!.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...