1. Documentation /
  2. Use Case: Enhancing Your Shopping Experience: Utilizing Product Filters to Effortlessly Search and Shop for Your Favorite Brands

Use Case: Enhancing Your Shopping Experience: Utilizing Product Filters to Effortlessly Search and Shop for Your Favorite Brands

Scenario

Creating a customer-centric store where shoppers can easily filter and browse products based on brand, size etc providing a seamless and personalized shopping experience.

Requirements

↑ Back to top
  1. A WordPress site running the WooCommerce plugin
  2. WooCommerce Brands extension to display and organize products by brand, making it easier for customers to find and purchase products from their favorite brands.
  3. Product Filters for WooCommerce extension allows for the creation of advanced product filtering options, empowering customers to efficiently and effortlessly search for products that align with their individual preferences and requirements.

Setup

↑ Back to top

Create the brands on your site. 

  1. Go to: WooCommerce > Products > Brands. The interface looks and works similar to adding categories and tags — the form on the left lets you add a brand, which are then displayed on the right.
  1. Enter a Name and Description. Image is optional. Brands can be hierarchical, specifying a ‘parent’ with ‘child’ brands under it.
  2. Select Add New Brand to save.

Assigning a brand to a product

That being said, assigning brands to products is the same process as adding categories and tags.

  1. Go to: WooCommerce > Products.
  2. Select a product to assign a brand.
  3. Find the Brands box in the right sidebar.
  4. Tick the box of brands you wish to assign to the product.
  5. Update or Publish to save changes.

Build the Product Filter

There are two panels in the editor.

  • The left side shows a list of elements.
  • The right side contains Settings for current element or project settings. By default, right panel contains project settings. To save the project, click Save on elements panel.
  1. Go to: WooCommerce > Filters > Add New. Name the project title.
  1. On the left side click Add Element > Checkbox list
  1. Once you add the Checkbox list element you will see the settings for the checkbox field. Add the title and URL key of the filter. To filter Brands you need to make sure to select the Source of options as Taxonomy and Taxonomy as Brands.
  2. You can add more elements like Categories, Price Slider etc based on your preference.

Assign the Product Filter for the archive pages

  1. Go to WooCommerce > Settings > Products > Filters and assign the filter that we just created as Filters for product archive.

Add the Product Filter block in the widget

  1. Go to Appearance > Widgets, click on the + to add a new block
  2. Search for the Product Filter block and select the Product Filters block from the list