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
By 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, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024