www.uburst.com www.uburst.com

"Clearing customers Shipping address"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Programmer Tips
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Clearing customers Shipping address"
Posted by Les on Sep-17-02 at 11:39 AM (EST)
Is there any way that we can make the software store the customers billing information but NOT store their shipping details.

We want ALL the BILLING details kept if they leave the site and revisit but we do NOT want any SHIPPING details kept.

Many thanks in adavnace.

Les

Click to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: Clearing customers Shipping add..., Bill Weiner, Sep-18-02, (1)
"RE: Clearing customers Shippi..., Les, Sep-18-02, (2)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Clearing customers Shipping address"
Posted by Bill Weiner on Sep-18-02 at 03:48 AM (EST)
The non-sensitive billing and shipping information is normally stored as a cookie on the customer's browser so that the order form is automatically filled in for them on return visits.

If you want just the billing...but not the shipping information stored... then you can make a slight modification to the ushop-lib.pl script, as per the instructions below:

STEP 1: Make a backup of your ushop-lib.pl script... just in case.

STEP 2: Open your ushop-lib.pl file with any text editor such as WordPad.

STEP 3: Do a search on the following line:

sub set_customer_cookie

(This will get you to the start of the subroutine which sets the cookie.)

STEP 4: Within that subroutine, you will see a bunch of statements beginning with:

$cvalue .=

Change all of the $cvalue lines that start with:

$cvalue .= $shipping_

To:

$cvalue .= "";

NOTE: In case the above line does not appear properly in this forum, that should be a vertical bar within the double quotes.

NOTE: There should be a total of 20 "$shipping" lines in this subroutine that you should make this change to.

STEP 5: Save the script... as TEXT if your editor asks... and try it out!

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . ""RE: Clearing customers Shipping address""
Posted by Les on Sep-18-02 at 06:30 AM (EST)
Thanks very much Bill,

Worked perfectly.

Thanks again

Les

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.