I’m using WCFM – WooCommerce Multivendor Marketplace for my multivendor website, and it shows vendors and products within a 5-mile radius. However, I need to show a message to those users who are not near any shops as a popup message. Now, if a user is not near any shops, WCFM will not show them any shops and products. Then, they might think the website doesn’t work properly. Because of this, I need to show a message as a popup to notify them that they are not in the delivery zone.
WCFM detects user location using Google Maps API to show nearby stores – can this be solved through the functions.php file in a child theme?
Navid Sam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.