Bonnita Documentation
Open a Store for FREEOther ThemesBuy Theme
  • Greeting
  • Changelog
  • Full Theme Features in Bonnita
  • Installation
    • Install Theme
    • Install App
      • Shopify Search & Discovery
      • PageFly Landing Page Builder
      • Growave ‑ Product Reviews, Loyalty, Wishlist
      • Loox Product Reviews & Photos
      • Shopify Product Review
      • Snapppt - Instagram
      • Avada - SEO & Speed Booster
  • Basic Configuration
    • Customer Registration
    • Shipping Rates
    • Navigation
    • Online Store 2.0
      • Color Gradient
      • Dynamic Source
  • Theme Settings
    • Multiple Layouts
    • Typography
    • General
      • Favicon
      • Wishlist
      • Terms And Conditions Checkbox
      • Swatch / Customization Option
      • Slider Navigation Dots, Arrows and Page Pagination
      • Trust Image
      • Social Share Buttons
      • Dynamic Browser Tab Title
      • View Documention
      • Customer Login
    • Product Card
      • Product Media
      • Product Badges/ Labels
      • Product Swatch
      • Product Action
      • Product Review
      • Product Quick Shop
    • Multiple Languages
    • Multiple Currencies
    • Multi-Level Categories
    • Quick Search
    • Quick Cart
    • Quick View
    • Calculator Free Shipping Message
    • Someone Purchase
    • GDPR Popup
    • Newsletter Popup
    • Recently Viewed Popup
    • Before You Leave
    • Notify Me: Out Of Stock
    • Ask An Expert
    • Social Media
    • Color (Products)
    • Colors (General)
    • Animation
    • Custom CSS
    • Custom JS
    • Checkout
  • Header
    • Header For Desktop
      • Dropdown / Advanced Mega Menu
      • Label For Menu
    • Header For Mobile / Tablet
      • Layout 01
      • Layout 02
    • Mobile Menu
  • SECTIONS
    • Section On Every Page
    • All Sections in Theme
      • Featured Collection
        • Collection
      • Brand Slider
        • Image
      • Brand Tab
        • Tab Item
      • Custom Liquid
      • Custom Text
      • Customer Review
        • Review Settings
      • Featured Blog
      • Google Map
      • Image Banner
        • Large Image Settings
        • Small Image Settings
        • Custom Image Settings
        • Special Image Settings
      • Instagram
        • Instagram Settings
      • Product Block
        • Banner
        • Categories
      • Product Tab
        • Product Tabs Settings
        • Banner Settings
      • Rich Text
      • Slideshow
        • Image SlideShow
        • Video Slider
        • Banner
      • Spotlight Block
        • Small Image
        • Large Image
      • Video
      • Custom Service Block
        • Settings Block
      • Policies Block
        • Text
  • Collections List Page
    • Demo & Settings Data
    • Collections List Section
      • Custom Collection
      • Categories
      • Product Block
      • CMS Image
      • CMS Custom Text
  • Collections Page
    • Demo & Settings Data
    • Collection Section
      • Sidebar
      • Filter
    • Collection Blocks
      • Categories
      • Filter
      • Product Block
      • CMS Image
      • CMS Custom Text
      • Banner
  • Product Page
    • Product Section
    • Product Information
      • Blocks Settings
        • Breadcrumb
        • Title
        • Meta
        • Short Description
        • Information
        • Price
        • Vendor
        • Variant Picker
        • Variant Metafield
        • Quantity
        • Perks
        • Buy Buttons
        • Customers Viewing Function
        • Trust Image
        • Description
        • Custom Tab
        • Custom Block
        • Review Tab
        • Customization Property
        • Policies Block
        • CMS Image
        • Categories
        • Custom Liquid
        • Complementary Products
      • Product Media
      • Product Tab
      • Product Variant
      • Size Chart
      • Short Description
      • Dynamic Checkout Button
      • Compare Color
      • Sold In Last
      • Customers Viewing
      • How To Set Up Product Property By Metafields?
    • Product Recommendations
    • Recently Viewed Products
    • How To Setup Pre-Order Product?
  • Blog
    • Blog
  • Article
    • Article
  • Page
    • How To Create A Page?
    • Wishlist Page
    • Contact Us Page
    • About Us Page
    • Bulk Editor
    • Brands
    • Portfolio
    • FAQs
    • Other Pages
      • 404 Page
      • Search Page
  • Knowledge Base
  • Theme Support
Powered by GitBook
On this page
  • Dynamic Filter
  • Filter By Tags
  • Set up filter options in Theme Editor
  • Add tags to your products
  • Set up product tags by Bulk Editor
  • Custom style for Filter option
  1. Collections Page
  2. Collection Section

Filter

PreviousSidebarNextCollection Blocks

Last updated 2 years ago

About the filter, you can choose Dynamic filter (Storefront filtering) from Shopify OS 2.0 OR Filter by tags.

Dynamic Filter

Dynamic filter (Storefront filtering) allows merchants to add filters to their collection and search results pages based on the following product and variant attributes: Availability, Price, Product type, Vendor, Variant options and Metafields. More information, see .

  1. From your Shopify admin, go to Online Store -> Themes.

  2. Find the theme that you want to edit, and then click Customize.

  3. Choose Collection from the dropdown window. After that, scroll to Filter.

  4. Choose Type as Storefront Filtering.

To select the filters that will appear on your collection pages:

  1. From your Shopify admin, go to Online Store -> Navigation.

  2. Scroll down to Collection and search filters.

  3. Click Add filters.

  4. Select one or more filter options from the list of available filters.

  5. Click Done to save your product options.

  6. Click Save to update your collection and search filters.

Filter By Tags

  1. From your Shopify admin, go to Online Store -> Themes.

  2. Find the theme that you want to edit, and then click Customize.

  3. Choose Collection from the dropdown window. After that, scroll to Filter

  4. Choose Type as Tag Filtering (Filter By Tags).

Set up filter options in Theme Editor

  1. From your Shopify admin, go to Online Store -> Themes.

  2. Find the theme that you want to edit, and then click Customize.

  3. Choose Collection from the dropdown window. At Main Collection, click add block "Filter"

  4. Enter heading and list tags.

Add tags to your products

  1. From your Shopify admin, go to Products -> All products.

  2. Find and choose the product that you want to edit.

  3. In the Organization sections, please add tags for the product (using a comma to separate different tags).

Required condition: The tag you add in Theme Editor and the tag you add to your products must be the same. Take note for lowercase and uppercase. If they are different, they will not show.

For example: If you would like to filter by color and price, your products have below options: Red color, White color, Blue color, Black color, Under $100, $100 - $200, Above $400. Then you need to fill in Theme Editor all these options.

You can use below instruction to set up product tags by Bulk Editor to edit easily for many products

Set up product tags by Bulk Editor

  1. From your Shopify admin, go to Products -> All products.

  2. Click More filters. After that, find and choose the collection that you want to edit.

  3. Select number of products that you want to edit and click Edit products.

Custom style for Filter option

Bonnita offers 3 styles for Filter option: Checkbox, Swatch or Rectangle. If you would like to use Swatch or Rectangle style, please follow instructions below.

  1. From your Shopify admin, go to Online Store -> Themes.

  2. Find the theme that you want to edit, and then click Customize.

  3. Choose Collection from the dropdown window. After that, scroll to Filter at Main Collection

  4. Enter Filter Option Name for Swatch style in Swatch Style For Filter text box (or enter Filter Option Name for Rectangle Type for Filter).

With Color swatch filter option, if your products have custom color/special color, please choose Swatch Type as Basic Color (Use Color name or Image With PNG Format).

After that, please upload an image with the same name as the variant color name (Go to Settings → Files -> Upload Files).

Your image must be in PNG format

Naming convention: Lower cap and use a hyphen "-" to replace white space if your color image name has the white space.

For example: your special color will have this name: "Holo Rainbow", you will upload the png image is: holo-rainbow.png

If your product collection contains over 1000 products, then filters are hidden. For more information, see .

A maximum of 1,000 tags can be returned. .

The default theme uses Color Board from the for the Color variant option. If the color name doesn't exist on the , it will not display on your site.

Add storefront filtering
Refer to this link
w3schools website
w3schools website
Storefront filtering