Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Can`t get filter metaobject value

Can`t get filter metaobject value

Dima34
Shopify Partner
12 0 2

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)