![]() |
redirect for login instead of msg=86 |
Post Reply
|
| Author | |
littlered
Newbie
Joined: 26-May-2009 Location: az Status: Offline Points: 0 |
Post Options
Thanks(0)
Quote Reply
Topic: redirect for login instead of msg=86Posted: 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! |
|
![]() |
|
Hamish
Admin Group
Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
littlered
Newbie
Joined: 26-May-2009 Location: az Status: Offline Points: 0 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
Hamish
Admin Group
Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
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 |