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

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

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

AndrewLeb
Excursionist
47 0 8

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 52

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
Excursionist
47 0 8

It is. What next?

Screenshot 2023-07-21 122050.png

kgbfashionista
Navigator
345 24 52

In Flow have you selected the right metafield type?

Feel free to like my post if it was helpful at all
AndrewLeb
Excursionist
47 0 8

Which one is right?

kgbfashionista
Navigator
345 24 52

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
Excursionist
47 0 8

I don't see any option for this here:

Screenshot 2023-07-21 124344.png

paul_n
Shopify Staff
1828 199 435

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.