Filter

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 Storefront filtering.

  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.

If your product collection contains over 1000 products, then filters are hidden. For more information, see Add 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).

A maximum of 1,000 tags can be returned. Refer to this link.

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).

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

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

Last updated