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

Pagination and products per page in Shopify product tables

When a product table has lots of products, our Barn2 Product Table Shopify app splits them into pages. You can choose how many products appear on each page, and how customers move between pages.

Products per page

There are two places to set the number of products per page:

  • For each table - Edit the table and use the 'Products per page' option on the right of the page.
  • For new tables - The 'Products per page' option on the Settings page sets the starting value for every new table. The default is 15.

You can show up to 100 products per page. Enter -1 to show all the products on a single page, which works well for short quick order forms.

Pagination options

These options are on the Settings page (Barn2 Product Table → Settings), in the Pagination section. They apply to all your tables.

  • Products per page control - Adds a dropdown so customers can choose how many products to show, as in "Show 15 per page". Choose whether it appears above the table, below it (the default), in both places, or not at all.
  • Pagination buttons - Choose whether the buttons for moving between pages appear above the table, below it (the default), in both places, or not at all.
  • Pagination type - Choose which buttons to show. The options are 'Previous and next', 'Previous, next and page numbers', 'Page numbers' (the default), 'First, previous, next and last', and 'All buttons and page numbers'.
  • Load more products as the customer scrolls - Tick this to replace the page buttons with infinite scrolling. More products appear as the customer reaches the bottom of the table.

The 'Number of products found' option in the Product search section shows a count such as "Showing 1-15 of 40", so customers know how many products there are.

Scrolling back to the top

When a customer moves to another page, the table scrolls back to the top. If your theme has a sticky header that covers the top of the table, enter the header's height in pixels in the 'Scroll offset' option on the Settings page.

Related Articles

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