Stockist locator
- Section
- store-locator
- Beauty
- Shopify Liquid ready
- 9.0 KB JS
Country-filtered stockist list and illustrative map. It belongs to Veil, a beauty theme for makeup & skincare, in the free, open-source Blocko library.
Open live demo Open in library
Features
- Interactive: ships 9.0 KB of vanilla JavaScript (
blko-beauty-extras.js), registered as an idempotent Custom Element. - Shopify Liquid ready with 7 merchant settings in the Theme Editor and block types: Country, Stockist.
- Category
store-locator, designed for beauty (makeup & skincare) storefronts. - Static stockists are the fallback; when the Blocko Worker API answers GET {settings.blocko_api_base}/stockists the list is replaced (the country filter keeps working; lat/lng/q search is not wired). The map is illustrative (no map provider).
Used in pages
This section is part of 1 page template in Veil:
Preview
Use it with your agent
Paste this one-line prompt into any coding agent. It asks where the section should go before it changes anything.
Use the Blocko library (https://github.com/blockoai/blocko, or the Claude Code plugin: claude plugin marketplace add blockoai/blocko && claude plugin install blocko-sections@blocko) to implement the section "Stockist locator" (id `beauty-extras-stockist-locator`, theme `veil`; live demo: https://demo.blocko.ai/html/veil/sections/store-locator--beauty-extras-stockist-locator.html; Shopify bundle: sections/veil/beauty-extras-stockist-locator/ in the repo) into my project. Before changing any code, ask me where it should go — which project/theme, which page or template, and the position (e.g. after the hero) — and whether the target is a Shopify theme or a plain HTML site, unless I already said; restate the plan and wait for my OK. Then follow the repo's AGENTS.md: keep the blko- class prefix and CSS tokens (with fallbacks), keep custom elements idempotent, don't touch unrelated code, run `shopify theme check` for Shopify targets, and finish by telling me how to add/arrange it (Theme Editor steps for Shopify).Connected to the Blocko MCP server (https://blocko.ai/mcp)? Ask your agent to run get_item for veil/beauty-extras-stockist-locator, then get_item_source and get_install_guide. Connect your agent.