Repository navigation
Categories
Categories make the shop's menu. They're optional: a shop with a handful of products doesn't need any.
Find them under Products → Categories.
A category can go inside another, up to three levels, for example Cars › SRX2 › Spares. In the shop:
- On a computer, the categories are in a card of their own down the left of the shop, beside the products, in your theme's card style. It lists every top-level category and the ones inside the category you're in; a shop with 15 categories or fewer shows them all. It stays in view as you scroll.
- On phones and tablets, and if you choose Along the top under Settings → Shop, the categories are a menu along the top instead: one with others inside it opens a dropdown listing them (and the ones inside those), and on a phone the menu folds behind a Categories button with the lists opening in place.
- A category's page shows everything in it and in the categories inside it, with buttons at the top to narrow it down.
- Breadcrumbs show the whole path: Home › Shop › Cars › SRX2 › Spares.
A category only appears in the shop once it (or one inside it) has something for sale.
On Products → Categories:
- Add a category: type its name and choose where it goes in: top level, or inside another category.
- Each category's row lets you rename it and change where it goes, then Save. The shop won't let a category go more than three levels deep, or inside itself.
- The arrows move a category up or down among its neighbours. The order is the order of the shop's menu.
- Products shows how many products are in each category and the ones inside it; click it to see them in the product list.
Two categories can share a name in different places (every car can have its own Spares). Menus in the admin show the full path, like Cars › SRX2 › Spares, so you can tell them apart.
Deleting a category never deletes products. The categories inside it move up a level, and its products move to the category it was in (or become uncategorised if it was at the top).
Each product has one main category: its breadcrumb and the one its page links back to. It can also show in others. On the product's page, open Also show in and tick them. That's how a part that fits several cars shows under each car.
A customer group rate set on a category also covers the categories inside it, unless one of those has a rate of its own.