Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 12-30-2004 16:37:03

JBell
Member
From: Bel Air, MD
Registered: 11-22-2004
Posts: 216
Website

Mod Request - Customer Account Login Redirect

I dont want the customer to have the ability to change their own shipping information, but with the currect CCP setup, as soon as they log in they have the update window.  Is there a way to redirect the customer to the categories page directly, instead of the update customer account page?


Jason Bell
PI Motorsports

Offline

 

#2 12-30-2004 16:47:18

JBell
Member
From: Bel Air, MD
Registered: 11-22-2004
Posts: 216
Website

Re: Mod Request - Customer Account Login Redirect

Ok, experimented with ste_custacct_proc and took care of the redirection, and it works. 


Jason Bell
PI Motorsports

Offline

 

#3 12-31-2004 16:23:43

Steven
Member
Registered: 04-21-2004
Posts: 84

Re: Mod Request - Customer Account Login Redirect

Hi Jason,

Could you please post your changes?

I think this is a very good idea.

Offline

 

#4 01-01-2005 16:39:37

steveblueradio
Member
From: Belfast, Northern Ireland
Registered: 06-28-2004
Posts: 755
Website

Re: Mod Request - Customer Account Login Redirect

Hi,
I was looking to do this as well, but I've had a look through my ccp51 folder and couldnt find the file ste_custacct_proc, I'm not to sure if the UK ccp has this file, does anyone know?

Cheers  ;-) ,
Steve


I'm Gene Hunt, Your DCI, And it's 1973, Nearly Dinner Time, I'm havin hoops........

Cheers,
Steve
-------------------

Offline

 

#5 01-01-2005 16:44:30

Steven
Member
Registered: 04-21-2004
Posts: 84

Re: Mod Request - Customer Account Login Redirect

Steve,

It's a routine called "ste_custacct_proc" inside the module called "ste_custacct.pl" in your modules directory.

Offline

 

#6 01-03-2005 09:15:06

JBell
Member
From: Bel Air, MD
Registered: 11-22-2004
Posts: 216
Website

Re: Mod Request - Customer Account Login Redirect

Open ste_custacct.pl in the cgi-bin/library/modules folder.  In the first section you will see Ste_Custacct_Proc, and about 10-12 lines down you will see...

Code:

#########
######### Set the customer account variable and re-establish our
######### system variables and common URLs using this new info.
#########

} else {

$overwrite_usr_cookie = "Y";

$fd_pg = "ste_custacctupd";

$fd_act = "$fd_custacct_id";

$fd_aff_logout = "Y";

&vars_set;

} ######### End of if statement.

Change...

Code:

$fd_pg = "ste_custacctupd";

To This...

Code:

$fd_pg = "ste_store";

This will redirect them to the store categories page as soon as they log in.


Jason Bell
PI Motorsports

Offline

 

Board footer