Categories, menus and guides
Build a three-level category tree, a matching mega menu, installation guides on product pages and the store pages the theme expects.
Parts catalogs are deep. This guide covers a three-level category tree, a mega menu to match, and installation guides that appear on product pages.
A three-level category tree
A common structure has systems at the top (Brakes), subcategories in the middle (Brake pads) and product types at the bottom (Front brake pads). Each level is a Shopify collection.
- Create a collection for each level. Smart collections work well. Tag each product with its levels, for example
cat-brakes,cat-brake-padsandcat-front-brake-pads, and use a rule such as "Tag is equal to cat-brakes". - Add a collection metafield
parts.subcollections, type List of collections, with Storefront access on. - On each system and subcategory, list the collections one level down.
Category pages show those collections as tiles with their images. A page without subcategories shows its products.
Keep each collection under 5,000 products. Shopify shows no filters on larger collections.
The mega menu
- Open Content, then Menus, and edit the main menu.
- Add systems as top-level items, subcategories under them and product types under those. The menu supports three levels.
- In the theme editor, open the header and choose the mega menu layout. The first-level items open a panel with all their children and an image.
Phones show the same menu as a drawer with the same levels.
Product type and vendor
Set Product type on each product to its system. Search & Discovery can then show per-system counts in one request. Set Vendor to the brand. The brand index and brand filter read it.
Installation guides
Guides are blog posts that appear on product pages for the matching product type.
- Create a blog called Guides, or use one you have.
- Write each guide as an article. Include difficulty, time and tools at the top and numbered steps.
- Tag each article with a product type, such as Brakes.
- Product pages whose product type matches a tag show those guides in the guides block.
Pages
Create these pages in Content, then Pages, and link them in the footer menu: About, Contact, Shipping, Returns, Warranty and Fitment help. If you sell to businesses, add Trade accounts. The Contact page uses the contact page template, which includes a form.
The garage on the home page
The home page hero has the finder. Phones also show a bar with the active vehicle, machine or equipment, and a button to change it. Both come from the same fitment data, so there is nothing more to set up once fitment works.