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 %}
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024