Product cards

3 min read, updated

View as Markdown

These change every product card in the store: collection pages, carousels, search, and recommendations.

A card shows one badge at most, in this order: Sold out; your own label from a product tag written as Badge: Limited; New; Bestseller. A row or collection page that shows the badge’s own collection leaves that badge off (New arrivals cards don’t all say New). Sale has no badge: the accent price is the sale signal.

Cards always show the unit price when a variant has one, “From” for price ranges, and the compare-at price struck through next to the sale price. A card shows its price in the accent color when any size you can buy is on sale, even if the lowest price shown is not the reduced one; then nothing is struck through.

Settings

Setting Choices Notes
Card background White; Page color; White image, text on the page (default) White image, text on the page (default) puts the photo on a white well and the text on the page. White sits a white card on the tinted page. Page color blends cards into the page.
Image shape Portrait (4:5) (default), Square (1:1) Portrait (4:5) (default) or Square (1:1), for every product photo on cards and in search results. Coffret uses Square, which suits jewelry shot from above.
Product info Name, then price and rating on their own lines (default); Name, then price and rating on one row; Name, price and swatches centered under the image Where the name, price, and rating sit under the photo: on their own lines (default), with the price and rating on one row, or centered, with the color swatches under them (Coffret).
Show second image on hover On by default Desktop. Swaps to the product’s second image.
Show sizes on hover On by default Size chips for products with one option, on hover on desktop. Pressing a size adds it to the bag.
Show quick add button On by default A plus button for touch screens. It adds the product’s default size straight to the bag: the first available size, the one the product page opens on. To change it, reorder the variants in the product admin. A line under the price shows that size and how many more there are (“50 ml +2 sizes”). Products with more than one option open the product page.
Show quick view Off by default On product cards a View button opens the photos, options and Add to bag in a side drawer, so shoppers can pick a size without leaving the collection. With it on, the quick add button opens the same drawer for any product with more than one size. View full details at the drawer’s foot goes to the product page.
Product subtitle Show on hover, Always show (default), Hide A short line of notes under the title, from the product metafield custom.subtitle. Show on hover, always, or hide.
Product name on one line Off by default Keeps cards the same height. A long name ends in an ellipsis; the full name shows on hover and on the product page.
Show rating On by default Stars under the title. Needs a reviews app. Hidden when a product has no reviews.
Show color swatches Off by default Up to 5 small squares under the name for the product’s color option, from the swatches you set on that option in the product admin. Picking one shows that color’s photo (the image you assigned to its variant), and the card then opens that color, or adds it with quick add when color is the only option. Products without swatches show none.

Badges

Setting Choices Notes
Badge style Chip (default), Text Chip (default) sets the badge on a small filled chip in the corner of the card photo. Text shows it as plain caps on the photo.
New badge collection Collection Products in this collection show a New badge over the card photo. Use an automated collection (for example “Tag is equal to New”) to set it from product tags. Leave empty for no New badges.
Bestseller badge collection Collection Same for a Bestseller badge.
Contents