How to fix missing schema product on Squarespace

Add Product schema (JSON-LD structured data) to every product page so search engines can display rich results like price, availability, and ratings directly in search listings.

Steps for Squarespace

  1. Squarespace Commerce automatically injects basic Product schema on product pages — verify this is working by checking a product URL in Google's Rich Results Test.
  2. To add additional or custom schema fields (e.g. brand, gtin, more detailed offers): go to Settings → Advanced → Code Injection → Footer, and paste a <script type='application/ld+json'> block.
  3. Because Code Injection is site-wide, use a JavaScript conditional (if (window.location.pathname.includes('/shop/')) { ... }) to restrict the script to product pages only, or use Page Settings → Advanced → Page Header Code Injection on individual product pages.
  4. For Squarespace 7.1 with a Developer Console, you can also edit the product.item template directly to include dynamic schema.
  5. Validate with Google's Rich Results Test after publishing.
Official Squarespace documentation ↗
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "{{ product.title }}",
  "description": "{{ product.description | strip_html }}",
  "image": "{{ product.featured_image | img_url: 'master' }}",
  "sku": "{{ product.selected_variant.sku }}",
  "brand": {
    "@type": "Brand",
    "name": "{{ product.vendor }}"
  },
  "offers": {
    "@type": "Offer",
    "url": "{{ canonical_url }}",
    "priceCurrency": "{{ cart.currency.iso_code }}",
    "price": "{{ product.selected_variant.price | money_without_currency }}",
    "availability": "{% if product.available %}https://schema.org/InStock{% else %}https://schema.org/OutOfStock{% endif %}",
    "itemCondition": "https://schema.org/NewCondition"
  }
}

What is missing schema product?

Structured data is a standardized block of code — invisible to shoppers but readable by search engines — that explicitly tells Google and Bing what your page is about. Product schema specifically describes your item's name, price, availability, reviews, and more using a vocabulary that search engines universally understand. Without it, search engines have to guess at those details by reading your page text, which is slower and less reliable. Adding Product schema is how you "raise your hand" to Google and say: this page sells a product, here are the details.

Product schema is the gateway to Google's **rich results** — the eye-catching search listings that show star ratings, price, and stock status directly in the search results page. These rich results get significantly higher click-through rates than plain blue links, meaning more organic traffic to your store without spending more on ads. Missing schema means your product pages compete at a disadvantage against rivals whose listings stand out with price and review badges. Additionally, as AI-powered answer engines (like Google's AI Overviews and Bing Copilot) increasingly pull structured product data to answer shopping queries, having valid Product schema is how your products get surfaced in those AI-generated answers.

See the complete Missing schema product guide for every platform and the full background.

Not sure if your Squarespace store has this?

Run a free SEOLZ audit — we’ll find missing schema product and every other issue across your whole site.

Scan my site free

Fix missing schema product on another platform