Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hello,
I created a birthday field in a register form.
This field automatically feeds a customer tag e.g. "date-of-birth: 05/12/1983" .
To make better use of this data, I'd like to convert this tag into a "facts.birth_date" metafield with a Flow.
I've created my Flow but I don't know what information to enter in the fields below in order to transpose the date entered in the 05/12/1983 tag into the metafield.
- Metafield namespace
- Key
- Value
- Type
Best
I think you should know how to enter namespace, key, and type based on that `facts.birth_date` metafield ... that info should all be available from the Admin.
To translate the value field, you can use liquid or the Run code action.
The date needs to be formatted in ISO8601 format. The shows help on how to convert dates https://shopify.github.io/liquid/filters/date/
To get that date out of your tag, you need to parse out the date-of-birth: part. You can use something like:
{{ tagname | remove:"date-of-birth: " | date: "%Y-%m-%dT%H:%M" }}
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By 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, 2024