New Shopify Certification now available: Liquid Storefronts for Theme Developers

Can`t get filter metaobject value

Dima34
Shopify Partner
12 0 1

Hi all! 
I want to create metaobject-based color filter with swatch. 
I`ve created a metaobject and setup Search&Discovery to filter by it

Dima34_0-1699460173677.png

Dima34_1-1699460260779.png

Dima34_2-1699460406865.png

Search&Discovery shows that filters` label is a colors` name and a swatch will be "color" field of Color.
On my filter object I can get filter name(color name, in my case) and metaobject gid which it refers to but its is empty. I tried to take a filter object swatch field but it`s empty too.

Dima34_3-1699460997318.png

Dima34_4-1699461051299.png

How can I get a color value?

 

Replies 0 (0)