ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - redirect for login instead of msg=86
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

redirect for login instead of msg=86

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


Joined: 26-May-2009
Location: az
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote littlered Quote  Post ReplyReply Direct Link To This Post Topic: redirect for login instead of msg=86
    Posted: 26-May-2009 at 9:05am
hi-
my client needs the site categories/product viewable by only logged in wholesale customers. so i used the setting in the control panel at the category level to restrict to wholesale only, but i'd like the redirect when a non-logged in customer tries to click on a category to be to a login page, NOT msg.asp?message=86 as it defaults. i tried to find where this is even happening, but i didn't. any advice on where to look to change this default behavior? thanks!
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 26-May-2009 at 9:15am
Hi,
  Wouldn't the preferred behaviour be to not show the categories at all unless they are logged in as wholesale?
See : http://wiki.earlyimpact.com/how_to/show_different_content_customer_type
Back to Top
littlered View Drop Down
Newbie
Newbie


Joined: 26-May-2009
Location: az
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote littlered Quote  Post ReplyReply Direct Link To This Post Posted: 26-May-2009 at 9:35am
you know, you might think so. but there's always a weird exception... thanks. i've peppered the code minimally with that type of logic now, just commented the code so when someone wants to un-do this, LOL, they can. 
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 26-May-2009 at 10:11am
Hi,
   I did a quick search and there are 3 files in the store front that can issue message=86.
catDiscounts.asp pcBreadCrumbs.asp and viewPrdCode.asp
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.063 seconds.