Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How can i change "catalog" link to display Category and subcategory?


Recommended Posts

I'm looking for a way to change the link cause it does the same thing as "Top".


I want it to display all my categorys and subcategorys so the costumer can browse trought them.



changing this in application_top:

$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));


to this

$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT) . '?cPath=0');


shows all my categorys but i want a way to display the subcategorys as well.


To look something like this(with or without images):



I'll try to find a way and post here but if anyone knows how to..tks in advance



Link to comment
Share on other sites

Some sites need both Top and Catalog because the shop is not the main site. If that is not the case for you, then you should remove one of them altogether and change the other to Home.

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

Link to comment
Share on other sites

Thaks for the reply.


But now i prefer to use that link to creat a browse trought catergories and sub categories.


I think i have find a way aroud.


I have modular front page who does that but i don't want to show this in Index.php.


I'm thinking about create a new page called browse_categories.php. Set in modular front page to true but change de link so instead of showing in index.php it display on the new page.


line 35 of /includes/modules/front_page/categories_image.php:

  if ($PHP_SELF == 'index.php' or '/' && $cPath == '')


Any help would be appreciated, and course i'll post the results if i find this or other way that works...





Link to comment
Share on other sites

I would advise you not to add another page. Every additional page the customer has to click through means lost sales. You should make the path to your products as direct as possible.That's exactly what the Categories Images module is designed to do: give a fast, visual link to your top level categories from your store's front page.




See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites


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

  • Create New...