Can't locate metafield in Shopify Flow

AndrewLeb
Tourist
44 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 44

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
44 0 2

It is. What next?

Screenshot 2023-07-21 122050.png

kgbfashionista
Navigator
345 24 44

In Flow have you selected the right metafield type?

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

Which one is right?

kgbfashionista
Navigator
345 24 44

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
44 0 2

I don't see any option for this here:

Screenshot 2023-07-21 124344.png

paul_n
Shopify Staff
936 127 223

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.