• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

birdsafe
#1 Posted : Sunday, August 26, 2007 6:35:54 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

I posted a ticket on this but thought I would put it out to the forums to see if anyone has figured out a way to eliminate if a customer uses a dash in the zip -- if they enter a 9-digit zip, such as 22601-7788 FedEx Ground/Home Delivery will not return a rate.


Alternatively is there a way to limit the zip to five characters?
[email protected]
#2 Posted : Wednesday, September 5, 2007 11:28:19 AM(UTC)
everett@bvsoftware.com

Rank: Member

Joined: 3/8/2007(UTC)
Posts: 139

Hey Joe,

Sorry this took so long. It has been hectic around here! Here is the update to take care of this issue. Open your Checkout.aspx.vb file and make the following changes:

' Comment or delete the first line, then add the second
'a.PostalCode = Me.ShippingpostalCodeField.Text.Trim
a.PostalCode = Me.ShippingpostalCodeField.Text.Trim().Replace("-", "")

This will correct the checkout page. To fix the popup window on the cart page, edit your EstimateShipping.aspx.vb file (found in the site root) and make the following changes:

'Basket.ShippingAddress.PostalCode = Me.ZipCodeField.Text.Trim
Basket.ShippingAddress.PostalCode = Me.ZipCodeField.Text.Trim.Replace("-", "")

Thanks,
Everett Comstock

BV Software
birdsafe
#3 Posted : Wednesday, September 5, 2007 12:08:36 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

Very nice -- thanks Everett
MitchA
#4 Posted : Wednesday, September 5, 2007 1:54:12 PM(UTC)
MitchA

Rank: Member

Joined: 3/3/2006(UTC)
Posts: 1,737

Thank you.
Optimists invent airplanes,
Pessimists buy parachutes.
birdsafe
#5 Posted : Thursday, September 6, 2007 5:51:22 AM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

Everett -- Just checking -- I notice an extra set of parentheses () after the Text.Trim in the first correction but not in the second -- is that correct?
Nick Alberti
#6 Posted : Thursday, September 6, 2007 9:19:49 AM(UTC)
Nick Alberti

Rank: Member

Joined: 9/27/2004(UTC)
Posts: 1,099

Hey Joe.

You can remove the ()
[email protected]
#7 Posted : Friday, September 7, 2007 3:20:38 PM(UTC)
everett@bvsoftware.com

Rank: Member

Joined: 3/8/2007(UTC)
Posts: 139

Hey Joe,

Sorry about that. Butter fingers got me.

Thanks,
Everett Comstock

BV Software
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012