The shop and its filters
The shop, product category and search results pages use WooCommerce's own blocks, styled by LanternWP: product filters, sorting, the number of results and Load more under the products. The products show in your store's product card, three to a row beside the filters, and as many rows to a page as Rows on a catalog page in the LanternWP panel sets (Shape, labels and spacing). Checking a filter, changing the sort order or removing a chip refreshes the products in place, without reloading the page.
Filters
The filters start with your categories as links, in the order of Products → Categories, each with its number of products. A category without products is left out, your default category (Uncategorized) too; once it has products, it shows like any other, so no product is out of reach. Only products your catalog shows count: a category that holds nothing but products hidden from it (Catalog visibility set to Search results only or Hidden), or out of stock while your store hides those, is left out as well. Your shop page comes first, with the number of all your products, so a shopper on a category page can get back to everything; it takes the title of the page chosen in WooCommerce → Settings → Products → Shop page and shows in bold on the shop itself. The breadcrumbs lead through it too (Breadcrumbs). On a category page the list opens that category's branch: the category in bold, its subcategories under it, and the categories above it; the other branches stay closed. Search results leave the categories out, since a link would leave the search. The list is WordPress's Terms List block: select it in the Site Editor to hide the numbers, show only the top-level categories or show them in one flat list. Below it come WooCommerce's Product Filters blocks: attributes such as color and size, price, rating and stock. On phones the categories and the filters open from a button over the products.
Each attribute's filter shows its values as chips or as a list with counts. Chips suit short values a shopper scans in a row, such as clothing or shoe sizes, volumes or capacities. Choose it on the attribute: go to Products → Attributes, edit the attribute and set Filter style to List or Chips. A new attribute shows a list until you choose, and the list of attributes marks those set to Chips. Chips come first in the filters, after the categories. The attribute decides everywhere, also in a template you saved: the filter's own Display Style in the Site Editor does not change it, and the filter's settings there say so, with a link to the attribute.
A long list shows its first options and a Show 8 more button under them, which opens the rest and then reads Show less. Each attribute's list or chips show their first 10 options, and the categories their first 10 top-level categories. A list with only one or two more shows them all, since a button would save no space. Options a shopper has checked always show, and so does the category whose page this is with its branch. To change the number, open Product Catalog in Appearance → Editor → Templates, select the list or chips of a filter, or the Terms List of the categories, and set Show first under Show more in the block's settings. A filter shows at most 15 before the button; the categories any number, and 0 shows them all. The editor shows the list cut where the store cuts it. Show first is for the catalog's filters: the options on a product page keep WooCommerce's own list.
To change which filters show and their order, go to Appearance → Editor → Templates, open Product Catalog and select the filters. If you removed them, add them back from the Catalog category.
The top of the page
The top of the shop, category and search results pages, the breadcrumbs, title, description and category chips or the search and its views, is filled in from the store for each page, as is the top of the order confirmation page. In the Site Editor these sections are captioned Filled in from the store and locked for editing: a change inside them would not show on the store. Write a category's title and description in Products → Categories; the description shows under the title, in the filter bar's band and in the showcase. Display type on a category is WooCommerce's setting for classic themes, so LanternWP leaves it out: the category chips and the filter bar's tabs show a category's subcategories.
When nothing matches
When the chosen filters match no product, the page says so and offers Clear all filters, which keeps the sort order and the search.
Load more or page numbers
Under the products, the shop shows how many of them show, such as "Showing 9 of 21 products", a bar and a Load more button. The button adds the next page's products under the ones shown, without reloading the page, and the focus moves to the first new product. When every product shows, only the count is left; a list that fits on one page shows neither. The page's address keeps the count (?shown=18), so reloading the page, sharing its link or coming back from a product shows the same products, scrolled where the shopper was. Filters and sorting keep it too.
To show page numbers instead:
- Go to Appearance → Editor → Templates and open Product Catalog.
- Select the product grid and, in its settings, select Pagination in Content.
- Under Pagination, set Show more products with to Page numbers, and select Save.
The editor shows the count and the button, or the page numbers, as the store does. Load more works in a product list that shows the page's products, like the shop's; in a product list with its own query, such as a home page row, and in a list of posts, such as the journal, the setting says so and the list keeps its page numbers.
A list for a large catalog
Product catalog as a list shows one product per row: its picture, then its name, rating and key specifications, then a buy column with the price, the stock and an add to cart button. It suits a large catalog whose shoppers compare specifications. Choose it as below, in Design. Search results have their own template, Product Search Results, whose Design offers Product search results as a list the same way.
A showcase for a small catalog
A store with a few dozen products can show them all on one page instead: Product catalog as a showcase gives every category a section with its name, description and number of products beside large product cards, two to a row, without filters, sorting or pages. On the shop page the sections are your top-level categories, each with the products of its subcategories too; your default category gets one as well while it has products; on a category page, its subcategories, or the category itself when it has none. Search results keep the product grid.
- Go to Appearance → Editor → Templates and open Product Catalog.
- In the template's settings, open Design and choose Product catalog as a showcase.
- Select Save.
To go back, choose Product catalog the same way, or reset the template. Write the categories' descriptions in Products → Categories: the showcase shows them beside their products, in the order of that screen. The sections are filled in from the store for each page, so a category you add later gets its section; in the Site Editor the showcase is captioned Filled in from the store and locked for editing, and a tag, attribute or brand page shows the product grid in its place.
A filter bar
Product catalog with a filter bar opens a category on its picture across the page, under the header, with the category's name set large and its description, then its subcategories as tabs. The filters sit in one row of buttons above the products, each opening its options in a panel; the count and sorting end the row, and the products fill the page's width. Set each category's picture as its thumbnail in Products → Categories. The shop page shows its title beside the pictures of the first three top-level categories that have a thumbnail, in the order of Products → Categories (two on phones): a category without one leaves its place to the next, so drag the categories you want there to the top and give them a thumbnail. A category without a picture, a tag, and a shop whose categories have none show a lower band in your palette's color with the title alone. The Site Editor shows the shop's band with its pictures. On phones the filters open full screen, as in the standard catalog. Choose it in Design as for the showcase. Search results have their own template, Product Search Results, whose Design offers Product search results with a filter bar the same way: the search's title and field, then the same row of filters above products that fill the page's width. Importing Tessel with LanternWP Companion chooses both; a store that imported it before LanternWP 1.0.2 keeps the product grid in its search results until you choose Product search results with a filter bar in Product Search Results yourself.
Category tiles and a set
Product catalog with category tiles suits a store whose departments are rooms or uses, such as Living Room and Bedroom. A category page opens with its title and description side by side and its subcategories as picture tiles, each its thumbnail over its name, without a product count; on phones the tiles are one row that scrolls sideways. The shop page shows the top-level categories as tiles. The filters stay beside the product grid.
When the department has a set, the grid shows it as a tile across two products in its second row, with its photo, how many items it holds and their price, as in the header's panel, and Shop the set, which opens the set on the page of its first product that shows it (a product page shows one set, see Show sets). While no product page shows the set, the tile is not a link. The set is the one chosen for the department in the header's menu, in the menu item's Set in the panel (Mega menu), so the header's panel and the category page always show the same set; a subcategory shows its department's. The set needs LanternWP Companion with Product sets on. To make room for it, the page holds two products fewer than Rows on a catalog page gives: with four rows, ten products and the set fill four rows of three, where the shop page shows twelve. Filtered lists and later pages show only products, so a later batch of Load more may end on a part row.
- Go to Appearance → Editor → Templates and open Product Catalog.
- In the template's settings, open Design and choose Product catalog with category tiles.
- Select Save.
Set each category's thumbnail and the order of the tiles in Products → Categories; a category without a thumbnail shows an empty frame with its name. Search results keep the product grid.
Category, tag, attribute and brand pages
These pages follow Product Catalog until you change their own template: Products by Category, Products by Tag, Products by Attribute or Products by Brand in Appearance → Editor → Templates. Each of them offers the catalog's designs in Design, so a category page can keep the same layout as the shop, or take another one. Product catalog is the theme's own.