uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Tech Support
       Support Policy
       Knowledge Base
       Reference Sites
       Software Piracy
       Legal Notices
       Privacy Policy
       Reseller Info
       Contact Us
       Site Map
Clearing customers Shipping address

Knowledge Base Lobby : uShop Support Conference : Programmer Tips
Mar-20-18 07:18 PM EST
Original Message
Clearing customers Shipping address
Author Les on 09-17-2002 at 11:39 (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.


Table Of Contents
  RE: Clearing customers Shipping address Bill Weiner, 2002-09-18 03:48:24 (1)
            "RE: Clearing customers Shipping address" Les, 2002-09-18 06:30:20 (2)

Messages In This Discussion
         1. RE: Clearing customers Shipping address
        Author Bill Weiner on 09-18-2002 at 03:48 (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 script, as per the instructions below:

STEP 1: Make a backup of your script... just in case.

STEP 2: Open your 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_


$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!
                 2. "RE: Clearing customers Shipping address"
                Author Les on 09-18-2002 at 06:30 (EST)
Thanks very much Bill,

Worked perfectly.

Thanks again


© 2003 Microburst Technologies, Inc.