Show products in a table

In the Cards, List, Comparison and Specifications layouts, a column can show a product. Its picture, name, price and stock come from the product and stay up to date on your store, without saving the table again.

Note

Product columns need one of the four layouts (Layouts: design tokens, dark mode in Template). Classic and modern templates show plans as you type them.

Show a product in a column

  1. In Template, choose Cards, List, Comparison or Specifications.
  2. Open a plan. At the top, under Show a product in this column, click Choose a product, Choose a variant or The product on the page.
  3. The first time, Shopify asks you to let the app read your products. Allow it.
  4. Pick the product or variant in Shopify’s product picker.
  5. Save, and publish if the table is already on your store.

Expected result: The message “The column shows this product. Its details stay up to date on your store.” appears. The card shows the product’s picture, name and price with a Product or Variant badge.

A plan card showing a product variant: the product picture, name, live price, a Variant badge and the Change and Stop showing a product buttons
A column that shows a product (here a variant).
ChoiceThe column shows
Choose a productThe product. When its variants cost different amounts, the price reads “From …”.
Choose a variantOne variant, with its own price, stock and option values.
The product on the pageOn each product page, the product of that page. See The product on the page.

On your store the column shows the product’s picture, its name as a link to the product page, its price in the shopper’s currency, the old price struck through when it’s on sale, and whether it’s sold out. A product column takes its name, price and picture from the product, so the plan’s Plan name, price and Logo image fields are hidden.

  • Change picks another product. Stop showing a product turns the column back into a plan you type; its name stays.
  • When you open the editor, the app reads the products again, so the preview shows their latest details. That doesn’t count as a change.
  • If a product is deleted or taken off your Online Store, the card says so, and your store shows the column as it was last saved, without a working button.

The button of a product column

Button actionOn your store
Open the product pageOpens the product. Leave Button text empty for “View product”.
Add to cartAdds the variant (or a product without options) to the cart, with the Quantity you set.
Buy now (checkout)The same, then straight to checkout.

A product with options opens its product page instead, so shoppers can choose; its button reads “Choose options”. A sold-out product’s button can’t be clicked. You can change these words in Design, Texts: Product button, Button of a product with options, Price of a product with several prices and In stock.

The product on the page

Choose The product on the page to build one table for all your product pages: each page shows its own product in that column.

  • Click Choose a preview product to see a real product in the preview. Change preview product picks another one.
  • Add the table to your product template, with the Product table block or the Pricing table block.
  • On pages that aren’t product pages, this column stays empty.
A product comparison on a store page: product pictures and names as columns, live prices, an availability row and add to cart buttons
Products side by side on the store, always up to date.

Add product data rows

A data row shows the same detail for every product column, such as the price, the vendor or a material, and stays up to date.

  1. In Compare features, click Add product data.
  2. Tick the details you want.
  3. Click Add rows.
  4. Rename a row in its Feature field if you like, then save.

Expected result: The message “2 rows of product data added. Rename them if you like, then save.” appears (with your number of rows). The rows show a Product data badge.

Add product data dialog with Product details (Price, Availability, Vendor, Product type, SKU, Barcode, Weight), the products’ Options and the store’s Metafields
Add product data: rows that show a detail of every product column.
Group in the windowDetails you can add
Product detailsPrice, Availability, Vendor, Product type, SKU, Barcode, Weight
OptionsThe options of the products in your table, such as Color or Size. A variant column shows its own value; a product column lists all values.
MetafieldsYour store’s product metafields (custom data fields with a definition, set up in Shopify admin, Settings, Custom data).
  • Details the table already has are ticked and can’t be added twice.
  • Plans you typed yourself keep their own value in a data row.
  • Weight and metafields that point to other entries show on your store but not in the preview. The window marks them “Shown on your store; the preview can’t read it.”
  • “Show only differences” never hides a data row, because its values can change.
  • A row with no value for a product shows nothing in that cell.
How metafields show
Metafield typeShows as
Single line text, multi-line text, integer, decimal, URLThe value as text.
True or falseA check or a cross.
RatingFor example “4.6 / 5”.
ColorA color swatch with its code.
Lists of text, numbers, colors, URLs or datesThe values, separated by commas.
Product referenceThe product’s name.
Metaobject, or a list of metaobjectsThe entry’s label, name or title field.
Dimension, volume, weight, money, date, date and time, rich textThe value as Shopify writes it.

Show a product’s specifications

The Specifications layout lists the details of one product in two columns: the detail and its value. It uses the first column, which is usually The product on the page, so one table serves every product page.

  1. Create a table with the Product details starting point. It has rows for type, brand, SKU, weight and availability.
  2. Click Add product data to add more rows, for example your material or size metafields.
  3. Click Choose a preview product to check the result. Until you do, the preview shows “—” for each value.
  4. Save the table and add it to your product template with the Product table block or the Pricing table block.

On your store, rows that a product has no value for are left out, and a group with no rows left is hidden.

A product page with a Specifications table: the Brewing and Build groups, then the brand, type and SKU of that product
Specifications of the product the page shows.

Show a table on matching product pages

Rules decide which products show a table, for example a grinder comparison on every grinder. Set the rules in the table, then add the Product table block to your product template once.

  1. In the editor, go to Show on product pages and turn on Show on matching product pages.
  2. Add one or more conditions: Choose products, Choose collections, Product tags, Product types or Vendors.
  3. Save, and publish if the table is already on your store.
  4. Click Add the Product table block. The theme editor opens your product template with the block added. Click Save there.

Expected result: Product pages that match the rules show the table. Other product pages show nothing from this block, unless you choose a table for them.

Show on product pages section with Show on matching product pages on, one collection chosen and product tags filled in, and the Add the Product table block button
Rules that show the table on matching product pages.
  • A product matches if it meets any condition: one of the products, in one of the collections, or with one of the tags, product types or vendors.
  • Separate tags, types and vendors with commas. Capital letters don’t matter.
  • Each product page shows the first table in your list whose rules match. Your list is the order on the Pricing tables page, oldest first. If two tables match the same product, narrow the rules of one of them.
  • Hidden and deleted tables are skipped.
  • A table can have up to 100 products, 50 collections, 50 tags, 20 product types and 20 vendors in its rules.
  • With the switch on and no condition, saving stops with “Add at least one product, collection, tag, product type or vendor, or turn off “Show on product pages”.”
  • A duplicated table starts with its rules turned off.

Set up the Product table block

The Product table block can only be added to product templates. In the theme editor it has these settings:

SettingWhat it doesDefault
Table when no rule matchesOptional. The table for products that no rule matches. Leave it empty to show nothing on those products.Empty
WidthFull, Wide (1200 px), Medium (960 px) or Narrow (720 px).Full
AlignmentLeft, Center or Right. Applies when the table is narrower than the section.Center
Space above and below0 to 80 px.16 px
Use the theme's fontThe table uses your theme’s font.Off

In the theme editor, a product that matches no rule shows a note in the block’s place. Shoppers don’t see that note.