Title: Shipping default message
Last modified: September 11, 2021

---

# Shipping default message

 *  Resolved [wos2021](https://wordpress.org/support/users/wos2021/)
 * (@wos2021)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/)
 * Hi,
    Before when customers didn´t fill in a shipping adress they got a message
   to fill in the shipping details for shipping to be applied.
 * Now Woocommerce just takes the default message from “Places not covered by your
   other zones”
    I want to display a message for my customers to fill in shipping
   details for shipping to be applied. All customers think we have no shipping at
   the moment and it´s quite annoying to answer all those calls and explain.
 * Help please..

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/shipping-default-message/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/shipping-default-message/page/2/?output_format=md)

 *  [zworthkey12vaibhav](https://wordpress.org/support/users/zworthkey12vaibhav/)
 * (@zworthkey12vaibhav)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14861581)
 * Hi [@wos2021](https://wordpress.org/support/users/wos2021/),
 * You can do that using a simple function
 *     ```
       function zworthkey_shipping_add_error( $error ) {
           if( 'Places not covered by your other zones' == $error ) {
               $error = 'Message you want to display';
           }
           return $error;
       }
       add_filter( 'woocommerce_add_error', 'zworthkey_shipping_add_error' );
       ```
   
 * This will change the error message. You just have paste this code to your themes
   function.php file.
 * I hope everything is clear. if not let me know.
 * Thank You
 *  Thread Starter [wos2021](https://wordpress.org/support/users/wos2021/)
 * (@wos2021)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14863257)
 * Thank you for the reply.
    Isn´t this for when customers are out of the shipping
   zones ?
 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14863763)
 * Hi [@wos2021](https://wordpress.org/support/users/wos2021/),
 * > Now Woocommerce just takes the default message from “Places not covered by 
   > your other zones”
 * Can you please tell me a little more about this message? What notice is being
   displayed?
 * If I do not enter a shipping address this is the warning I get on checkout:
 * 
    Link to image: [https://i.imgur.com/2xk4jIN.png](https://i.imgur.com/2xk4jIN.png)
 * Can you also share your System Status and your shipping settings as found under
   WooCommerce > Status and WooCommerce > Settings > Shipping? I recommend [https://snipboard.io](https://snipboard.io)
   for easily sharing screenshots – please follow the instructions on that page,
   then paste the URL in this thread.
 * Thanks.
 *  [zworthkey12vaibhav](https://wordpress.org/support/users/zworthkey12vaibhav/)
 * (@zworthkey12vaibhav)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14866665)
 * Hi [@wos2021](https://wordpress.org/support/users/wos2021/),
 * My answer is to give you a way to add you error message you want. You mentioned
   that the error in your message. If you want you can change the message by changing
   the if loop.
 * It will work.
 * Thank you
 *  Thread Starter [wos2021](https://wordpress.org/support/users/wos2021/)
 * (@wos2021)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14874457)
 * [@rainfallnixfig](https://wordpress.org/support/users/rainfallnixfig/)
 * If I haven´t filled in any information at all, i.e name, adress etc in the checkout
   it displays the text from “Places not covered by your other zones”.
 * So the clients gets confused about this and think we don´t do delivery.
 * I want it to say something like: “Please fill in your information to see shipping
   options” if nothing is filled in from the personal info.
 * If the customer is outside the zones they should get a message like: You´re out
   of our shipping zones we can only offer collection”.
 * Heres the settings: [https://snipboard.io/Jsr2ih.jpg](https://snipboard.io/Jsr2ih.jpg)
 * The message that is displayed is the out of zones message. I have marked it with
   red in the image.
 * I hope makes it more clear.
    -  This reply was modified 4 years, 8 months ago by [wos2021](https://wordpress.org/support/users/wos2021/).
 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14875832)
 * Hi [@wos2021](https://wordpress.org/support/users/wos2021/),
 * Thanks for providing additional details.
 * > If I haven´t filled in any information at all, i.e name, adress etc in the 
   > checkout it displays the text from “Places not covered by your other zones”.
 * Well, with the basic setup of WooCommerce and Storefront theme I can’t see that
   warning in the front end of my test store. These are all possible warnings shown
   when you do not enter any information on checkout fields:
 * 
    Link to image: [https://snipboard.io/1jRpKt.jpg](https://snipboard.io/1jRpKt.jpg)
 * It sounds like that text is added by your theme or a plugin. So, you’ll want 
   first to figure out where this message comes from, and afterward, get in contact
   with the developers and ask how you can change that message. Normally, you can
   find out by checking the HTML output or via [conflict testing](https://docs.woocommerce.com/document/how-to-test-for-conflicts/.).
 * Thanks.
 *  Thread Starter [wos2021](https://wordpress.org/support/users/wos2021/)
 * (@wos2021)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14877256)
 * [@rainfallnixfig](https://wordpress.org/support/users/rainfallnixfig/) thanks
   for your reply.
 * I don´t think you understand my problem.
 * To recreate this for me it´s:
    1. add product to the cart 2. go to checkout 3.
   in the checkout page it directly states that I´m out of the zone.
 * And that´s my problem. When I go to the cart it shouldn´t state that I´m out 
   of the zone since I just came to the checkout page and haven´t filled in my info.
 * It should probably say something like: “Fill in your details for shipping alternatives”
   or something.
 * I know where the message comes from, it comes from the shipping settings message
   I have put there.
    -  This reply was modified 4 years, 8 months ago by [wos2021](https://wordpress.org/support/users/wos2021/).
 *  Plugin Support [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * (@abwaita)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14878441)
 * Hi [@wos2021](https://wordpress.org/support/users/wos2021/),
 * It might be that you have a default customer location that does not match any
   zone, thus the reason you’re finding customers already matched to the default
   zone.
 * You’ll want to go to WooCommerce → Settings → General and set the default customer
   location to “No Location by Default”.
 * In addition, you could also set WooCommerce not to show shipping costs until 
   an address is entered in WooCommerce → Settings → Shipping → Shipping Options:
 * 
    Link to image: [https://snipboard.io/Thpvcj.jpg](https://snipboard.io/Thpvcj.jpg)
 * Let us know how it goes when you try the above.
    Thanks.
 *  Thread Starter [wos2021](https://wordpress.org/support/users/wos2021/)
 * (@wos2021)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14878982)
 * Hmm I tried the
 * > You’ll want to go to WooCommerce → Settings → General and set the default customer
   > location to “No Location by Default”.
 * But it´s still the same. I have uploaded a video of the problem maybe you can
   see it more clear. Please see it here: [https://easyupload.io/m5ir3i](https://easyupload.io/m5ir3i)
 * One thing to have in mind is that all the tests I am doing is in incognito mode
   
   I have also enabled the shipping debug mode which you can see in the video, when
   it gives me the message about which shipping zone the customer has been matched
   with. I have also an image of my settings here: [https://snipboard.io/iv2Ow3.jpg](https://snipboard.io/iv2Ow3.jpg)
 * And no it´s not about the payment issuer because I use another payment issuer
   for another site and it´s the same.
 * If I hide the shipping options customers think we don´t do shipping.
 * This is very important to me so please help.
    -  This reply was modified 4 years, 8 months ago by [wos2021](https://wordpress.org/support/users/wos2021/).
 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14879335)
 * Hi there,
 * > I have uploaded a video of the problem maybe you can see it more clear
 * That was definitely an excellent idea as we have better context now to figure
   out what might be generating that warning on your Cart and Checkout pages.
 * To me, that message does not seem it’s added by WooCommerce. Either your theme
   or a plugin is adding this content. I’m more likely to think that it’s the SiteGround
   Optimizer Plugin you may have installed on your site that is causing this. If
   you have installed that plugin can you temporarily disable it and check again?
 * Ideally, as suggested earlier, you’d want to perform a full conflict test following
   our support documentation:
 * [https://docs.woocommerce.com/document/how-to-test-for-conflicts/](https://docs.woocommerce.com/document/how-to-test-for-conflicts/)
    - Temporarily switch your theme to [Storefront](https://www.woocommerce.com/storefront/)
    - Disable all plugins except for WooCommerce
    - Repeat the action that is causing the problem
 * If you’re not seeing the same behavior after completing the conflict test, then
   you know the problem was with the plugins and/or theme you deactivated.
 * Reactivate the theme first and check again. Then, go on and reactivate your other
   plugins one by one, testing after each, until you find the one causing conflict.
 * Thanks.
 *  Thread Starter [wos2021](https://wordpress.org/support/users/wos2021/)
 * (@wos2021)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14881432)
 * [@rainfallnixfig](https://wordpress.org/support/users/rainfallnixfig/)
 * > I’m more likely to think that it’s the SiteGround Optimizer Plugin you may 
   > have installed on your site that is causing this. If you have installed that
   > plugin can you temporarily disable it and check again?
 * Did this, still the same.
 * > Temporarily switch your theme to Storefront
   >  Disable all plugins except for
   > WooCommerce Repeat the action that is causing the problem If you’re not seeing
   > the same behavior after completing the conflict test, then you know the problem
   > was with the plugins and/or theme you deactivated.
 * I have deactivated ALL plugins except Woocommerce, still the same behaviour see
   the video, incognito mode: [https://easyupload.io/nq6obn](https://easyupload.io/nq6obn)
 * So now what ?
 * I think this came with the latest woocommerce updates to be honest…
    -  This reply was modified 4 years, 8 months ago by [wos2021](https://wordpress.org/support/users/wos2021/).
 *  [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14881470)
 * Do you have memcached on?
 *  Thread Starter [wos2021](https://wordpress.org/support/users/wos2021/)
 * (@wos2021)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14881514)
 * [@hristo-sg](https://wordpress.org/support/users/hristo-sg/)
 * No, but it doesn’t seem to be SG related since I turned all plugins off except
   Woocommerce and storefront, and it still doesn’t work.
    And one of my clients
   is not on SG server and has the same issue.
 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14883255)
 * Hi [@wos2021](https://wordpress.org/support/users/wos2021/),
 * Okay, it sounds this can be turned off unticking “Debug Mode” in WooCommerce 
   > Settings > Shipping > Shipping Options:
 * 
    Link to image: [https://i.imgur.com/GIqhmBt.png](https://i.imgur.com/GIqhmBt.png)
 * Hope this can help.
 *  Thread Starter [wos2021](https://wordpress.org/support/users/wos2021/)
 * (@wos2021)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/#post-14883326)
 * [@rainfallnixfig](https://wordpress.org/support/users/rainfallnixfig/) I know
   this but that’s not my issue…
 * Please refer to my earlier posts.
    Only enabled debug mode so that I can see 
   what I get for answer to show it in the video that I recorded for you guys.
 * My main problem is, again, that if the customer picks products, puts them in 
   the cart and goes to checkout it automatically shows that the customer is out
   of the zone.
 * I wanted to show a message like: “please write in your address to be able to 
   see she brings alternatives”
 * As it is now it automatically shows the messages from out of zone, I don’t want
   that.
    I want it to show out of zone only when the customer really is out of 
   zone.

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/shipping-default-message/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/shipping-default-message/page/2/?output_format=md)

The topic ‘Shipping default message’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 24 replies
 * 7 participants
 * Last reply from: [Rynald0s](https://wordpress.org/support/users/rynald0s/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/shipping-default-message/page/2/#post-14896687)
 * Status: resolved