Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Shipping Address - how to stop people adding a PO Box

Solved

Shipping Address - how to stop people adding a PO Box

Dolo
Visitor
3 0 2

Hello,
We do not ship to PO Boxes and I wondered if there is a way I can add a note where you add your shipping address to alert people to this?

Accepted Solution (1)

Ash
Shopify Staff (Retired)
764 88 161

This is an accepted solution.

Hey, @Dolo!

Ash here from the Shopify team. Welcome to the Shopify Community! 

I understand you want to add a notice for customers to let them know that you don't ship to PO boxes. This is absolutely possible to achieve, and I'll provide some steps below for you to follow. In order to add a note to this area of the checkout, we're going to be using the Language Editor to add/change some wording in your theme. Here are the steps:

  1. First head over to the Online Store > Themes section of the admin onlinestore_themes.png

     

  2. Locate the theme you want to add the note to and click Actions > Edit Languages actions_edit languages.png

     

  3. Within the Language Editor, search "address1 label" addresslabel1.png

     

  4. The "address1 label" field is the placeholder text that appears in the checkout when a customer is entering their shipping address. addresspreview.png

     

  5. By entering your own text, you can change the placeholder to include a notice such as "Address (Please note we do not ship to PO boxes)" noppobox.png

     

  6. Save the Language Editor, and the changes should be live on your theme noppoboxlive.png

     

Another place you can leave a notice is above the shipping options available in the checkout. This may be handy as a second notice in case a customer still enters a PO box and proceeds through the customer information step of the checkout. To add a note above the shipping options, search the Language Editor for "Shipping method notice". Here's what that looks like in the Language Editor: shippingmethodnotice.png

 

and on the live checkout: notivelive.png

 

Since each theme is different, there may be slight variation in the exact names of the fields you need to edit in the Language Editor. If you have any trouble locating the areas you'd like to leave a shipping notice, please let me know by replying here and we can take a closer look together. 

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Replies 9 (9)

Ash
Shopify Staff (Retired)
764 88 161

This is an accepted solution.

Hey, @Dolo!

Ash here from the Shopify team. Welcome to the Shopify Community! 

I understand you want to add a notice for customers to let them know that you don't ship to PO boxes. This is absolutely possible to achieve, and I'll provide some steps below for you to follow. In order to add a note to this area of the checkout, we're going to be using the Language Editor to add/change some wording in your theme. Here are the steps:

  1. First head over to the Online Store > Themes section of the admin onlinestore_themes.png

     

  2. Locate the theme you want to add the note to and click Actions > Edit Languages actions_edit languages.png

     

  3. Within the Language Editor, search "address1 label" addresslabel1.png

     

  4. The "address1 label" field is the placeholder text that appears in the checkout when a customer is entering their shipping address. addresspreview.png

     

  5. By entering your own text, you can change the placeholder to include a notice such as "Address (Please note we do not ship to PO boxes)" noppobox.png

     

  6. Save the Language Editor, and the changes should be live on your theme noppoboxlive.png

     

Another place you can leave a notice is above the shipping options available in the checkout. This may be handy as a second notice in case a customer still enters a PO box and proceeds through the customer information step of the checkout. To add a note above the shipping options, search the Language Editor for "Shipping method notice". Here's what that looks like in the Language Editor: shippingmethodnotice.png

 

and on the live checkout: notivelive.png

 

Since each theme is different, there may be slight variation in the exact names of the fields you need to edit in the Language Editor. If you have any trouble locating the areas you'd like to leave a shipping notice, please let me know by replying here and we can take a closer look together. 

To learn more visit the Shopify Help Center or the Community Blog.

Dolo
Visitor
3 0 2

Thank you so much, that is exactly what I needed!

Melanie291
Visitor
1 0 0

Hello,

 

I have just tried to do this but we don't have the option of Edit Languages is there a way I can find this? Ours looks different to on the pictures.

 

Thank you!

Sam9516
Shopify Partner
44 1 15

@Melz this option has changed to "Edit default theme content". After clicking it, search for "address1". Hope this helps.

 Screenshot 2023-06-21 at 2.16.06 PM.png

dean27
Tourist
10 0 1

Thank you sir!

Sam9516
Shopify Partner
44 1 15

There is a better solution to this problem, where you can ensure nobody with PO box address can complete the checkout. When they try to checkout using PO box address, then they will get the message that "we do not ship to this address".

 

You will need to use the BeSure Checkout Rules app. Here are the steps,

 

1. Create a new rule to "Hide shipping methods" under the "Shipping" section.
2.Inside the rule, Click on "Switch to condition set 2".

3. Set the condition of when "P.O. Box Address" then "Hide all shipping methods" and save the rule. 

 

Here is an article with detailed step by step about how to easily block PO boxes. This works even for Shopify basic plan.

Jason-Che
Shopify Partner
9 0 0

The best way is using this app called Ultimate PO Box BlockerIt stops customers from punching in PO Box addresses at checkout in realtime, letting them know that shipping to that address is unavailable. It's a simple 1-click install with no rules to set up.

MSM TECHNOLOGIES INC.
Website Development | Custom Web Solutions Development
Agency based in Montreal.

GetAllTool
Shopify Partner
36 0 7

You might consider using our app: King Checkout Validation, which works for all Shopify plans.

GetAllTool_0-1719729374780.png

 

DeveshaSolution
Shopify Partner
10 0 0

Hey @Dolo 

We have solution of your issue, You can validate/Block Po Box in shipping address using Address Validify by simply setup single rule.

 

Using Address Validify You can validate First name, Last name, Address Line 1 and Address Line 2, City, Zip Code, Phone, Customer Phone, Customer Email with Your Custom Messages Belongs to Perticular Field in Store Activate Language with various conditions like Missing House Number, Missing Apartment, Suite, etc., Prevent PO Box Address, Field Minimum/Maximum Length Checker, Keyword Matching Rule, Regular Expression Matching Rule, Missing Vat Number, Block Extra White Space, Block Non Latin word, Block Number.

Address Validify is also able to apply various validations as per Store Owner Requirements on Cart, and Block Perticular Zip code / Postal Code of any country without blocking Entier country

There is no need to have Shopify Plus plan anymore to validate shipping address at Shopify Checkout Page. and Our App is Just Plug & Play, there is no more modification in checkout.liquid file to Validate Shipping Address, Just Install Address Validify set validation rules as per your requirement, rest of all things will handled by our app.

DeveshaSolution_0-1727530327918.png


Regards,
Devesha Solution.