Forums / Templates, Stylesheets, Page Layout / All Products in Category Tabs

All Products in Category Tabs

Locked

Started by 13_rings on 28 Sep 2007, 4:48 AM · Views: 868

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
28 Sep 2007, 4:48 AM
#1
13_rings avatar

13_rings

New Zenner

Join Date:
Oct 2006
Posts:
3
Plugin Contributions:
0

All Products in Category Tabs

I've searched high and low, and maybe I just haven't been wording it right, but how do you set up an option to have an "All" category show up in the category tabs? In other words, I have four seperate categories, and they show up in the categories tabs menu, but I want to add a fifth, "ALL Products" category to the list.

I'm NOT using any sideboxes right now.

Thanks!

28 Sep 2007, 6:35 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: All Products in Category Tabs

You could try adding this to the bottom of the /includes/modules/categories_tabs.php file, just before the closing ?>

  $links_list[] = '<a class="' . $new_style . '" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a> ';

You should probably save the file into your /includes/modules/YOURTEMPLATE overrides folder

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Sep 2007, 10:47 PM
#3
13_rings avatar

13_rings

New Zenner

Join Date:
Oct 2006
Posts:
3
Plugin Contributions:
0

Re: All Products in Category Tabs

Thank you! That did it! :D