Set A Shopify Order Metafield From Line Item Properties
This workflow allows you to transfer line item properties, such as those for customized products, into order metafields, creating a cleaner and more organized backend workflow. Simplify your data management and enhance the efficiency of your order processing by consolidating custom properties into easily accessible order metafields. Streamline your operations and maintain a tidy backend with this effective automation solution.
Topics:
Watch the demo
Workflow option 1: Single line item property
If there’s just a single line item property you care about out of potentially multiple line item properties, this workflow includes a custom code step that will make it a little easier to just grab a single property at a time:
And then here’s what your set metafield step will look like:
Workflow option 2: Loop over all line item properties
If you have a bunch of line item properties and want to set all or many of them as order metafields, here’s an easier way to do that:
And you could, of course, combine that with a filter to include or exclude specific properties as well.
Questions about this workflow? Contact our partner:
Kalen Jordan
MESA Service Partner