Can't locate metafield in Shopify Flow

AndrewLeb
Tourist
42 0 1

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
336 23 42

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
42 0 1

It is. What next?

Screenshot 2023-07-21 122050.png

kgbfashionista
Navigator
336 23 42

In Flow have you selected the right metafield type?

Feel free to like my post if it was helpful at all
AndrewLeb
Tourist
42 0 1

Which one is right?

kgbfashionista
Navigator
336 23 42

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
42 0 1

I don't see any option for this here:

Screenshot 2023-07-21 124344.png

paul_n
Shopify Staff
Shopify Staff
606 97 155

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.