www.uburst.com www.uburst.com

"international Orders and LinkPoint"

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

Configuration Questions
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"international Orders and LinkPoint"
Posted by Jim Howell on Nov-17-00 at 02:17 PM (EST)
It looks as though we're going to have to modify the script to handle international orders. The State field is not required by uStorekeeper, but is by LinkPoint. LinkPoint has sent us some html that will allow us to to use a pre-filled dropdown on the page rather than the text field for state (line 1246 of the ustorekeeper.pl script). Anything I need to look out for in the way of unwanted tooth marks from your end?
Thanks in advance--Jim
Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: international Orders and LinkPo..., Bill Weiner, Nov-17-00, (1)
International Orders, Jim Howell, Nov-17-00, (2)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: international Orders and LinkPoint"
Posted by Bill Weiner on Nov-17-00 at 04:21 PM (EST)
Hmmm...So your thinking about modifying the "create_order_form" subroutine in order to have the "state" field be a drop down menu (SELECT) field instead of a fill-in (TEXT) field? No, I don't foresee any problems there. So you can try it.

Or as another option, you can try modifying the "review_order" subroutine by locating the following line:

$customer_state = &validate_string($customer_state);

And adding some sort of a check immediately after it such as:

if (!($customer_state =~ /\S/))
{
$customer_state = "OTHER";
}

... where "OTHER" is whatever LinkPoint suggests should be used as the "state" for international orders. By the way, if LinkPoint does require the "state" field, what value DO they want the "state" field to have for international customers who do not have a "state"? I imagine it can be any non-space value?

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 . "International Orders"
Posted by Jim Howell on Nov-17-00 at 06:29 PM (EST)
LinkPoint has provided a snippet of html that has country and state codes preset in an select dropdown. I thought that I'd substitute the "state" text box with the preloaded select.
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click 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.