How can I add personalized text with geolocation above the add to cart button?

Topic summary

A user discovered an e-commerce site using Shopify that displays personalized text above the add-to-cart button, showing the visitor’s city via geolocation and an estimated delivery date. They want to implement this same feature on their own product pages.

Current Status:

  • The user appears to have found a solution (mentioned in a follow-up post)
  • The thread seems incomplete or corrupted, with garbled text in both messages

Key Feature Requested:

  • Geolocation-based city detection
  • Dynamic delivery date estimation
  • Placement above the add-to-cart button

The discussion remains unclear due to text encoding issues, but the core question involves implementing location-aware, personalized product page elements in Shopify.

Summarized with AI on November 25. AI used: claude-sonnet-4-5-20250929.

I managed to find a solution