Product page

The product page: breadcrumbs, the product information section and related products. Product information is the largest section in the theme. Its blocks cover media, title, price, variants, add to cart, shipping notes, stock alerts and more, and their order in the panel is their order on the page.

Where to find it: In the theme editor, choose this template from the page dropdown at the top of the screen. Template file: templates/product.json.

Good for

  • Laying out the buy area once and having every product use it
  • Adding reassurance next to the buy button: shipping, stock, pickup and payment icons
  • Cross-selling with complementary products, gift wrap and related blog posts
  • Running a second layout for one product type through an alternate template

Set up the blocks that need data from your admin

  1. Complementary products. Install Shopify's free Search & Discovery app, open Recommendations, pick a product and add its complementary products. The block fetches them for each product it's shown on; products with none assigned hide the block entirely.
  2. Gift wrap. Create a product such as "Gift wrap", set a price, turn off Track quantity, and keep it available on the Online Store sales channel (set its status to Unlisted if you don't want it in collections or search). Then pick it in the block's Gift wrap product. When a shopper ticks the box, the wrap is added to the cart in the same quantity as the product.
  3. Stock alert. Turn on Track quantity for the product's variants (Products → the product → Inventory). The low-stock warning and meter need a tracked stock count to work from.
  4. Store pickup. In Settings → Shipping and delivery → Local pickup, turn on pickup for each location that should offer it, and stock the variant at those locations. The block has no settings; it shows "Pickup available" with the first location that has it, with a drawer listing the others.
  5. Rating. Install a product reviews app that saves ratings to Shopify's standard product rating metafield (most do, such as Judge.me). Stars and the review count appear once a product has at least one rating; the block shows nothing for products without reviews.
  6. Icon list. With Enable custom icons off, the block reads each product's own list from the metafield you name in Theme settings → Product card → Icon list. Turn that list on there and fill the metafield on each product.
  7. Key stats. To show different stats per product, create a product metafield (namespace and key sublime.key_stats, type Rich text), fill it in on each product as Value: Label lines, then connect it to Stats with the dynamic source button.
  8. Size guide. Create a page with your size chart (Online Store → Pages), then in the Variant picker block turn on Show size guide link, type the option name it belongs to in Show next to option, and pick the page or upload a Size chart image.

Breadcrumbs settings

Layout

Enable full width Stretches the section edge to edge instead of holding it inside the page container.

Off by default.
Text alignment Aligns the heading and body text left, center or right.

Default: Left.

Appearance

Color scheme Sets the background, text, border and button colors for the section. Schemes are defined once in Theme settings → Colors and reused everywhere, so changing a scheme updates every section using it.

Spacing

Top and bottom spacing for desktop, with optional separate values for mobile. These are the same controls on every section. See Settings every section shares.

Product information settings

Layout

Desktop media position Which side of the text the media sits on.

Choose Left (default) or Right.

Gallery

Desktop layout Arrangement on desktop.

Choose Bottom thumbnail (default), Left thumbnail, Right thumbnail, Vertical stack or Horizontal scroll.
Mobile layout Arrangement on mobile.

Choose Bottom thumbnail (default), Vertical stack or Horizontal scroll.

Image

Desktop image ratio Image crop shape on desktop.

Choose Portrait (3:4), Landscape (4:3), Square (1:1) (default) or Adapt to image.
Mobile image ratio Image crop shape on mobile.

Choose Portrait (3:4), Landscape (4:3), Square (1:1) (default) or Adapt to image.
Image fit Cover fills the frame and crops the overflow; Contain fits the whole image inside the frame and may leave space at the edges.

Choose Cover (default) or Contain.
Image background color Fills the space around an image when it is fitted rather than cropped. It's most visible with product shots on transparent backgrounds.

Only appears when Image fit is Contain.

Thumbnail image

Image ratio Crop shape of the gallery thumbnails.

Choose Portrait (3:4), Landscape (4:3), Square (1:1) (default) or Adapt to image.
Image fit Whether thumbnails are cropped to fill their frame or fitted inside it.

Choose Cover (default) or Contain.
Image background color Fills the space around fitted thumbnail images.

Only appears when Image fit is Contain.

Features

Enable image zoom Magnifies the image where the shopper hovers over it.

Off by default.
Enable lightbox Opens images full screen when clicked.

Off by default.
Enable video looping Restarts the video when it reaches the end.

Off by default.
Enable video autoplay Starts the video as soon as it is in view. Autoplaying video is always muted, because browsers block sound without a click.

Off by default.

Badges

Enable badges Shows the sale, new and sold-out badges above the product title. Which badges appear, and their text and colors, is set in Theme settings → Product badges.

Uses product badges configured in theme settings under product cards.

Off by default.

Appearance

Color scheme Sets the background, text, border and button colors for the section. Schemes are defined once in Theme settings → Colors and reused everywhere, so changing a scheme updates every section using it.

Spacing

Top and bottom spacing for desktop, with optional separate values for mobile. These are the same controls on every section. See Settings every section shares.

Product information blocks

Blocks are the individual pieces inside the section. In the sidebar, click Add block under the section to add one, and drag blocks to reorder them. The order in the sidebar is the order on the page.

Title block

Heading The heading text for this block or section. In the Title block it is connected to the product's own title by default, so every product shows its name automatically; in other blocks, leave it empty to hide the heading.
Heading size Picks one of the heading sizes defined in Theme settings → Typography, so headings stay consistent across sections instead of being sized one by one.

Choose Default (default), H1, H2, H3, H4, H5 or H6.

Product metadata block

Show vendor Shows the product's vendor.

On by default.
Show SKU Shows the selected variant's SKU.

On by default.
Show barcode Shows the selected variant's barcode.

Off by default.

Icon list block

Icon list will be taken from global settings (product card)

Enable custom icons Off: the block shows the same icon list as your product cards, read per product from the metafield set in Theme settings → Product card. On: you type up to three items here, and every product using this template shows the same ones.

Off by default.
Icon style Filled puts each item in a pill filled with the color scheme's accent color; Outline keeps the accent-colored border but leaves the pill unfilled.

Choose Filled (default) or Outline.

Item 1–3

Each of the 3 items has the same settings, set separately for each one.

Icon The icon shown before the item's text. A Custom icon image, if set, replaces it.

Choose None, Store, Phone, Heart, User, Check, Check circle, Star, Lab, Info, Truck, Free shipping, Ruler, Returning, Return, Secure, Credit card, Gift, Tag, Discount, Map pin, Package, Clock, Wallet, Coupon, Award, Barcode, Diamond, Leaf, Apple, Gluten free, Gluten, Vegan, Dairy, Dairy free, No added sugar, Protein, Droplet, Droplet free, Bolt, Moon, Brain, Recycle, Envelope, Chat, Sparkle, Flame, Recurring, Lock, Globe, Calendar, Nut off, Sprout, Arrow right, Arrow up right, Arrow left, Chevron right, Chevron down, Plus, Minus, Cross, Play, Cart, Shopping cart, Search, Link, Download, Home, Hamburger, Edit, Login, Error, Arrow up, Chevron left, Chevron up, Arrow down, Filter, Trash, Share, Eye, Sound on, Sound off, Expand, Copy, Question, Warning, Sticky note, Notification, Swap, List, Grid or Logout. Defaults: Item 1 Truck, Item 2 Return, Item 3 Secure. Only appears when Enable custom icons is on.
Custom icon Overrides the icon above. Use a transparent .svg or .png.

Only appears when Enable custom icons is on.
Text The item's text, such as "Free returns" or "Vegan". An item with no text is not shown.

Only appears when Enable custom icons is on.
Link URL Optional link for the item, for example to your shipping or returns policy. Leave empty for plain text.

Only appears when Enable custom icons is on.
Open link in new tab Opens the item's link in a new browser tab. Only has an effect when Link URL is set.

Off by default. Only appears when Enable custom icons is on.

Rating block

Install a product reviews app to show ratings here. Its widget renders automatically.

Additional text Text shown beside the rating, such as the review count or a link to reviews.

Price block

Show installment info Shows the Shop Pay installment breakdown.

Off by default.
Show offer text Shows next to the compare-at price.

Off by default.
Discount format How a sale is shown next to the price: as an amount saved or a percentage.

Choose Percentage off (default), Saved amount or On sale. Only appears when Show offer text is on.

Variant picker block

Layout

Selector type How variant options are picked: buttons shown side by side, or a dropdown. Buttons are faster to use; dropdowns save space when there are many options.

Choose Button (default) or Dropdown.
Show swatches Shows color and pattern options as round swatches instead of text buttons. Swatches appear only for options whose values have a swatch color or image assigned in the Shopify admin; see Theme settings → Color swatches.

On by default.
Desktop swatch size Size of color swatches on desktop.

Adjustable from 24px to 80px (default 40px). Only appears when Show swatches is on.
Mobile swatch size Size of color swatches on mobile.

Adjustable from 20px to 80px (default 36px). Only appears when Show swatches is on.

Size guide

Show size guide link Adds a size guide link beside the variant picker.

Off by default.
Label Text of the size guide link.

Only appears when Show size guide link is on.
Show next to option Enter the option name exactly as it appears (e.g. Size, Width).

Only appears when Show size guide link is on.
Size guide page The page the size guide link opens.
Size chart image A size chart shown in the size guide drawer. If you also pick a Size guide page, the page text shows first and the image below it; with no page, the image shows on its own.

Only appears when Show size guide link is on.

Stock alert block

Displays only the "In stock" label when inventory is above the chosen threshold.

Low stock threshold When the selected variant's tracked stock falls to this number or lower, the block switches from "In stock" to a low-stock warning.

Adjustable from 1 to 100 (default 10).
Show stock meter Adds a short bar under the low-stock warning that shows how much stock is left. It only appears while stock is running low.

Off by default.
Stock meter max quantity Inventory quantity that fills the stock meter to 100%.

Default: 100. Only appears when Show stock meter is on.
Show stock count Adds the exact quantity to the low-stock warning ("Hurry! Only 3 left"). With it off, the warning just reads "Hurry!".

Off by default.

Appearance

In stock color Color of the stock indicator when stock is healthy.

Default: #00ff66.
Low stock color Color of the stock indicator once stock falls below the low-stock threshold.

Default: #eb3323.
Out of stock color Color of the stock indicator when the variant is sold out.

Default: #787878.

Buy buttons block

Hide quantity selector Removes the quantity picker, so each add to cart adds one.

Off by default.
Show dynamic checkout buttons Adds a checkout button under Add to cart that takes shoppers straight to checkout with this product, skipping the cart. Shopify picks which button to show: a Buy it now button, or the shopper's preferred express payment like Shop Pay, PayPal, Apple Pay or Google Pay, depending on the payment methods your store accepts and the shopper's device.

While it's shown, Add to cart uses your secondary button style so the checkout button stands out as the main action. When this is off or the variant is sold out, Add to cart uses the primary style.

On by default.
Enable gift card recipient form Lets shoppers send a gift card straight to someone else. On gift card products, an I want to send this as a gift checkbox appears above the quantity selector and buttons. Ticking it opens fields for the recipient's email, their name, a message of up to 200 characters and a Send on date up to 90 days ahead.

Shopify emails the gift card to the recipient on that date, or right after the order when no date is picked. Only the email is required. Other products don't show the form.

Off by default.

Gift wrap block

Allow customers to add gift wrapping to their product. The gift wrap product is bundled with the main product in a single add-to-cart request.

The gift product should be unlisted and inventory tracking must be disabled.

Label The checkbox text. The gift wrap product's price is added after it automatically, for example "Gift wrap this product [$5.00]".
Gift wrap product The product added to the cart when a shopper ticks the gift wrap checkbox. Its price appears next to the label. The block stays hidden on the storefront until you pick one.

Appearance

Icon color Color of the gift icon beside the checkbox.

Default: #000000.
Text color Color of the block's text. In the Highlights block, the icons follow this color too; leave it empty there to use the color scheme's text color.

Default: #000000.

Key stats block

Stats Separate value and label with a colon. Use line breaks to add a new stat. Text before the colon uses the value color; the rest uses the label color. To use dynamic content, connect a metafield named sublime.key_stats.

Appearance

Enable custom colors Reveals color pickers so this item can differ from the color scheme.

Off by default.
Value text color Color of the value text.

Only appears when Enable custom colors is on.
Label text color Color of the label text, the part after the colon.

Only appears when Enable custom colors is on.

Tags block

Content

Heading The heading text for this block or section. In the Title block it is connected to the product's own title by default, so every product shows its name automatically; in other blocks, leave it empty to hide the heading.
Heading size Picks one of the heading sizes defined in Theme settings → Typography, so headings stay consistent across sections instead of being sized one by one.

Choose Default (default), H1, H2, H3, H4, H5 or H6.
Tag filter Tags come automatically from Shopify product tags. Use this filter to exclude internal tags. Separate multiple tags with commas (e.g. badge:, internal:). Leave blank to show all tags.

Share block

Show Facebook Adds a button that opens a Facebook share window with a link to the product.

On by default.
Show X (Twitter) Adds a button that opens a post on X with the product's title and link filled in.

On by default.
Show Pinterest Adds a button that pins the product's featured image and title to Pinterest.

On by default.
Show copy link Adds a button that copies the product link to the shopper's clipboard and confirms with a short "copied" message.

On by default.

Complementary products block

Content

Recommendations are set per product in the Search & Discovery app. No collection needed.

Heading The heading text for this block or section. In the Title block it is connected to the product's own title by default, so every product shows its name automatically; in other blocks, leave it empty to hide the heading.
Heading size Picks one of the heading sizes defined in Theme settings → Typography, so headings stay consistent across sections instead of being sized one by one.

Choose Default (default), H1, H2, H3, H4, H5 or H6.
Products to show The most complementary products the carousel shows. Fewer appear if you've assigned fewer in the Search & Discovery app.

Adjustable from 2 to 8 (default 4).

Related blog posts block

Heading The heading text for this block or section. In the Title block it is connected to the product's own title by default, so every product shows its name automatically; in other blocks, leave it empty to hide the heading.
Heading size Picks one of the heading sizes defined in Theme settings → Typography, so headings stay consistent across sections instead of being sized one by one.

Choose Default (default), H1, H2, H3, H4, H5 or H6.
View all link text Link text shown beside the heading. It opens the blog that the first picked article belongs to. Leave it empty to hide the link.
Card link text Link text at the bottom of each post card, such as "Read more" or "View recipe".

Source

Articles The blog posts to show in the carousel, in the order you pick them. Pick up to five; the block is hidden when none are picked.

Information table block

Content

Heading The heading text for this block or section. In the Title block it is connected to the product's own title by default, so every product shows its name automatically; in other blocks, leave it empty to hide the heading.
Heading size Picks one of the heading sizes defined in Theme settings → Typography, so headings stay consistent across sections instead of being sized one by one.

Choose Default (default), H1, H2, H3, H4, H5 or H6.
Icon A preset icon shown beside the table heading. A Custom icon image, if set, replaces it.

Choose None (default), Store, Phone, Heart, User, Check, Check circle, Star, Lab, Info, Truck, Free shipping, Ruler, Returning, Return, Secure, Credit card, Gift, Tag, Discount, Map pin, Package, Clock, Wallet, Coupon, Award, Barcode, Diamond, Leaf, Apple, Gluten free, Gluten, Vegan, Dairy, Dairy free, No added sugar, Protein, Droplet, Droplet free, Bolt, Moon, Brain, Recycle, Envelope, Chat, Sparkle, Flame, Recurring, Lock, Globe, Calendar, Nut off, Sprout, Arrow right, Arrow up right, Arrow left, Chevron right, Chevron down, Plus, Minus, Cross, Play, Cart, Shopping cart, Search, Link, Download, Home, Hamburger, Edit, Login, Error, Arrow up, Chevron left, Chevron up, Arrow down, Filter, Trash, Share, Eye, Sound on, Sound off, Expand, Copy, Question, Warning, Sticky note, Notification, Swap, List, Grid or Logout.
Custom icon Your own icon, used instead of the preset icon above.

Overrides the selected icon. Use a transparent .svg or .png.
Icon size Displayed size of the icon.

Adjustable from 20px to 80px (default 48px).

Table content

Show table header Shows the column headings row.

On by default.
Column 1 Heading for the first column.
Column 2 Heading for the second column.
Information Separate label and value with a comma. Use line breaks to add a new row. Use a hyphen to indent rows.

Disclaimer

Disclaimer text Small print shown below the main content, for legal or delivery notes.

Appearance

Color scheme Sets the background, text, border and button colors for the section. Schemes are defined once in Theme settings → Colors and reused everywhere, so changing a scheme updates every section using it.
Alternate row color Background color of every other row, for easier scanning.

Default: #F0F0ED.
Alternate row text color Text color on alternating rows.

Default: #0D0D0F.

Sticky add to cart block

Show selected variant Shows the chosen options (for example "Blue | M") under the product title in the bar, with a Change link that scrolls back up to the variant picker. Hidden for products with only one variant.

On by default.
Show quantity selector Adds minus and plus buttons to the bar so shoppers can change the quantity without scrolling back up.

On by default.

Highlights block

Item 1–2

Each of the 2 items has the same settings, set separately for each one.

Icon Preset icon for this slot.

Choose None, Store, Phone, Heart, User, Check, Check circle, Star, Lab, Info, Truck, Free shipping, Ruler, Returning, Return, Secure, Credit card, Gift, Tag, Discount, Map pin, Package, Clock, Wallet, Coupon, Award, Barcode, Diamond, Leaf, Apple, Gluten free, Gluten, Vegan, Dairy, Dairy free, No added sugar, Protein, Droplet, Droplet free, Bolt, Moon, Brain, Recycle, Envelope, Chat, Sparkle, Flame, Recurring, Lock, Globe, Calendar, Nut off, Sprout, Arrow right, Arrow up right, Arrow left, Chevron right, Chevron down, Plus, Minus, Cross, Play, Cart, Shopping cart, Search, Link, Download, Home, Hamburger, Edit, Login, Error, Arrow up, Chevron left, Chevron up, Arrow down, Filter, Trash, Share, Eye, Sound on, Sound off, Expand, Copy, Question, Warning, Sticky note, Notification, Swap, List, Grid or Logout. Defaults: Item 1 Truck, Item 2 Return.
Custom icon Custom image for this slot.

Overrides the icon above. Use a transparent .svg or .png.
Text The message for this item, such as "Free shipping over $50" or "Ships in 1–2 business days". Plain text on one line.

Style

Icon and text color Color of the block's text. In the Highlights block, the icons follow this color too; leave it empty there to use the color scheme's text color.
Background color Solid background color, applied instead of the color scheme background.

Custom Liquid block

Liquid Add app snippets or other Liquid code to create advanced customizations.

Spacer block

Desktop spacer height Height of the empty gap on desktop. Use it to add breathing room between two blocks.

Adjustable from 0px to 400px (default 60px).
Mobile spacer height Height of the empty gap on mobile.

Adjustable from 0px to 400px (default 32px).

Accordion block

Heading The clickable row that opens and closes the accordion, such as "Details" or "Shipping & returns".
Heading size Picks one of the heading sizes defined in Theme settings → Typography, so headings stay consistent across sections instead of being sized one by one.

Choose Default (default), H1, H2, H3, H4, H5 or H6.
Content type Custom content shows text you type here, the same for every product using this template. Page content shows the text of one of your store pages, so a shared policy only has to be kept up to date in one place.

Choose Custom content (default) or Page content.
Content The text shown when the accordion is opened.

Only appears when Content type is Custom content.
Page The store page whose content fills the accordion. Link to a page (a /pages/… address); other kinds of links leave the accordion empty.

The page's content is displayed inside the accordion.

Only appears when Content type is Page content.
Open by default Starts this item expanded rather than collapsed.

Off by default.

Shopify picks the products for each product page automatically, based on past orders, product descriptions and the collections a product is in. The picks get better over time as your store gets more orders.

To choose them yourself, install Shopify's Search & Discovery app, open Product recommendations and pick the related products for a product. Your picks show ahead of the automatic ones, and you can hide the automatic ones for that product.

The section shows as many products as you set in Products to show, and hides itself on a product with nothing to recommend. In the theme editor, that product shows sample cards instead, so you can still style the section.

Content

Caption Small label above the heading, used for eyebrow text like a category or a date.
Heading The heading text for this block or section. In the Title block it is connected to the product's own title by default, so every product shows its name automatically; in other blocks, leave it empty to hide the heading.
Heading size Picks one of the heading sizes defined in Theme settings → Typography, so headings stay consistent across sections instead of being sized one by one.

Choose Default (default), H1, H2, H3, H4, H5 or H6.
Description Body copy shown under the heading. Supports bold, italic and links.
Text alignment Aligns the heading and body text left, center or right.

Default: Left.

Layout

Products to show Maximum number of products shown in the section.

Adjustable from 3 to 10 (default 8).
Desktop columns How many items sit side by side on desktop.

Choose 3, 4 (default) or 5.
Enable carousel on desktop Turns the row into a swipeable carousel on desktop instead of wrapping items onto a second line.

Off by default.
Enable carousel on mobile Turns the row into a swipeable carousel on mobile.

Off by default.
Mobile columns How many items sit side by side on mobile.

Choose 1 (default) or 2. Only appears when Enable carousel on mobile is off.

Appearance

Color scheme Sets the background, text, border and button colors for the section. Schemes are defined once in Theme settings → Colors and reused everywhere, so changing a scheme updates every section using it.
Card color scheme Color scheme applied to product cards in this section only, overriding the card scheme set in Theme settings → Product card.

Spacing

Top and bottom spacing for desktop, with optional separate values for mobile. These are the same controls on every section. See Settings every section shares.

Tips

  • Make a second product template for products that need a different layout. In the theme editor, open the page dropdown at the top, choose Products → Create template, name it (for example "Gift card" or "Bundle") and base it on Default product. Change its blocks, then in the admin open each product and choose the new template under Theme template.
  • Use Page content accordions for shared text. Point your Shipping or Returns accordion at a store page; updating that one page updates every product.
  • Use the Tags block's filter to hide internal tags. If you tag products with things like badge:new or internal:, add those prefixes to Tag filter so shoppers never see them.
  • Turn on the Sticky add to cart block when the page is long. The bar only slides in once the main buy button has scrolled out of view, so it never doubles up.
  • Keep the Custom Liquid and app blocks near the buy button if they add purchase options (subscriptions, bundles). Shoppers look for them before they decide.

Troubleshooting

The complementary products block doesn't show

It only appears when the product has complementary products assigned in the Search & Discovery app. With none assigned (or the app not installed) the block removes itself, even in the theme editor. Assignments can take a few minutes to start showing.

The gift wrap checkbox isn't on the product page

The block stays hidden until you choose a Gift wrap product, and that product needs an available variant. If the wrap product is sold out, drafted or not available on the Online Store channel, the checkbox doesn't appear. Turning off inventory tracking on the wrap product stops it from ever selling out.

The stock alert shows nothing, or never says "In stock"

The In stock label and the low-stock warning both need inventory tracking on the variant. Variants without tracking show no stock message at all. Sold-out variants always show Out of stock.

The size guide link doesn't appear

Check three things: Show size guide link is on, a Size guide page or Size chart image is set, and Show next to option matches the option name exactly, including capital letters ("Size", not "size").

Store pickup shows for some products but not others

The block only appears for variants stocked at a location with local pickup turned on. Variants that no pickup location stocks hide it.

Swatches come from the admin: The variant picker shows swatches only for options whose values have a color or image assigned (Products → the product → the option's values). An option named "Color" with no swatch data shows as buttons.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.