Custom Attributes are product fields in WooCommerce that you can index and search in Doofinder. There is nothing to enable in the plugin for this: once an attribute has a value and is assigned to a product, it reaches Doofinder on its own. It is not indexed by default, though, so you have to add it yourself.
Types of Attribute You Can Index
Standard Product Attributes
These are attributes created via Products > Attributes in WooCommerce. They appear in the admin panel when editing a product and are used for frontend filters and dropdowns.
Examples: Brand, Color, Size, Stock status.
In WooCommerce, when an attribute is added directly from a product page, it does not become a full WooCommerce attribute. It must be done from the attributes page, under Products > Attributes.
Custom Meta Attributes
These are product fields that do not exist in the WooCommerce attribute dropdown. They may come from plugins, custom database entries, or fields injected via code or API.
Examples: ts_product_brand, _upc, doofinder_color_code.
Indexing Custom Taxonomies
Custom taxonomies reach Doofinder as product attributes, and are indexed with the steps below. See Indexing Custom Taxonomies for how to set them up in WooCommerce first.
Indexing the Attribute
- In the Doofinder Admin Panel, go to Configuration > Search Engines > click on "See indices" > Indices.
- Scroll down to Additional indexed fields and open the Select the fields to be indexed dropdown.
- The name in the dropdown does not always match the name in WooCommerce. Attributes can appear with a
pa_prefix, with ameta_prefix, or with no prefix at all.
- The name in the dropdown does not always match the name in WooCommerce. Attributes can appear with a
- Choose the attribute, press Save and reindex your catalog, so it is picked up.
See How To Index Your Feed for the detail. Once indexed, you can set it up as a filter under Search > Layer Settings > Filters.
This needs an up-to-date plugin. On older versions the attributes are still selected in the plugin settings, under Doofinder > Data Configuration.