Changing No shipping method available message to custom message on Woocommerce

  Kiến thức lập trình

I have been using woocommerce to build a “local delivery” website for my brick and mortar business.
Website is: Leedsliquors.com Since it is local delivery I had to change “shipping” to “delivery” which I did using some code found on internet. I used “shipping zones by drawing” plugin to create a delivery zone (shipping zone basically) but when customer enters outside of the delivery zone, I want something that makes sense like “we don’t deliver to your address” OR “You are too far away for delivery”. Currently it displays default message “There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help.”. This will make no sense to my local customers. I use “snippets” plugin to add filters or hooks.

I tried many filters and codes found on this forum as well as others. Nothing seems to work for me.

New contributor

Portalk23 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT