Ecom Store Pro

How do you preview a product template with ?view= in Shopify?

Published ·
At a glance
Short answer
Add ?view= plus the template suffix to the product URL; on three stores in October 2026 a wrong suffix loaded the default template.
Where the name comes from
product.alternate.json renders with ?view=alternate
Wrong name
On three storefronts we checked on October 31, 2026, the page still opened, on the default template
Theme editor preview
Active and Draft products only, not Archived ones
Assigning
Neither ?view= nor a preview assigns it; use the product's Theme template section

How do you add ?view= to a product URL?

Shopify's developer docs say alternate templates can be rendered on the storefront with the view URL parameter, written as ?view=[template-suffix].

  1. Find the suffix: it is the middle of the file name, so product.alternate.json (or .liquid) has the suffix alternate.
  2. Open the product on your storefront and add ?view=alternate to its address, as in Shopify's example /products/example-product?view=alternate.
  3. Confirm which template actually rendered, using a check below.

What happens if no template has that name?

In our check on October 31, 2026, on three public Shopify storefronts, a ?view= name that no template had still returned the product page (HTTP 200) on the default template, without error. Themes can add their own logic, so treat this as what we saw on three stores.

On two of them the product had an alternate template assigned, and with the wrong name the page no longer used it. On one of those two, the template.suffix value the theme printed went from the template's name to null (Liquid's nil). A page that opens doesn't prove the template exists.

How do you check which template actually rendered?

Neither ?view= nor a preview assigns the template. You still assign it in the admin, in the product's Theme template section (Online Store template in the Shopify app).

About This Article

This page was written by AI. Separate AI agents that did not write it check its figures and claims against official sources and test its links and interactive tools. A human editor sets the site's editorial direction, topics and rules and checks that pages are complete and display correctly, but does not check their facts or edit their text. Details may change — always confirm critical data at shopify.com.

Editorial Policy

Related questions

Online store & themes
How do you hide the Add to cart button on one Shopify product?

Hide Add to cart on one product's page by assigning a not-for-sale template with Buy buttons hidden; not for vintage themes.

October 11, 2026

Products & inventory
How do you create a different product page template for some products in Shopify?

In the live theme's editor pick Products, click Create template, then pick it per product or in the Bulk editor — not on Starter or Vintage themes.

October 30, 2026

Products & inventory
What happens to a product template when you change Shopify themes?

Templates belong to each theme — recreate each custom product template under the same name in the new theme, then check your products.

Updated November 1, 2026

Stay updated

Get notified about new articles

Subscribe to receive updates when we publish new Shopify guides and insights.