Inkblot documentation Version 1.0.0

Product pages

The product template has four sections: Product information (the gallery and the details you buy from), Similar to, Specs and reviews and Reviews. This guide covers each one, and the product data they read.

How the page is laid out

On a computer, the gallery sits on the left with a column of thumbnails, and the details sit on the right. On a phone, the gallery fills the screen and scrolls from photo to photo, with dots to show where you are; the details rise over it as a sheet, and the add-to-cart button stays at the bottom of the screen.

Product information blocks

The details column is built from blocks that you can reorder, hide or remove in the theme editor: Title, Description, Price, Variant picker, Quantity selector, Buy buttons and Text. The section also accepts app blocks, such as reviews or wishlists from apps you've installed.

Badge
A short line above the description, such as “Limited edition”. A product's custom.badge metafield replaces it for that product.
Price block
Shows the sale price next to the compare-at price, the unit price when a variant has one, Shop Pay Installments when your store offers them, and a note on taxes and shipping.
Text block
Rich text for anything else, such as a care line or a delivery note. Add as many as you need.

The gallery shows every media item on the product, in the order you set in the product's Media section.

Variant images

When a shopper selects a variant that has its own image, the gallery moves to that image. A link to a specific variant (a product URL ending in ?variant= and a variant ID, which filtered collection pages create) opens the page on that variant's image. To give a variant its own image, open the product, click the variant, and choose an image from the product's media.

Focal points

Inkblot supports image focal points everywhere it crops a picture: the gallery, product cards, collection pages and home page sections. When a frame crops an image, the focal point stays in view. To set one, click an image in the theme editor, or in the Media section of a product, and choose the focal point.

Variants, swatches and size cards

Buying: checkout buttons, pickup, gift cards

The Buy buttons block has three settings:

Show dynamic checkout buttons
Shows express checkout buttons, such as Shop Pay, Apple Pay or PayPal, for the payment methods you've turned on in Settings > Payments.
Show pickup availability
Shows whether the selected variant can be picked up in store, and where. It appears only when you offer local pickup, which you set up in Settings > Shipping and delivery.
Show gift card recipient form
On gift card products, lets the shopper send the card to someone else by email, with an optional message and delivery date.

Similar to, Specs and reviews, Reviews

Similar to

A row of alternatives to the product, from Shopify's related product recommendations, which Shopify generates for you and which you can adjust in the Shopify Search & Discovery app. Products shown sets how many, from 2 to 6. Each product shows its review count when it has one.

Specs and reviews

This section has three parts:

Reviews

Shows written reviews in one of two ways:

With neither, the section doesn't appear.

The Featured product section puts one product, with its gallery and buy buttons, on any page, such as the home page or a landing page. Choose the product in its Product setting. It uses the same blocks as the product page and also accepts app blocks. The Badge and Model heights on the size cards settings, Find My Size and pickup availability belong to the product page only; a product's custom.badge, custom.condition and custom.model_heights metafields still show here.

Product metafields

All of these are optional; the theme works without them. To add one, open a product, and in the Metafields section click Add definition. Enter the namespace and key exactly as shown (for example custom.badge) in Namespace and key, and choose the type.

Namespace and keyTypeWhat it changes
custom.badgeSingle line textThe line above the description, replacing the Badge setting.
custom.item_codeSingle line textThe item number shown on the page. Without it, the product's ID is shown.
custom.conditionSingle line textA Condition line in the product details, for example for pre-owned items.
custom.model_heightsList of single line textThe model height on each size card, one per size.
custom.compositionMulti-line textThe composition and care panel in Specs and reviews.
custom.reviewsList of metaobjectsThe written reviews in the Reviews section. See Reviews.
custom.ratingRatingThe overall score in the Reviews heading.
reviews.rating, reviews.rating_countStandard, written by review appsThe score pill in Specs and reviews, and the review count on each product in Similar to.