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
User | RANK |
---|---|
3 | |
1 | |
1 | |
1 | |
1 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023