Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hey hoping someone can assist in removing part of a html formatted description to update a metafield. We have done a similar thing with tags but struggling with this.
Example part of description:
<div class="Care Instructions">
<p>Cold Wash</p>
<p>Do not tumble dry </p>
<p>Do not iron</p>
</div>
Ideally the flow would update custom.care_instructions metafield to multi line text:
"Cold Wash
Do not tumble dry
Do not iron"
And strip from product description:
<div class="Care Instructions">
<p>Cold Wash</p>
<p>Do not tumble dry </p>
<p>Do not iron</p>
</div>
any help would be appreciated 🙂
I've never tried this command, but maybe use the tag strip_html. See https://shopify.github.io/liquid/filters/strip_html/
Something like {{ product.description | strip_html }}
Let us know if that works for you
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn 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, 2025