Set up the app
When you open the app, its home page shows a Setup guide. It takes you from your first store to your store locator page, in four steps, then to your hub pages on the Retail and Enterprise plans. Every step is listed from the start; a step that depends on an earlier one is greyed out until then. Each step lists what to do, marked You or Automatic (Lavia does it). When the app sees a step done, the step stays open on its result: check it, then choose Next step.
1. Add your stores
Section titled “1. Add your stores”Add your stores one by one with Add store, or all at once:
- Import a file: a CSV or Excel file, checked row by row before anything changes. See Import a file.
- Import your Shopify locations: the locations you already have in Shopify. See Import your Shopify locations.
The step is done as soon as a store is active: an active store is published on your online store.
2. Add the store locator to a page
Section titled “2. Add the store locator to a page”The map and the list of your stores show on a page of your online store.
-
In the theme editor, open the template list at the top of the screen, then Pages > Create template, and give it the name you like.
-
On that template, click Add section, open the Apps tab, choose Store locator, then save.
The block has no title: your template shows the page’s title. To show one above the map instead, fill the block’s Title field and remove the theme’s title.
-
Back in the app, it reads your theme again (or choose Check again): the step ticks itself and the app creates the page of your store locator, “Find a store”, with this template. If a page already uses it, the app keeps that one instead. Click See the page: it opens on your online store, in a new tab, as your visitors see it. On a password-protected store, enter your password first. If it’s empty, check that your stores are active.
You can rename the page or change its address: the links of the app’s blocks follow it.
3. Choose which stores have a store page
Section titled “3. Choose which stores have a store page”Each store can have its own page on your online store, with its photos, hours, description and directions. These pages help search engines show your stores, and make each store’s address easy to share.
By default, no store has a page: give one to your own shops, for example, and not to your resellers. In the stores list, filter on a type, select the stores, then use Edit publication; or tick Store page on a store.
Choose Open the stores to set it up, or No pages for now. The step ticks itself once a store has a page.
Until the template of the next step exists, only one page goes online: Shopify needs one to let you create the template. The others wait, with no link and out of the sitemap: the stores list shows them as Waiting for template.
4. Create the store page template
Section titled “4. Create the store page template”All the store pages share one template in your theme: you create it once, and every store that has a page uses it.
-
In the theme editor, open the template list at the top of the screen, then View all metaobjects > Store page > Create template.
-
On the Store page template, click Add section, open the Apps tab, choose Store page, then save.
The Add the Store page block button is a shortcut: the editor opens with the block already added, you only have to save. It works once the template exists.
Back in the app, it reads your theme again: once the block is in the template, the pages that were waiting go online and the step ticks itself.
While pages wait, the step gives their total (“12 store pages are waiting for this template”).
Two things you can change later:
- The address of your pages. Each page has an address like
your-store.com/pages/stores/paris-le-marais. You can change the middle word (“stores”) in Settings > Pages & SEO: the old addresses redirect to the new ones. - The title in your theme’s style. To give the store’s name the look of your other page titles, add your theme’s heading block above the Store page block, connect its text to the Name field, then turn off Show the title in the Store page block.
Until a store has a page, this step is greyed out: give pages in step 3. If you keep none, it shows Not needed.
5. Choose your hub pages (countries and cities)
Section titled “5. Choose your hub pages (countries and cities)”Hub pages group your stores by country and by city, so that you show up when someone searches for “[brand] store Lyon”. Each page lists the stores of its country or city and links its neighbors. The step tells you how many pages turning them on would make with your stores.
Choose Choose in Settings to turn them on in Settings > Pages & SEO, or No hub pages for now. The step ticks itself once country or city pages are on.
Hub pages come with the Retail and Enterprise plans. On Stockist, the step is greyed out, doesn’t count in the guide, and shows See plans.
6. Create the hub page template
Section titled “6. Create the hub page template”The country and city pages share one template in your theme. This step is greyed out until you turn them on, and shows Not needed if you keep none.
-
In the theme editor, open the template list at the top of the screen, then Store hub page > Create template.
-
On the Store hub page template, click Add section, open the Apps tab, choose Country or city page, then save.
The Add the Country or city page block button is a shortcut: the editor opens with the block already added, you only have to save.
Until the block is in the template, only one hub page goes online: the country with the most stores. The others wait, and the step gives their total. Back in the app, it reads your theme again: they go online and the step ticks itself.
Good to know
Section titled “Good to know”- The guide’s links open the theme editor, but they can’t create the templates for you: you create them there.
- Steps 2, 4 and 6 tick themselves when the block is saved in your published theme. The guide only looks at the published theme.
- If a template has another Lavia block than the one expected (the Apps tab lists every Lavia block in every template), the step names it: remove it and add the right one.