ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Dynamic Navigation Question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Dynamic Navigation Question

 Post Reply Post Reply
Author
Message
BlkBox View Drop Down
Newbie
Newbie


Joined: 17-January-2007
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote BlkBox Quote  Post ReplyReply Direct Link To This Post Topic: Dynamic Navigation Question
    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
Back to Top
NWilliams View Drop Down
Newbie
Newbie


Joined: 19-November-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote NWilliams Quote  Post ReplyReply Direct Link To This Post Posted: 21-January-2007 at 9:04am
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.
Back to Top
BlkBox View Drop Down
Newbie
Newbie


Joined: 17-January-2007
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote BlkBox Quote  Post ReplyReply Direct Link To This Post Posted: 23-January-2007 at 12:57am
Your awesome...thank you! 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.