Filter By Attribute

Written by the Divi Engine Documentation Team

Introduction

Follow these steps to filter your products by attribute

Step 1: Create and assign product attributes

Create and assign product attributes. 

Step 2: Add Product Loop & Filter Post Modules

Head over to the page of your choice and add the Filter Posts Module and Product Loop Module.

Step 2: Customize Product Loop Module

Customize the Product Loop Module. The most important settings to get your filter working are the Post Type, Loop Style, Loop Layout and Is Main Loop. 

Please click HERE to learn more about this module and how to customize it for your filter.

Step 3: Add Attribute Filters

In the Filter Post Module, you will see the ability to add Filter Items. Inside a new Filter Item, select Product Attributes and your attribute in the Main Options section. If you would like to show your attributes as swatches then enable the button provided. 

Please know that Divi BodyCommerce's Filter Posts Module is the same as the Filter Post Module in the Divi Ajax Filter plugin. Click HERE to learn more about this module and how to customize it for your filter.

More Support?

Please email us at [email protected] if you are unable to get Divi BodyCommerce working.


Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.