Skip to content

Changing the product grid and its filters ​

Every grid of products is the Products Archive widget: the shop, its category pages and the row of related products on a product page. On the shop it sits in the Shop Archive template.

How to access ​

Elementor → Theme Builder → Products Archive → Shop Archive

Open the template as described in Editing headers, footers and other templates and click the grid. Its settings open in the panel on the left: see Changing a widget's settings.

Choosing which products a grid shows ​

Products Archive widget → Content → Query → Source

Source decides which products the grid lists
SourceWhat the grid shows
Current QueryThe products of the page the visitor is on: the whole shop, one category or a search. The Shop Archive template uses it.
Related Products, UpsellsThe products that go with the product on screen. They belong in the Single Product template.
Latest Products, On Sale, Featured, Best Selling, Top RatedA list from the whole shop. It works on any page, the homepage included.

With every source except Current Query, Items to Show under it sets how many products the grid lists.

With Current Query, the number of products on one page is WooCommerce's. Go to Appearance → Customize → WooCommerce → Product Catalog: a page holds Products per row times Rows per page products.

Changing the number of columns ​

Products Archive widget → Layout → Grid → Columns

Columns sits in the Grid section of the Layout tab

▶️ Step 1. ​

Open the Layout tab and the Grid section, and choose a number from 1 to 4 in Columns. The device icon beside the label sets another number for tablets and for phones.

▶️ Step 2. ​

Click Publish, or Update on a template that is already published.

Visitors can change the columns themselves with the switcher at the end of the toolbar. It is Column Switcher in the Toolbar section, and Available Columns under it lists the numbers it steps through.

Can the shop load more products on scroll? ​

Products Archive widget → Content → Pagination → Pagination

Yes. The grid has three ways to move to the next products:

  • Numbered: page numbers under the grid.
  • Load More: a button that adds the next products under the ones on screen. The demo uses it.
  • Infinite Scroll: the next products arrive by themselves when the visitor reaches the end of the grid.
Pagination set to Infinite Scroll

▶️ Step 1. ​

Open the Pagination section of the Content tab and choose Infinite Scroll in Pagination.

▶️ Step 2. ​

Click Publish, or Update.

With Load More, Label under the list holds the text of the button. %d stands for the number of products the next click loads, as in Load %d More. Label / End is the text once every product is on screen, and there %d stands for the number of products in the list, as in Showing All %d Products.

Changing the category filters and the sorting ​

Products Archive widget → Content → Toolbar

Toolbar Layout switches between the plain toolbar and the Filter Bar

Toolbar Layout has two choices. Standard shows the number of results and the sorting list. Filter Bar, the one of the demo, adds the row of categories and the column switcher:

  • Category Filters shows or hides the categories. All Label is the text of the first link, and Category Order sorts the rest.
  • Sorting shows or hides the sorting list.
  • Column Switcher shows or hides the switcher.

Adding a price filter ​

Appearance → Widgets → Shop Sidebar

The toolbar filters by category only. A filter by price, rating, attribute or stock is WooCommerce's Product Filters block, and it goes into the Shop Sidebar widget area. The grid shows that area beside the products while Sidebar, in the Sidebar section of the widget, is set to Shop Sidebar, as it is in the demo.

The Product Filters block in Shop Sidebar, with the add button and Update marked

▶️ Step 1. ​

Go to Appearance → Widgets and open Shop Sidebar.

▶️ Step 2. ​

Click +, search for Product Filters and click the block. It arrives with a price slider and with lists for rating, attributes, categories and availability. Delete the ones you do not need.

▶️ Step 3. ​

Click Update.

The filters now show beside the products. Moving the price slider reloads the shop with that price range, and the category links of the toolbar keep it.

The price slider beside the grid of the shop