Why can't Shopify Flow locate metafield by its key?

Why can't Shopify Flow locate metafield by its key?

AndrewLeb
Tourist
47 0 2

Why can't the flow find this metafield by its KEY?

Screenshot 2023-07-21 112350.png

Screenshot 2023-07-21 112734.png

Replies 7 (7)

kgbfashionista
Navigator
345 24 47

Make sure it`s product metafield, not product variant metafield.

 

Then, check if it is enabled for store front.

Feel free to like my post if it was helpful at all
AndrewLeb
Tourist
47 0 2

It is. What next?

Screenshot 2023-07-21 122050.png

kgbfashionista
Navigator
345 24 47

In Flow have you selected the right metafield type?

Feel free to like my post if it was helpful at all
AndrewLeb
Tourist
47 0 2

Which one is right?

kgbfashionista
Navigator
345 24 47

Single line text, if you choose to only store single value. If multiple values, then List of single line strings

Feel free to like my post if it was helpful at all
AndrewLeb
Tourist
47 0 2

I don't see any option for this here:

Screenshot 2023-07-21 124344.png

paul_n
Shopify Staff
1300 148 297

If those first 2 conditions you are checking metafieldDefinitions, which is not the same thing as metafields. You need to change those 2 to product / metafield / key and product / metafields / namespace.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.