Dev: Overview
R+ Store Locator Helper is a global JavaScript object injected into your theme by the Shopify App Embed Extension. Once activated, it gives you programmatic access to:
- All store locations and their metafields
- Product variant availability across stores
- Customer favorite stores (via Shopify Customer Metafield for authenticated users, or
localStoragefor guests) - Google Maps API key
- Search analytics events
The helper works in all modern browsers and devices. All methods are available via the global object:
window.refactor_apps.store_locator
To verify the helper is active, run in the browser console:
const { locations } = await window.refactor_apps.store_locator.getLocations(); console.log(`This array has ${locations.length} locations`);
Do you need help?
If you have any questions or run into issues, please contact us — we’re happy to help. Contact support.