Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
So i created a workflow where i want a custom integer customer metafield to update its value by 1 (or whatever number)
however i cant seem to make it work. if i put something like {{ 1 | plus: 1}} it ofcourse always will set the values to two. something like {{ value | plus: 1 }} returns an error. is there something obvious i am missing ? any help would be appreciated
Solved! Go to the solution
This is an accepted solution.
Start by sharing the error that you are getting. Do watch out for excess white space by using hyphens like
{{- foo -}}
For accessing the current value, click "add a variable", and choose order / customer / metafield. Then choose the metafield to set up an "alias". Docs are here on this new feature: https://help.shopify.com/en/manual/shopify-flow/reference/metafields#get-metafield-data
Thanks for the quick help, i did it like this now, the workflow suceeds but the value doesnt actually change.
This is an accepted solution.
that was it, seem to have changed it to test something but forgot to change it back, thanks for the super quick help!
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024