Personalized checkout and custom promotions with Shopify Scripts
How to apply product.description | replace: ':', ': ' in
{% render 'accordion', allow_multi_open: true, add_content_class: 'rte', first_item_open: description_is_open, item1_title: description_title, item1_content: product.description %}
If I just change it, it doesn't work. Only in object.
Solved! Go to the solution
This is an accepted solution.
I figured it out, create a variable and assign it to render.
{% assign product_description_space = product.description | replace: ':', ': ' %}
{% render 'accordion', allow_multi_open: true, add_content_class: 'rte', first_item_open: description_is_open, item1_title: description_title, item1_content: product_description_space %}
This is an accepted solution.
I figured it out, create a variable and assign it to render.
{% assign product_description_space = product.description | replace: ':', ': ' %}
{% render 'accordion', allow_multi_open: true, add_content_class: 'rte', first_item_open: description_is_open, item1_title: description_title, item1_content: product_description_space %}
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On 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, 2023