Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Is it possible to set up a Shopify Flow to combine elements of two tags if they both exist on a product when it is created? For instance: let's say I have a pair of men's 32x34 pants. I want to input the size attributes independently, but I want to see if it's possible to automatically combine them together.
Tag - waist_32
Tag - length_34
I've been able to set up the Shopify Flow Condition to be if tags exist that start with "waist_" and "length_", then... but haven't been able to figure out how to combine these into one single tag. Thoughts?
Solved! Go to the solution
This is an accepted solution.
Yes, it's possible. I'm guessing you don't have experience with liquid?
You may be able to copy and paste this into the Add product tag action:
Yes, assuming you are adding the combo as a new tag, you can write liquid in the tag field to combine them like {{tag1}}-{{tag2}}. Make sure you change the names to use the right variables and hit enter to add it as a tag in the tag action.
Can you just keep part of the tag? Rather than the new tag being "waist_32lengh_34", can I build logic to make it "size_32x34"?
You cannot edit tags. You remove or add them. So you would need to remove the previous tags and add the new tags.
Sorry if that wasn't clear. I'm not looking to edit - I'm just looking to create a new tag based on parts of existing tags. So ideally it would be:
Original Product Tags:
End Product Tags:
Is this possible in Shopify Flow?
This is an accepted solution.
Yes, it's possible. I'm guessing you don't have experience with liquid?
You may be able to copy and paste this into the Add product tag action:
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025