Metaobjects indexing is supported when indexing from Shopify to Algolia.
To index metaobjects:
- Add a metafield with the
namespaceandkeyof a metafield that references a metaobject. - In the Type drop-down menu, select Metaobject Reference.
- Click Fields to index to open the field selection modal.
- Select the metaobject fields you want to include in your Algolia records. At least one field must be selected.
- Click Confirm, then click Save.
Variant-level metaobjects
To index metaobjects at the variant level, you must also create the same metafield at the product level.
The
namespaceandkeymust match exactly-
Add the metafield to both:
Product level
Variant level
Then repeat steps from above to add them in the Algolia Shopify app in the Indexing tab.
If both product and variant values exist, variant values override product values.
For full information on how to index metaobjects, refer to our documentation on Metafields.