Shopify product filters
Filter Shopify product lists by collection, vendor, type, tag, options, price and availability, with URL sync.
Wrap inputs in a filter form and Divhunt fills filter options from your store (collections, vendors, types, tags and options such as color or size, with counts) and re-renders the product list when the visitor changes them. The filter state is written into the URL so filtered views can be shared and survive a reload.
How it works
- Optional templates [shopify-filter-template] with [shopify-filter-value], [shopify-filter-label], [shopify-filter-count].
- 300 ms debounce, URL sync via replaceState. Events shopify:filters:loading/updated, shopify:products:filtered/rendered. window.ShopifyFilters.
- Filter options come from the first 250 collections and 250 products.
When to use it
- Collection page with sidebar filters
- Price range and in-stock filter
Limitations
- Option counts are based on the first 250 products
- Results use the source default of 50 products (no limit sent)
- Set up via attributes; there is no dedicated builder UI for filter roles
Availability
- Works in Designer.
- Included in every plan.
- Limits: Options from first 250 products/collections
How to use it.
- Add a form with shopify-filters attribute
- Add option containers with shopify-filter-options
- Add a product list bound to Shopify Products inside a shopify-products wrapper
Related features.
Browse other features
Designer
Bring your ideas to life with our visual website builder. Drag and drop with ease, or dive into coding when needed.
→AI Studio
Describe it and AI builds it. Every change lands in the same project you can open in the Designer.
→MCP
Connect Claude Code, Cursor or any MCP client and build whole sites with your own agent.
→CMS
Create, organize, and manage your dynamic content with the maximum freedom and flexibility of our visual CMS.
→SEO
Divhunt delivers ultra-fast & structured sites that are good for ranking by default, while offering complete control for customization.
→REST API
Easily link to any REST API endpoint with instant preview and expand your site’s functionality smoother than ever before.
→Plugins
Divhunt offers an open platform for creating plugins to upgrade features, add new capabilities, and simplify building better sites.
→Localization
Localize everything from static pages and CMS content to URLs and metadata, in up to 15 languages with no add-on.
→Interactions
Visually create animations and interactions with a simple, intuitive timeline. Build smooth, engaging experiences without code.
→Custom Files
Manage JS and CSS files with a structure developers love, combining folders and clean organization.
→Memberships
Create plans, decide who sees what and connect it all to your CMS. Build courses, communities or client portals.
→