URL: http://www.uburst.com/cgi-bin/dcforum/dcboard.cgi
Forum: ushp_general_purpose
Thread Number: 357
[ Go back to previous page ]

Original Message
"Shipping address and customer log"

Posted by M Ulm [monteulm@hotmail.com] on at 01:48 PM
I'm using the customer log with the inventory log to put together my orders to send to my supplier. My problem is that if my customer uses a shipping address there's no way for me to know from these two files.

Table of contents

Messages in this discussion
"RE: Shipping address and customer log"
Posted by Bill Weiner on at 07:02 AM
Then if you want, you can modify the "update_customer_log" subroutine in the ushop.pl file. That subroutine is commented and should be easy enough to follow. After all the "billing" variables... just add/utilize these "shipping" variables too:

$shipping_first_name
$shipping_last_name
$shipping_street1
$shipping_street2
$shipping_city
$shipping_state
$shipping_zip_code
$shipping_country

It's very similar to the "billing" fields in that subroutine... so just add some additional "print" statements for the "shipping" fields that you want recorded.

Use any text editor such as WordPad when editing that file.