Installing Stockisto on Shopify

You can add the Stockisto widget to any Shopify Online Store 2.0 theme by pasting your embed snippet into a native Custom Liquid section — the same section Shopify provides for custom HTML. There is no Stockisto app to install, no account connection, and no app review.

Before you begin

  • You have a Stockisto account and at least one retailer imported
  • Your Shopify store uses an Online Store 2.0 theme (all current Shopify themes, e.g. Dawn)
  • You have permission to edit your theme in the Shopify admin

Step 1: Copy your embed snippet

In your Stockisto dashboard → InstallInstall on Shopify, choose a placement and copy the snippet. The Store page / footer placement gives you a full store finder:

<script
    src="https://cdn.stockisto.com/widget.js"
    data-stockisto-slug="your-brand-slug"
    data-mode="finder"
    async></script>
<div id="stockisto-finder"></div>

Your snippet already contains your brand slug

The snippet in your dashboard contains your public data-stockisto-slug — don't replace or modify it. Each brand has a different slug.


Step 2: Open your theme editor

  1. In your Shopify admin, go to Online Store → Themes
  2. On your live theme, click Customize to open the theme editor

Step 3: Add a Custom Liquid section

  1. Choose the page or template where the locator should appear (for a store finder, a regular page or your footer works well)
  2. Click Add section
  3. Select Custom Liquid
  4. Paste your Stockisto snippet into the Custom Liquid box

Custom Liquid is built into Shopify

Custom Liquid is a native Online Store 2.0 section — you're pasting into Shopify's own section, not installing anything. It accepts raw HTML, so the Stockisto snippet works unchanged.


Step 4: Save

Click Save in the theme editor. The locator appears where you added the section.


Product-page placement (auto-fill the SKU)

To show a "where to buy" card on a product page, use the Product page placement in the dashboard. Add the Custom Liquid block to a Products template (via Add block or Add section on that template) and paste the product snippet:

<script
    src="https://cdn.stockisto.com/widget.js"
    data-stockisto-slug="your-brand-slug"
    data-mode="product-inline"
    data-sku="{{ product.selected_or_first_available_variant.sku }}"
    async></script>
<div id="stockisto-product-inline"></div>

Shopify fills in the SKU for you

Leave {{ product.selected_or_first_available_variant.sku }} exactly as written. Shopify replaces it with the current product's SKU when the page renders — so each product page shows stock for the right product. Don't edit the braces.


Allow your store domain

The widget only loads on domains you've allowed. In your Stockisto dashboard → InstallEmbed script tab → Allowed origins, add your Shopify domains, one per line — both your your-store.myshopify.com domain and your custom domain if you have one:

https://your-store.myshopify.com
https://www.yourbrand.com

Verifying the installation

After saving, open a page where you added the section. You should see the Stockisto locator load. Then return to your Stockisto dashboard → Install → your Install Health will turn green within a few minutes once the widget reports in.

Open your browser console (F12) and check for [Stockisto] log messages if you want to confirm the script fired.


Troubleshooting

ProblemLikely causeFix
No Custom Liquid sectionVintage (non-OS-2.0) themeUpdate to a current theme (e.g. Dawn), or paste the snippet into a page's HTML instead
Widget not visibleMissing container divPaste the whole snippet — it includes the <div> the widget renders into
Nothing loads / blocked in consoleStore domain not allowedAdd your myshopify.com and custom domains to Allowed origins
Product card shows the wrong stockSKU Liquid editedKeep {{ product.selected_or_first_available_variant.sku }} exactly as generated
CSP error in consoleContent-Security-Policy blocking scriptAllow cdn.stockisto.com in your theme's script-src (rare on default Shopify)

FAQ

Do I need to install a Shopify app?

No. This method pastes your snippet into Shopify's native Custom Liquid section — there is no app to install and no app review.

Does it slow down my store?

The embed script loads asynchronously and fetches data lazily, so it doesn't block your product pages from rendering.

Can I show it on every product?

Yes. Add the product snippet once to your Products template — Shopify renders it on every product and fills in each product's SKU automatically.