www.uburst.com www.uburst.com

"Populating State Fields For Tax Calculation"

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
 
"Populating State Fields For Tax Calculation"
Posted by James on Nov-21-00 at 01:56 PM (EST)
Hi,
Had a client that was concerned about tax choices being able to be bypassed when set to shipping address. If the shipping address is the same as billing address customers do not complet form leaving the option open. Here is a resolve that will fix for state to be populated so tax calculation will work regardless of billing or shipping address settings. This can also be modified to dyamically populate same billing data into shipping address.


Hope this helps...
James

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

Code Posting.... , James, Nov-21-00, (1)
Full Order Template Billing 2 Shipp..., James, Nov-22-00, (2)
Full Order Template - Billing 2 Shi..., James, Dec-08-00, (3)
RE: Full Order Template - Billing 2..., Bill Weiner, Dec-09-00, (4)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "Code Posting.... "
Posted by James on Nov-21-00 at 02:03 PM (EST)
Sorry,
Coding looked fine in preview before posting. The first part of coding (onChange) to be insterted within select option tag for "billing_state" with states pull down. Then a simple text input form tag for "shipping_state" in the shipping section.

Thanks,
James

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 . "Full Order Template Billing 2 Shipping Population "
Posted by James on Nov-22-00 at 09:47 AM (EST)
Hi,
I posted a full order template that will populate the fields onChange from Billing to Shipping. If the shipping data is different customer can easily change. This also helps by customers forgetting to choose tax options if they only complete billing side and tax settings are applied to shipping side.

http://www.hamptonplace.com/zzuShop/order_template_populate.html

enjoy,
James

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
 
3 . "Full Order Template - Billing 2 Shipping Update / Fix"
Posted by James on Dec-08-00 at 09:22 PM (EST)
Hi,
The version 3.3 does not work with the previous template that uses the select option code, you will get an error 500 because of a java conflict with the cgi. I altered the template removing the select options for state and country which resolves the the problem for this version of uShop.

http://www.hamptonplace.com/zzuShop/order_template_populate_v2.html

Enjoy,
James

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
 
4 . "RE: Full Order Template - Billing 2 Shipping Update / Fix"
Posted by Bill Weiner on Dec-09-00 at 05:45 PM (EST)
I took a look at your JavaScript... and for some reason the () in the onChange methods of the state and country fields was causing that conflict. Why? I don't know. In any case, I made a change (ie. there's more than one way to skin a cat :^)

.... So check out that updated template on the developer's add-on page.

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.