The product page is the Product section on the default product template, followed by Product recommendations and Recently viewed. Open it at Online Store > Themes > Customize, then pick Products > Default product from the page selector at the top.
Section settings
| Setting | Default | What it does |
|---|---|---|
| Show breadcrumbs | On | Home, the collection the shopper came from (when there is one), then the product |
| Keep product info in view while scrolling on desktop | On | The info column stays on screen while the images scroll |
Media
| Setting | Default | What it does |
|---|---|---|
| Desktop layout | Grid | Grid: a full-width first image, then two columns. Single column: images stacked. |
| Show thumbnails on mobile | Off | Thumbnails under the swipeable image row. Off by default so the title and price show on a phone's first screen |
| Open images in full screen | On | Tapping an image opens a full-screen viewer |
| Show only the selected color's images | Off | See Media by color |
Buying
| Setting | Default | What it does |
|---|---|---|
| Show sticky add to cart on mobile | On | Appears after shoppers scroll past the add to cart button |
Blocks
Add, remove and reorder blocks in the Product section. Blocks marked one can be added once.
| Block | Settings | Notes |
|---|---|---|
| Vendor (one) | none | |
| Badge (one) | none | The same one badge as the product's card, such as Sale or Drops Dec 4. Set up which badges show in Theme settings > Badges. Hidden when no badge applies. Not in the default template. |
| Title (one) | none | |
| Rating (one) | none | Shows the star rating and review count from your product reviews app. Hidden until a product has a rating. Reads Shopify's standard reviews.rating and reviews.rating_count metafields. |
| Price (one) | Show tax and shipping note | Sale price, compare-at price and unit price |
| Fit (one) | none | Shows the product's Fit, Waist rise and length category metafields. See Fit and sizing. |
| Fit scale (one) | Fit value | Runs small to runs large, from a runs: tag |
| Model info (one) | Model line | From a model: tag |
| Variant picker (one) | Show measurements for the selected size | Uses the matching size chart in Theme settings > Fit and sizing |
| Size guide (one) | Display (Drawer or Inline), Open by default (inline only), Page, With a size chart (once a page is chosen: Show the page under the chart or Show only the page) | The matching size chart, a page, or both. Drawer opens from the Size guide button beside the size option. Inline shows a disclosure where the block sits; placed right next to the variant picker, it replaces the button. See Size guide from a page. |
| Quantity selector (one) | none | Shown on the same row as Add to cart when there's a Buy buttons block. Hidden while a drop is upcoming. Follows the variant's quantity rule: see Quantity rules and volume pricing. |
| Buy buttons (one) | Show dynamic checkout buttons, Show recipient form for gift cards, Show pickup availability | Add to cart, plus the drop panel and Notify me forms |
| Buy note (one) | Icon, Text | One short line under the buy buttons, such as your shipping or returns terms. Empty by default, and hidden while empty. |
| Description (one) | Show in a collapsible tab, Heading, Open by default (once the tab is on) | The product description. The default templates show it in an open Product details tab. |
| Collapsible tab | Heading, Content, Content from page | For shipping, returns or care. Content from page shows a page's content, so you write it once. |
| Text | Text, Text style (Body, Subdued or Uppercase) | |
| Custom Liquid | Custom Liquid | Add app snippets or other code to create advanced customizations. |
| App blocks | From apps you've installed |
Add Fit, Fit scale and Model info near the variant picker so fit sits next to the size choice.
Variant picker
- Every option is a row of chips. Options with swatches (for example a Color option linked to Shopify's Color metafield) show a color or image dot.
- The first available variant is selected when the page opens. With Theme settings > Fit and sizing > Ask shoppers to choose a size on, no size is selected until the shopper picks one, and the button says Select a size until then.
- Sold-out values stay visible, crossed out. Shoppers can select them to see the Notify me form.
- Combinations that don't exist are marked unavailable.
- With a size chart, the picker shows the selected size's measurements, the Your size shortcut and a Size guide button beside the size option's name. See Fit and sizing.
Changing an option updates the price, images, availability, measurements and buy button without a page load. Add to cart stays disabled until the update finishes, so the shopper never buys the previous variant.
Media
The gallery supports images, Shopify-hosted video, YouTube and Vimeo video, and 3D models.
- Mobile: a swipeable row with a counter, with the next image peeking in at the edge, and thumbnails if Show thumbnails on mobile is on. Breadcrumbs show from tablet width up, so the title sits right under the image on phones.
- Desktop: Grid or Single column.
- The selected variant's image moves to the front.
Media by color
With Show only the selected color's images on, the gallery shows only the images for the chosen color, plus images every color shares.
How Yardage decides which images belong to a color:
- Assign an image to each color variant (Products > product > Variants > variant > image).
- Order the product media so each color's variant image is followed by that color's other images.
- Images before the first variant image show for every color.
Example order: flat lay (shared) · Rinse variant image · Rinse back · Rinse detail · Black variant image · Black back.
An image whose alt text is exactly a color name also belongs to that color. You don't need to set alt text to color names; use alt text to describe the image.
Product templates
Yardage comes with two product templates. Choose one per product in Shopify admin: open the product, then pick it under Theme template.
| Template | For | Blocks |
|---|---|---|
| Default product | Clothing: denim, tops, outerwear | Everything above, including Fit, Fit scale, Size guide and Model info |
| no-fit | Accessories, bags, gift cards and anything else without sizes to fit | The same page without Fit, Fit scale, Size guide and Model info. The variant picker doesn't show measurements. Buy buttons keeps Show recipient form for gift cards on, so a gift card product gets the recipient form. |
Assign no-fit when a product has no size chart and no fit facts to show, for example a belt, a tote or your gift card. Fit blocks hide themselves when a product has nothing to show, so the default template also works; no-fit keeps the page short and lets you edit the two layouts separately. You can find it in the theme editor under Products > no-fit.
Combined listings
Yardage supports combined listings (Shopify Plus), where each color is its own product shown as one listing:
- On the product page and in quick buy, choosing a color that is another product loads that product in place: images, title, price and buy area. The address bar changes to that product, without a page load.
- Sizes already chosen stay chosen. A size that wasn't chosen yet stays unchosen: the button keeps saying Select a size.
- Card color dots open the product for that color.
- In the Featured product section, the title, images, price and buy area change to the other product; the description and fit line stay the featured product's.
Quantity rules and volume pricing
With B2B catalogs, you can set quantity rules (a minimum, a maximum and an increment) and volume pricing per product. Yardage follows them for B2B customers who are logged in:
- The quantity selector starts at the minimum and the + and − buttons move by the increment, never past the maximum. A typed quantity is rounded to the nearest one the rule allows.
- A line such as "Minimum of 6 · Increments of 6" shows above Add to cart. Only the parts that differ from the default show.
- With volume pricing, a Volume pricing table lists the price each at every quantity break.
- Quick buy and the Featured product section show the quantity selector only when the variant has a quantity rule. Without a Quantity selector block, the product page shows one anyway for such a variant, so the minimum is always what gets added.
- The sticky add to cart bar starts its summary with the quantity when it's more than one.
- In the cart, each line follows its rule and shows the same rule line. Stepping below the minimum removes the line. If the cart refuses a quantity, the line shows Shopify's message.
All of this updates when the shopper changes the variant. Shoppers outside B2B see no change.
Sticky add to cart
On mobile, a bar appears at the bottom of the screen once the main add to cart button scrolls out of view. It shows the product, the current selection, the price and the button.
- With no size chosen, it says Choose size and scrolls back to the size picker. It never picks a size.
- Before a drop opens, it says Notify me and scrolls to the drop panel's email field.
Turn it off with Show sticky add to cart on mobile.
Buy area states
| State | What the shopper sees |
|---|---|
| No size chosen (with Ask shoppers to choose a size on) | Select a size, disabled; Buy it now hidden |
| Available | Add to cart, dynamic checkout buttons |
| Sold out | Sold out, disabled, and a Notify me form if Show notify forms is on |
| Unavailable combination | Unavailable, disabled |
| Upcoming drop | The drop panel with countdown and Notify me. See Drops. |
| Pre-order | Pre-order, ship note and a confirmation checkbox |
| Archive, sold out | "From the archive. This piece won't be restocked." |
The buy area also supports selling plans (subscriptions and pre-order apps), gift card recipient details and local pickup availability.
Complementary and related products
The Product recommendations section sits below the product.
| Setting | What it does |
|---|---|
| Heading | Default "You may also like" |
| Recommendation type | Related: Shopify picks similar products automatically. Complementary: products you choose in the Search & Discovery app. |
| Products to show | 2 to 8 |
To choose complementary products:
- Open the Search & Discovery app and go to Product recommendations.
- Search for a product and add Complementary products, for example a belt and a tee for a pair of jeans.
- Save.
The section hides itself when there are no recommendations. You can also use related products and complementary products in the cart drawer: see Cart.
Recently viewed
The Recently viewed section shows products the shopper looked at recently, kept in their browser (the last 12). Settings: Heading, Products to show (2 to 8), color scheme and padding.
Quick buy
The quick buy sheet is a short version of the product page. It opens from Choose size or Quick add on product cards, campaign cards and lookbook looks. It slides up from the bottom on mobile and in from the right on desktop.
It shows images, price, fit, the variant picker with measurements, the size guide and add to cart, plus View full details. Add to cart stays pinned to the bottom of the sheet while the shopper scrolls. It always opens with no size selected. Quick buy shows the matching size chart only; a page chosen on the product page's Size guide block shows on the product page.
Product cards say Choose size when the product has a size option, and Quick add otherwise. Quick buy is hidden for sold-out products and upcoming drops.
Featured product
The Featured product section puts one product's buy area on any page. Blocks: Eyebrow, Title, Price, Fit, Description (with Words to show), Size and buy buttons, Product link and app blocks. Settings: Product, Media position on desktop, color scheme and padding.