How to display collections based on city location?

Shopify Partner
1 0 0

I want to show collections based on the city.

Reply 1 (1)

Shopify Partner
279 34 62


For this you need to create a section for adding all of hidden city.

Also you need to use the Geolocation API for getting the city name.

After that you need to add condition based on the city in the collection liquid file.




For Design, Development and custom changes Hire Me.
If your problem solved then Like & Accept this Solution.
Email ID: