PROBLEM: Some of the customers don’t type in full address.
So, I have to call them up individually to get the complete address – which is time consuming.
I just want to add a notice to the checkout page – or, even if I can update the “Address Label” with Code Snippets.
These problem comes ONLY when they choose COD payment mode. The ones who pay Online, are always careful with the address.
I probably can find the Code Snippet outside of the Reddit as well, but I shared it here – just in case, You have faced this problem as well and to know: How you handled it?!
Thank you.
[ad_2]
Depends, what is the definition of “not full address”? If it’s missing fields, i’d just add some required parameters to the necessary fields in the theme code.
There seems a couple of different issues at play here.
a) Empty fields. You should be able to make a field “required”, so customers can’t continue checkout if they’re empty. This can be done with the `woocommerce_default_address_fields` filter, for example.
b) Field has the “correct” address. This requires some 3rd-party service to check for validity. I use the free plugin `Address correction autocomplete for Woo by SAHU MEDIA` that says it enables an auto address correction to be implemented in the checkout process using the Google API.