# Product cards Open **Theme settings → Product cards**. These settings apply to product cards across the store: collections, product sections, recommendations, recently viewed and search results. @image(media/guides/editor-theme-cards.jpg "The top of Theme settings → Product cards" "Editor · panel") @settings(Product cards) ## Build the card with blocks Every list of products has its own **Product card** block: the collection page's **Product grid**, **Featured collection**, **Recommendations**, **Recently viewed**, **Style with**, the search results, and each tab of **Product tabs**. Open it in the theme editor to arrange that list's cards. 1. In the section, select **Product card**. 2. Set **Card layout** to **Blocks**. With **Theme settings**, the card follows the layout settings further down this page. 3. Open **Details** and add, remove, hide or drag the blocks under the photo. @image(media/guides/editor-tree-card.jpg "The Product card block of the collection page's Product grid, with Photo and Details" "Editor · panel") @image(media/guides/editor-card-layout.jpg "Its Card layout set to Blocks" "Editor · panel") Changes apply to every product card in that list. Other lists keep their own arrangement, so a collection page and a home page section can show different cards. **Photo** holds the product photos and what sits on them. Turn the tags (sale, sold out, your `badge:` tags), quick add and quick view off for this list. **Show quick add** and **Show quick view** above switch them off in every list at once. **Details** holds the text under the photo. Its blocks: - **Title**: the product name. On the search page the searched words are marked. - **Subtitle**: a short line from the `custom.descriptor` metafield, the vendor or the product type. Products without it show no line. - **Price**: the price, the compare-at price struck through, "From" for products whose price varies, and the unit price. - **Rating**: stars from the `reviews.rating` metafield, which review apps fill in. Products without reviews show nothing. - **Color swatches**: a dot for each color, linking to it. - **Description**: the product description, shortened to the **Words** you set. **Show → In list view only** keeps it out of the grid and shows it when shoppers switch a collection to the list (collection page → **List view**); **Always** shows it on every card. - **Add to bag button**: a full-width button. A product with one variant goes straight into the bag; one with options opens quick view, or its page when quick view is off. - **Row: title and price**: a **Row** block that puts two blocks side by side, such as the title with the price at its end. On phones the row stacks unless you turn **Stack on mobile** off. Use **Details → Alignment** to center the text, and **Space between blocks** to loosen it. > Note: block cards still follow these Theme settings: image ratio, second photo on hover, hover video, **Title style**, **Price color**, **Title lines before it's cut**, badge wording, swatch colors, and **Text alignment** while **Details → Alignment** is set to follow the theme. **Card style**, **Price** (beside or below), **Line under the title** and **Color dots** (above or below) apply only to cards set to **Theme settings**; in a block card the blocks and their order decide, and the **Subtitle** block picks its own line. New sections and the theme's templates start with **Title**, **Price** and **Color swatches**, the same card as the theme's default. The collection page's card also has a **Description** set to list view only, so the list shows a short description. The cart drawer's suggestions and quick view keep a compact card that the builder doesn't change. ## Card layout from Theme settings **Card style**, **Price**, **Line under the title** and **Color dots** apply to cards whose **Card layout** is **Theme settings**. **Title style**, **Price color**, **Text alignment** and **Title lines before it's cut** apply to block cards too. @image(media/guides/editor-theme-card-layout.jpg "The Card layout group in Theme settings → Product cards" "Editor · panel") - **Card style**: how the text under the photo is arranged. - **Standard**: title and price side by side, with color dots. - **Retail stack**: the product type in small capitals on top, then the title, price and the number of colors. - **Centered**: the text centered under the photo, with the product type on top. - **Title style**: bold, capitals or light. - **Title font** and **Title weight**: set the product name in the body, heading or label font, and make it lighter or heavier. **Font's own** keeps the weight of the title style. - **Price color**: the text color, a softer grey or your accent color. - **Price font** and **Price weight**: prices use the label font by design; pick the body or heading font, or another weight. - **Price**: beside the title or below it. - **Text alignment**: text on the left or centered. - **Line under the title**: a short description from the `custom.descriptor` metafield, the vendor, the product type or nothing. - **Title lines before it's cut**: how many lines a long title can take; 4 shows the full title. - **Color dots**: above or below the title, or hidden. The three card styles, from the top: **Standard**, **Retail stack** and **Centered**. @image(media/guides/card-style-standard.jpg "Standard: the title and price side by side, with the color dots and the number of colors below") @image(media/guides/card-style-retail.jpg "Retail stack: the product type in small capitals and the number of colors on top, then the title and price") @image(media/guides/card-style-centered.jpg "Centered: the product type, title and price centered under the photo") ## Card color Turn on **Give cards their own color** and pick a **Card color scheme**: every product card, built from blocks or from Theme settings, sits on a panel in that scheme's background, with its title and price inside, and cards in a row line up at the same height. Off, cards have no panel and take the colors of the section they're in. @image(media/guides/card-color-scheme.jpg "Cards with their own color: Scheme 3 puts the title and price on a dark panel under each photo" "Storefront · cards") ## Color dots **Color dots to show** sets how many dots a card shows, from 2 to 8; the card always says how many colors there are in all. **Swatch shape** makes the dots circles, rounded squares or squares, and **Swatch size** makes them small, medium (the default) or large. Both apply to color dots and to the photo swatches set by **Swatch content**. @image(media/guides/editor-theme-swatch-size.jpg "The color swatch settings in Theme settings → Product cards, down to Swatch shape and Swatch size" "Editor · panel") When **Color dots change the photo** is on, pointing at a color dot on a computer shows that color's photo on the card. Phones keep the main photo. The photo comes from the variant image, so give each color variant its own image. @image(media/guides/card-dot-hover.jpg "Pointing at the green dot shows the green photo on the card" "Storefront · card") **Hide sold-out colors on cards** leaves out a color that has nothing left to buy, and the color count then counts only the colors in stock. **Mark colors on sale** puts a small accent dot on the card dot of a reduced color, and a % mark on its swatch on the product page and in quick view; the mark follows the size or other option the shopper picks. ## Quick add and quick view Quick add puts the product in the bag from the card. Products with sizes show the sizes first. Turn off **Quick add on phones** to keep phone cards to the photo and text; computers keep quick add. **Quick add icon** shows a plus on the button, or the same bag or cart icon as the header (Theme settings → Cart → **Cart icon**). **Choose options opens** decides what the + button does on a product with several options but no size row (sizes always open on the photo): the **Product page**, or the **Quick view** window so shoppers pick and add without leaving the list. Quick view opens photos, options and add to bag in a window without leaving the page. Turn off **Quick view on phones** to remove its button from phone cards. **Quick view style** opens it as a **Window in the middle** (photos beside the details, which scroll while the photos stay in view) or a **Side drawer** from the edge of the screen, photos on top. @image(media/guides/editor-theme-quick-add.jpg "Quick add and quick view in Theme settings → Product cards, with the Quick add icon and Choose options opens" "Editor · panel") @row(media/guides/card-quick-add-icon-plus.jpg media/guides/card-quick-add-icon-bag.jpg "Quick add icon: Plus (left) or the header's bag icon (right), at the corner of the card photo") @image(media/guides/card-quick-add.jpg "Quick add on a product with sizes: the sizes appear on the photo, and choosing one adds it to the bag" "Storefront · card") @image(media/guides/card-quick-view.jpg "Quick view: photos, options and add to bag in a window over the page") Shoppers swipe through the photos on phones; on a computer, arrows appear over the photo when the pointer is on it, and dots under it show how many there are. The quick view's details are built from blocks: Highlights, Title, Price, Description, Variant picker, Buy buttons and Product page link, plus Badges, Inventory status (following the chosen size, with an optional bar), Product details (SKU, vendor, type, collections, tags), Countdown, Size guide, Divider, Spacer, Collapsible row, Icon list, Button, text and apps. To change it, open any product page in the theme editor and select **Quick view** at the bottom of the list: the window opens in the preview. Reorder, hide or remove blocks there; the variant picker style, the quantity selector and the accelerated checkout buttons are settings of their blocks. **Space between blocks** in the section loosens or tightens the column. The **Size guide** block links to the product's own guide page (the metafield set in Theme settings → Metafields, `custom.size_guide_page` by default), or to the page you pick in the block for products without one. One layout serves every product. Title, Price, Variant picker and Buy buttons each show once: a second copy stays empty and says so in the editor. Without a Variant picker, products with options show a **Choose** button that opens their page, so nobody adds a size they didn't pick. > Important: If a product needs a personalization field, such as a name to print, tag it **personalized** (or the tag set in **Product page only tag**). Its card then opens the product page instead of adding straight away, so the field is never skipped. ## Space between cards **Space between cards** and **Space between rows** set the gaps in every product and collection grid. Phones use a little less. The defaults are 8 px and 40 px. ## Currency code **Show currency code** adds the code to product prices and cart totals, for example $48.00 USD, on cards, the product page and in both carts. It helps shoppers when you sell in several currencies. Discounts, unit prices and prices inside text keep the shorter form. **Countries listed first** puts the countries you sell to most at the top of the country list in the header, the phone menu and the footer. Type their two-letter codes separated by commas, for example US, GB, DE. The other countries follow in alphabetical order. Empty keeps the whole list alphabetical. ## Badges Sale badges can show a percentage, an amount, a word or nothing. Add your own badge with a product tag that starts with `badge:`, for example `badge:New colors`. **Badge colors** sets the background and text of each kind of badge; leave a color empty to keep the theme's look. **New badge** puts "New" on a product for a number of days after it's published, so new arrivals mark themselves and the badge goes away on its own. 0 turns it off. A product tagged exactly `badge:New` keeps its own badge instead of a second one. **Sale badge wording** replaces "Sale" when **Sale badge** is set to it: write `Save [percent]` or `[amount] off` and the badge shows the saving of the variant on show. **Show pre-order badge** marks products that keep selling while out of stock, and **Badge corners** makes every badge square, pill-shaped or follow the corner style. **Badge font**, **Badge weight**, **Badge letter spacing** and **Capital letters on badges** set the type of every badge on cards and the product page. **Tag badges** give up to three badges their own words and colors. Enter a product tag, such as `bestseller`, and a label, such as Best seller: every product with that tag shows the badge on its card and its product page, in the colors you pick. If your color option isn't called Color, list its name in **Color option names**, for example `Color, Shade`, so its values show as color dots on cards and on the product page. @image(media/guides/card-badges.jpg "From the left: a sale badge as a percentage, the sold out badge, and a badge from the tag badge:New colors") ## Image ratio **Image ratio** sets the shape of product photos on every card: portrait, square, tall, landscape, or **Adapt to image** to keep each photo's own shape. **Custom** opens **Custom height**, the photo's height as a share of its width: 125% matches 4:5, 150% matches 2:3 and 100% is square. Use it when your photography has a shape of its own. ## Catalog mode For a store that shows products without selling them online, such as a wholesale catalog or made-to-order pieces, open **Theme settings → Product cards → Catalog mode**. - **Catalog mode** hides Add to bag, Buy it now, quick add and every other add-to-bag button in the store. Product pages, featured products and quick view show one button instead. - **Button label** and **Button link** set that button. Left empty, it reads "Ask about this product" in the shopper's language and opens your contact page. - **Hide prices** hides prices on cards, product pages, quick view, search and the product lists of story sections. Product pages then also leave out their price data for search engines, so what Google reads matches the page. > Tip: Sections built for buying, such as Kit builder and Quick order list, have nothing to do in catalog mode. Remove them from your templates while it's on.