1. Home
  2. Knowledge Base
  3. Barn2 Product Table Order Form for Shopify
  4. Getting Started

Creating and editing product tables in Shopify

You can create as many product tables as you like in our Barn2 Product Table Order Form Shopify app, each with its own products, columns, filters and add to cart options. Keep reading to find out how to create and edit tables, and what every option does.

On the Free plan, you can edit the "All products" table that the app created on install, but you can't create more tables. Upgrade to Standard for unlimited tables.

Creating a product table

  1. Go to Barn2 Product Table → Product tables.
  2. Click the 'Add product table' button at the top of the page.
  3. Use the options below to set up the table.
  4. Click 'Save' in the bar at the top of the page.
  5. Add the table to your store using the Quick Order page or the Product Table block.

To edit an existing table, click its name on the Product tables page.

Title

Give the table a name to help you identify it later, for example "Products in the Clothing collection". Customers won't see this name. It appears on the Product tables page and in the theme editor, where you choose which table to display.

Which products?

Choose which products appear in the table:

  • All products (the default) - The table lists every active product that's published to your Online Store.
  • Select specific products - Click 'Select products' or 'Select collections' to choose what to include. The table lists every product you select, plus every product in the collections you select. This option is only available on the Standard and Development plans.

Columns

The table starts with five columns: Image, Title, Details, Price and Add to Cart. For tips on which columns to use, read our guide to product table columns. To change the columns:

  • Add a column - Choose a column from the dropdown underneath the list, then click 'Add column'.
  • Reorder the columns - Drag and drop the columns in the list. The first column in the list appears on the left of the table.
  • Remove a column - Click the column to open its settings, then click 'Remove'.

Available columns

  • Product ID - The product's ID number in Shopify.
  • SKU - The product's SKU.
  • Title - The product name.
  • Details - The product description. You can choose how many words to show using the 'Description length' setting.
  • Collections - The collections that the product belongs to.
  • Product type - The product type that you've entered in Shopify.
  • Vendor - The product's vendor.
  • Tags - The product's tags.
  • Metafield - Any product or variant metafield, such as the material or dimensions. You can add as many metafield columns as you like. Read more about displaying metafields.
  • Image - The product's featured image.
  • Stock - Shows "In stock" or "Out of stock".
  • Price - The price that the customer will pay. Read more about prices, currencies and B2B pricing.
  • Add to Cart - This column holds the quantity picker. It also has an add to cart button, a checkbox or both, depending on the 'Add to cart method' setting. If you chose to show variants as dropdown lists, then they appear here too.
  • Total - The price multiplied by the quantity the customer has chosen. It updates as the customer changes the quantity.
  • Button - A 'Read details' button linking to the product page.
  • Date Published - The date the product was published.
  • Date Modified - The date the product was last updated.

Column settings

Click any column in the list to open its settings:

  • Column name - Enter a custom heading for the column. Leave it blank to use the default heading.
  • Add a link - Link the contents of the column to the product page. For the Collections column, each collection links to its collection page. This option appears for the Product ID, SKU, Title, Collections and Image columns.
  • Open in lightbox - Image column only. When 'Add a link' is enabled, clicking the image opens a larger version in a lightbox instead of going to the product page.
  • Image size - Image column only. The width and height of the image in pixels, from 20 to 500. Leave it blank to use 70px.
  • Show column heading - Untick this to hide the heading at the top of the column.
  • Column width - Set a fixed width for the column, for example "100px" or "20%". Leave it blank to size the column automatically.
  • Responsive visibility - Choose which devices the column appears on. Read more about responsive visibility.
  • Responsive priority - Choose which columns to hide first when the table doesn't fit on the screen. Read more about responsive priority.

Search and sort

Filter locations

Filters let customers narrow down the table, for example to show only one vendor's products. Read more about adding filters. Tick one or both options to choose where the filters appear:

  • Display filter dropdowns above the table (the default)
  • Show filters in column headers

When you tick either option, a list of filters appears. Choose a filter from the dropdown and click 'Add filter' to add it. The available filters are Product type, Vendor, Collection, Tags, Price range and Availability. Drag and drop the filters to change their order.

Click a filter to change its 'Display name', which is the label customers see on the dropdown. Leave it blank to use the default label.

If you untick both options, then the table won't have any filters. Customers can still use the search box, as long as it's enabled on the Settings page.

Sort by

Choose the order that products appear in when the table first loads: Title, ID, Date published, Date modified or Best selling. Best selling lists your bestselling products first. Customers can then click the column headings to sort the table themselves. Read more about sorting options.

Sort direction

Choose 'Ascending (A to Z, old to new)' or 'Descending (Z to A, new to old)'. The default option, 'Automatic', sorts in ascending order.

Status

The Status option on the right of the page controls whether customers can see the table:

  • Published - The table appears on your storefront wherever you've placed it.
  • Draft - The table is hidden from your storefront. The app keeps its settings, and any theme blocks that display it stay in your theme. Use this to prepare a table before customers see it.

Storefront display

These options are on the right of the page, underneath the Status.

Add to cart method

  • Cart buttons (the default) - Each row has its own add to cart button.
  • Checkboxes - Each row has a checkbox. Customers tick several products, then click one button to add them all to the cart at once.
  • Cart buttons and checkboxes - Each row has both, so customers can add one product or several products at a time.

Read more about add to cart buttons and quantities. You can choose where the button for adding several products appears on the Settings page.

Quantities

Tick this to show a quantity picker for each product. It's enabled by default.

Variants

Choose how to display products that have several variants:

  • Show as dropdown lists (the default) - Customers choose the variant from dropdowns in the Add to Cart column.
  • Show one variant per row - Each variant gets its own row in the table.
  • Read More button linking to the product page - Products with several variants have a button linking to the product page instead of an add to cart button.

Read more about displaying variants.

Variant name format

This option only appears when you select 'Show one variant per row'. It controls what appears in the Title column for each variant:

  • Full (product name + attributes) - For example, "T-shirt - Red / Large".
  • Attributes only - For example, "Red / Large".
  • Product name only - For example, "T-shirt".

Products per page

Choose how many products appear on each page of the table, up to 100. Read more about pagination. Enter -1 to show all the products on a single page. New tables start with the value from the 'Products per page' option on the Settings page.

Managing your product tables

The Product tables page lists all your tables, with the following information:

  • Product table - The table's title. A label might appear next to it:
    • Syncing - The app is sending your latest changes to your store. This takes a few seconds.
    • Not synced - The changes didn't reach your store. Open the table and click 'Retry sync'.
    • Upgrade to unlock - The table is locked on your current plan. See what happens if you downgrade.
  • Products - Which products the table lists.
  • Columns - The table's columns, in order.
  • Views - How many times customers have viewed the table in the last 30 days.
  • Added to cart - How many items customers have added to the cart from the table in the last 30 days.
  • Status - Published or Draft.
  • Actions - Buttons to view the table on the Quick Order page, edit it, duplicate it or delete it.

Use the search box and the status filter above the list to find a table.

You can't delete your last remaining table, because the Quick Order page always needs a table to display. If you delete a table that appears in a theme block, then the block displays your oldest table instead.

Related Articles

If searching the knowledge base hasn't answered your question, please contact support.