Shopify's collection filter is common to all pages. It is convenient because it automatically hides items that do not correspond to the products listed, but there are still cases when you want to hide specific filters for each collection. Here is an example of how to implement it using meta fields.
1
/
of
1
Published:2023.12.07
Example of setting up Shopify to use metafields to hide filters for each collection
Example of setting up Shopify to use metafields to hide filters for each collection
Applications
Applications
- Collection information management and editing
How to implement
How to implement
- LIQUID
Share
After making a purchase (all items are ¥0), you will be able to view the sample code.
Couldn't load pickup availability
If you have already made a purchase, please login here.
Sample Codes
Test Theme :Dawn/Rise 15.2.0
Edit two parts of the code in the collection filter section "facets.liquid"
