Welcome to WebSensePro! In this guide, we’ll take you through adding custom and default filters to your Shopify collection page using the latest Shopify Dawn theme update (15.0.0). Follow these steps to enhance your store’s navigation and improve customers’ shopping experience.
Step 1: Install the Shopify Search and Discovery App
Installing the Shopify Search and Discovery app is the first step in adding filters to your collection page. This app is free and available directly from Shopify.
- Go to your Shopify admin dashboard.
- Navigate to Apps.
- Click on Customize your store.
- Search for “Shopify Search and Discovery” and install the app.
Step 2: Add Basic Filters (Price and Availability)
With the app installed, you can start adding basic filters such as price and availability.
- Open the Shopify Search and Discovery app.
- Click on Filters.
- Click on Add Filter.
- Choose Availability and click Save.
- Repeat the process for Price.
Verify Filters
- Go to your collection page.
- Refresh the page to see the newly added filters.
- You should see filters for availability (in stock/out of stock) and price.
Step 3: Explore and Add Additional Filters
You can add more filters to further refine your collection page, such as category, product type, tags, and product options (variants).
- Open the Shopify Search and Discovery app.
- Click on Filters and then Add Filter.
- Choose from the available options like Category, Product Type, Tags, etc.
Adding Variant Filters (e.g., Color)
- Go to Product Options in the filter settings.
- Select a variant option like Color.
- Click Save.
- Verify by refreshing your collection page to see the color filter in action.
Step 4: Create Custom Filters with Metafields
For more advanced filtering, you can use Metafields to create custom filters. In this example, we’ll create a filter for product material.
Create a Metafield
- Go to your Shopify admin dashboard.
- Click on Settings.
- Select Custom Data and then Products.
- Click on Add Definition.
- Name your Metafield (e.g., Material).
- Choose Single Line Text as the type.
- Enable the option to use this Metafield as a filter.
- Click Save.
Add Metafield Values to Products
- Go to Products in your Shopify admin.
- Select a product to edit.
- Scroll down to the Metafields section.
- Add a value for the Material Metafield (e.g., 100% Cotton).
- Repeat for other products.
Add Metafield Filters to the Collection Page
- Open the Shopify Search and Discovery app.
- Click on Filters and then Add Filter.
- Choose Metafields and select the Material Metafield you created.
- Click Save.
Verify Custom Filters
- Go to your collection page.
- Refresh the page to see the custom material filter in action.
Conclusion
By following these steps, you’ve successfully added both default and custom filters to your Shopify collection page, enhancing your store’s usability and customer experience. Be sure to subscribe to our channel for more Shopify tips and tutorials. If you’re new to Shopify, check out the link in the description to sign up for just $1 a month!