Copy-paste a Liquid snippet for product page - A visible measurement table (chest/length/sleeve) - different from the modal, always on the page.
1<div class="gpl-size2">2 <table class="gpl-size2__table">3 <thead><tr><th>Size</th><th>Chest (in)</th><th>Length (in)</th></tr></thead>4 <tbody>5 {%- assign rows = rows | newline_to_br | split: '<br />' -%}6 {%- for row in rows -%}7 {%- assign parts = row | strip | split: '|' -%}8 <tr><td>{{ parts[0] | strip }}</td><td>{{ parts[1] | strip }}</td><td>{{ parts[2] | strip }}</td></tr>9 {%- endfor -%}10 </tbody>11 </table>12</div>
Full source is for members
One payment - every snippet, guide and bundle