Store Location

Combine a map, newsletter signup, contact info, and social links into a unified layout. Perfect for physical stores wanting to drive foot traffic.

πŸ“ sections/store-location.liquid⏱️ 10 min setup

Overview

The Store Location section provides everything customers need to find and contact you. It integrates Google Maps for interactive directions.

πŸ—ΊοΈ

Interactive Map

Google Maps integration
πŸ“§

Newsletter

Built-in email signup
πŸ“ž

Contact Info

Phone, email, directions
πŸ”—

Social Links

Connect all platforms

When to Use

  • Contact page β€” Combined with contact form
  • About page β€” Show where you're located
  • Footer area β€” Quick access to location details
  • Standalone page β€” Dedicated store locator

Quick Setup

Add Store Location in 4 Steps

  1. 1Add section β†’ Store location
  2. 2Enter your Google Maps API key and Map query
  3. 3Configure contact options (directions, phone, email)
  4. 4Add Info row and Social row blocks for additional details

Section Settings

Content

SettingTypeDefaultDescription
HeadingtextVisit our storeMain section heading.
Subheadingrichtext-Supporting text below the heading.

Newsletter

SettingTypeDefaultDescription
PlaceholdertextEmail addressPlaceholder text for the email input.
ButtontextSubscribeSubmit button label.
Button styleselectPrimaryButton appearance: Primary or Secondary.

Map

SettingTypeDefaultDescription
Fallback imageimage-Static image shown when no Google Maps API key is provided.
Google Maps API keytext-Your Google Maps Embed API key for interactive maps.
Map querytext-Location search query (address or place name).

Directions

SettingTypeDefaultDescription
Show buttoncheckboxtrueDisplay a 'Get directions' button.
LabeltextGet directionsButton text.
Link overrideurl-Custom directions link. If empty, auto-generates Google Maps link.
Open in new tabcheckboxtrueOpen directions in a new browser tab.
StyleselectSecondaryButton style: Primary, Secondary, or Link.

Copy Address

SettingTypeDefaultDescription
Show buttoncheckboxfalseDisplay a 'Copy address' button.
Address texttextMap query valueThe text to copy when clicked.
LabeltextCopy addressButton text.
Success texttextCopied!Confirmation message after copying.

Phone

SettingTypeDefaultDescription
Show linkcheckboxfalseDisplay a clickable phone link.
LabeltextCall usLink text.
Numbertext-Your phone number. Triggers a call on mobile devices.
StyleselectLinkAppearance: Primary, Secondary, or Link.

Email

SettingTypeDefaultDescription
Show linkcheckboxfalseDisplay a clickable email link.
LabeltextEmail usLink text.
Addresstext-Your email address. Opens default mail client.
StyleselectLinkAppearance: Primary, Secondary, or Link.

Layout

SettingTypeDefaultDescription
Reverse on desktopcheckboxfalseSwap map and content positions (content on left, map on right).
WidthselectInheritContainer width: Inherit, Narrow, or Wide.

Spacing

SettingTypeDefaultDescription
Desktop/Mobile top/bottomrange0pxMargin spacing above and below the section.

Block Types

Info Row

Add custom information rows with icons.

SettingTypeDefaultDescription
Iconimage-Small icon image (24Γ—24px recommended).
Headingtext-Row label (e.g., 'Opening Hours').
Textrichtext-Row content (e.g., 'Mon-Fri: 9am-6pm').

Use for:

  • Opening hours
  • Parking information
  • Special services
  • Accessibility features

Social Row

Display links to your social media profiles.

SettingTypeDefaultDescription
Iconimage-Optional icon for the row.
Headingtext-Row label (e.g., 'Follow us').

πŸ’‘ Note: Social links are pulled from your Theme Settings β†’ Social configuration. Add your social URLs there to display them in this section.


Google Maps Setup

Get an API Key

  1. Go to Google Cloud Console
  2. Create or select a project
  3. Enable Maps Embed API
  4. Create credentials β†’ API Key
  5. Restrict the key to your domain(s)

Configure the Section

  1. Paste API key in Google Maps API key
  2. Enter location in Map query (e.g., "123 Main St, New York, NY")
  3. The map will appear automatically

Fallback Option

If you don't want to use Google Maps API:

  1. Upload a static map screenshot as Fallback image
  2. The image will display instead of an interactive map

Best Practices

Contact Information

  1. Enable multiple contact options β€” Phone, email, and directions
  2. Use clear labels β€” "Call us" is better than just the phone number
  3. Add opening hours β€” Use an Info row block
  4. Include parking info β€” Helpful for physical stores

Map Presentation

  1. Use the interactive map β€” It's more engaging than static images
  2. Verify your map query β€” Test that it shows the correct location
  3. Consider reverse layout β€” Put content next to important page sections

Accessibility

  • All links include proper ARIA labels
  • Copy button provides feedback on success
  • Phone links work on mobile devices

Troubleshooting

Map not displaying

  • Verify API key is correct and active
  • Check that Maps Embed API is enabled in Google Cloud
  • Ensure Map query returns a valid location
  • Try using the fallback image

Copy address not working

  • Ensure Show button is enabled
  • Verify Address text is filled in
  • Check browser clipboard permissions

Newsletter signups not received

  • Check Shopify Admin β†’ Customers for new entries with "newsletter,store-location" tags
  • Verify form is submitting without errors