Add tables to your store

Saving a table makes it ready for your store. To show it, place it on a page: with the Pricing table block, with the Product table block on product pages, or by pasting its shortcode.

WayBest forNeeds
Pricing table blockAny page you edit in the theme editor: home page, page templates, product templates.A theme with app blocks.
Product table blockProduct pages, with the table chosen by rules. See Show a table on matching product pages.A theme with app blocks.
ShortcodeThe content of one page, blog post, product description or collection description.The Pricing Table app embed turned on.

Tables are part of the page itself: nothing appears late or moves while the page loads.

Add the Pricing table block

The quickest way is the Add app block button. It opens the theme editor with the block already added to a page template.

  1. Click Add app block. You find it in the editor’s Add to your store section, in the banner after you first save a table, and in the Setup guide on Home. Home also has Add block under Theme status.
  2. The theme editor opens in a new tab with the Pricing table block on your page template. Select the block.
  3. Under Pricing table, choose your table.
  4. Adjust Width, Alignment and the other settings if you like.
  5. Click Save in the theme editor.

Expected result: The table shows in the theme editor preview and on your store. The app’s Add to your store section shows App block in your theme with “1 added”.

Theme editor with the Pricing table app block selected and its settings: the Pricing table picker, width, alignment and spacing
The Pricing table block in the theme editor: choose your table.

Tip

A block belongs to a template, not to one page. Every page that uses the same template shows the table. To show it on one page only, use a template of its own for that page, or paste the table’s shortcode into that page instead.

Add the block yourself

You can also add the block like any app block. In Shopify admin, open Online Store, Themes and click Edit theme. Go to the page where you want the table, click Add section (or Add block inside a section), and pick Pricing table under Apps. Shopify explains this in Extending themes with apps (opens in a new tab).

The table list in the block

The Pricing table setting lists your tables by name. A table you hid shows “(hidden)” after its name, and a deleted one shows “(deleted)”: the block keeps them, but your store doesn’t show them until you show or restore the table. In the theme editor, a block with a hidden table says so in its place; shoppers see nothing there.

Block settings

SettingWhat it doesDefault
Pricing tableThe table the block shows. Create and edit tables in the app.Empty
Table number (older setup)Used only when no table is chosen above, for example 12 for [zifyapp-pt-12]. Blocks added before the table list existed use it.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, in steps of 4 px.16 px
Use the theme's fontThe table uses your theme’s font instead of the template’s.Off

With Full, the table fills the width of the section it’s in, also in themes built with theme blocks such as Horizon.

Add a table with a shortcode

Every table has a shortcode with its number, such as [zifyapp-pt-12]. Paste it into the content of a page, blog post, product description or collection description, and the Pricing Table app embed shows the table in its place.

  1. Copy the shortcode: click Copy shortcode in the editor, Copy in Add to your store, or the shortcode on the Pricing tables page.
  2. In Shopify admin, open the page, blog post, product or collection, and paste the shortcode into its content where the table should go. Save it.
  3. Turn on the app embed once: click Turn on the app embed in the editor (or Open theme editor on Home or Settings). In the theme editor’s App embeds, switch Pricing Table on and click Save.

Expected result: The page shows the table where you pasted the shortcode. The editor shows App embed (for shortcodes) as “On”.

Theme editor App embeds panel with the Pricing Table app embed turned on and its Tables in theme sections setting
App embeds: turn on Pricing Table for shortcodes.
  • A page can show up to 10 different tables with shortcodes.
  • If a table is hidden or deleted, its shortcode disappears from the page instead of showing as text.
  • Older tables may also have a second shortcode marked “still works” on the Pricing tables page. Both work.
  • Pasting HTML instead? <div class="zifyapp-pt" id="zifyapp-pt-12"></div> works like [zifyapp-pt-12].

Shortcodes in theme sections and page builders

The app embed finds shortcodes in the content of pages, blog posts, products and collections. If you pasted a shortcode somewhere else, such as a Custom Liquid section or a page builder, turn on the embed’s setting Tables in theme sections.

  1. In the theme editor, open App embeds and expand Pricing Table.
  2. Check Tables in theme sections and click Save.

Note

This setting adds every active table to each page of your store, so leave it off unless you need it.

Check the theme status

The app checks your live theme and shows what it found. The status refreshes each time you open the page.

WhereLineWhat it means
Editor, Add to your storeApp block in your themeHow many Pricing table blocks your live theme has, for example “1 added”, or “None yet”.
Editor, Add to your storeApp embed (for shortcodes)“On” or “Off”.
Home, Theme statusApp embed in your live theme“On” or “Off”, with Open theme editor.
Home, Theme statusPricing table blocks on your pagesFor example “2 active”, or “Not added”, with Add block.
Add to your store section of the editor: the shortcode with a Copy button, the theme status of the app block and the app embed, and the Add app block and Turn on the app embed buttons
Add to your store: shortcode and theme status.

“Unknown” means the app couldn’t check your theme. Reload the page to try again. Blocks and the embed in themes you haven’t published don’t count.