Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
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
Hi Guys,
I run an auto parts store.
Products are linked to a vehicle via a metaobject and then made "accessible" to site search and filters when flow passes that data into separate metafields
Hi would love any advice. I can't PM you (your PM settings must not be on). Please msg me directly when you've got that setup
Alternatively if you could steer me in the right direction in this public forum (even if only general principles) perhaps that advice could benefit someone else in future also...
To parse values from a single string and form a new string, it’s convenient to use the Run code action. If you don’t have programming skills, an AI like Anthropic Claude or ChatGPT should be able to handle such a script effectively.
Not sure what type of metafield you have, but something like this in liquid might work when setting that metafield:
{% capture this_year %}{{ "now" | date:"%Y" }}{% endcapture %}
{% capture first_year %}{{product.myMetafield.value | first}}{% endcapture %}
{% for year in (first_year..this_year) %}
{{ year }}
{% endfor %}