Copy-paste a Liquid snippet for product page - A short list of product benefits rendered from a simple text value.
Linen overshirt
$89.00
1{%- comment -%}2 Renders a short benefit list.3 Accepts: benefits (string, items separated by "|"), accent (colour, optional)4{%- endcomment -%}5{%- assign items = benefits | split: '|' -%}6{%- if items.size > 0 -%}7 <ul class="gpl-benefits gpl-benefits--check" style="--gpl-accent: {{ accent | default: '#15803d' }};">8 {%- for item in items -%}9 <li>{{ item | strip | escape }}</li>10 {%- endfor -%}11 </ul>12{%- endif -%}
Full source is for members
One payment - every snippet, guide and bundle