Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / How to disallow P.O. Box in shipping address?

How to disallow P.O. Box in shipping address?

Locked

Views: 1,822

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
4 Jun 2008, 12:51 PM
#1
adoy avatar

adoy

New Zenner

Join Date:
Feb 2008
Posts:
45
Plugin Contributions:
0

How to disallow P.O. Box in shipping address?

Good day!

Anybody please help me how do I disallow customers to enter P.O. Box in shipping address. I wanted to let customers know that we cannot ship through P.O. Box.

thank you so much!

4 Jun 2008, 1:49 PM
#2
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: How to disallow P.O. Box in shipping address?

What shipping/payment methods are you usimg? You may be able to **restrict **it in the payment or shipping set up in admin. Or, you could add a note to the shopping cart and or payment pages stating that you will not ship to POs.
Another good place to notify is the Shipping/Returns page.

4 Jun 2008, 3:05 PM
#3
adoy avatar

adoy

New Zenner

Join Date:
Feb 2008
Posts:
45
Plugin Contributions:
0

Re: How to disallow P.O. Box in shipping address?

thank you for the prompt reply charmedbytina2!

we are using UPS for shipping and Authorize.net for payment.

what we wanted to happen is to make it known to customers that we cannot ship to PO Boxes. so if the customer puts in a PO box in the shipping address we should inform that UPS does not ship to PO boxes and reject the order until they enter a business address or residential address.

thankz

4 Jun 2008, 3:13 PM
#4
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: How to disallow P.O. Box in shipping address?

I could write a contribution for this. I don't think it would be difficult. I could probably get something together for tomorrow. Exactly which address pages would you say should be validated?

4 Jun 2008, 3:15 PM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: How to disallow P.O. Box in shipping address?

I would suggest create_account.php and login.php

you can just add the validator to the existing js file

4 Jun 2008, 3:23 PM
#6
adoy avatar

adoy

New Zenner

Join Date:
Feb 2008
Posts:
45
Plugin Contributions:
0

Re: How to disallow P.O. Box in shipping address?

Merlinpa1969:

I would suggest create_account.php and login.php

you can just add the validator to the existing js file

Yeah, exactly on these pages. Thankz!

4 Jun 2008, 3:37 PM
#7
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: How to disallow P.O. Box in shipping address?

Just curious: what is wrong with shipping to P.O. boxes?

4 Jun 2008, 3:39 PM
#8
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: How to disallow P.O. Box in shipping address?

UPS wont ship to a PO Box

4 Jun 2008, 4:14 PM
#9
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: How to disallow P.O. Box in shipping address?

Merlinpa1969:

UPS wont ship to a PO BoxAha, of course. Thanks Merlin.

4 Jun 2008, 9:15 PM
#10
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: How to disallow P.O. Box in shipping address?

I'll keep this link active until the mod is approved in the Downloads section:
http://www.pilonidalproducts.com/PO_Box_Ban_1.0.zip

Feedback welcome.

5 Jun 2008, 2:12 PM
#11
adoy avatar

adoy

New Zenner

Join Date:
Feb 2008
Posts:
45
Plugin Contributions:
0

Re: How to disallow P.O. Box in shipping address?

works like a charm! thank you so much Steven300

:)