Echo a String Based On Geolocation? [Woocommerce || ACF]

Woocommerce cart

Hi there! im a little bit confused on how i can make this happen , as you can see in the image above i have a text “Estimated delivery time” and i would like the time to change based on Geolocation.

The text itself is a custom field created with the ACF plugin.

<p><?php the_field('shipping_time', $product_id ); ?></p>

Is it possible to do this without any plugin or with Woocommerce only?
(i found out on another thread about geotargeting pro + +acf) but it costs per api call.

Read more here:: Echo a String Based On Geolocation? [Woocommerce || ACF]

Leave a Reply

Your email address will not be published. Required fields are marked *