Dynamic Navigation Question |
Post Reply |
Author | |
BlkBox
Newbie Joined: 17-January-2007 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 17-January-2007 at 10:57pm |
Hi,
I am currently using the dynamically generated navigation that can be generated through the admin section of Product Cart, however I would like to use my own and hard-code links to the separate categories. My concern is that I use the retail/wholesale customer groups and have certain categories that are only visible to wholesale customers. Is there a way I can achieve this same effect of when the wholesale customer logs in...the hidden categories are made visible, with hard-coding a menu and not using the admin generated one? Thanks in advance! Shawn |
|
NWilliams
Newbie Joined: 19-November-2006 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Check out the /pc directory and look for two files:
inc_RetailCatMenu.inc inc_WholesaleCatMenu.inc These two files are included in the inc_catsmenu.asp file which is included in the header.asp file. Which of the above .inc files are included is dependent upon the type of account the user is logged in with (retailcatmenu and wholesalecatmenu, respectively). Simply edit these files with whatever menu html you want and you should be good to go. Beware that if you do use the admin page to regenerated the category navigation, these two files will be overwritten. If you want to minimize filesize and don't plan on using the expand/collapse style menu system, you can remove all code above the first <script> line in the inc_catsmenu.asp file. |
|
BlkBox
Newbie Joined: 17-January-2007 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Your awesome...thank you!
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |