X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Tabbed Menu to Display Lists of Categories / Manufacturers (https://forum.x-cart.com/showthread.php?t=50516)

mustang 11-04-2009 10:01 AM

Tabbed Menu to Display Lists of Categories / Manufacturers
 
I'm looking for a way to create a tabbed list that displays both Categories and Manufacturers.

For a perfect example, see the "Categories/Brands" tab on the left of this page:
http://tinylix.com/zngac8

How can this be done on 4.2?

JWait 11-06-2009 05:06 PM

Re: Tabbed Menu to Display Lists of Categories / Manufacturers
 
It should be a matter of making "buttons" that if "categories" is clicked the categories menu is displayed, and if "brands" is clicked the manufacturers menu is displayed.

if "brands" {include manufacturers.tpl} /if
"cats" {include categories.tpl}

mustang 11-10-2009 08:38 AM

Re: Tabbed Menu to Display Lists of Categories / Manufacturers
 
Quote:

Originally Posted by JWait
It should be a matter of making "buttons" that if "categories" is clicked the categories menu is displayed, and if "brands" is clicked the manufacturers menu is displayed.

if "brands" {include manufacturers.tpl} /if
"cats" {include categories.tpl}


Hi JWait,

I was going with that same logic. I'm just stumped on how to implement it. :?

JWait 11-10-2009 09:18 AM

Re: Tabbed Menu to Display Lists of Categories / Manufacturers
 
Just make a .tpl that has the options you need, "brands" and "cats" that has "buttons" for each. You can call it brands-cats.tpl. Make the "brands" button call the skin1/modules/Manufacturers/menu_manufacturers.tpl, and the "cats" button call the skin1/customer/categories.tpl and put brands-cats.tpl in your menu.


All times are GMT -8. The time now is 06:42 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.