Copy-paste a Liquid snippet for trust & social proof - Overall rating, review count and star-distribution bars - the card shoppers scan before reading a single review.
4.8
★★★★★
1243 reviews
1{%- assign counts = bars | default: '0|0|0|0|0' | split: '|' -%}2{%- assign total = 0 -%}3{%- for c in counts -%}{%- assign total = total | plus: c | plus: 0 -%}{%- endfor -%}4<div class="gpl-rs">5 <div class="gpl-rs__big">6 <p class="gpl-rs__num">{{ rating | default: '0.0' }}</p>7 <p class="gpl-rs__stars" aria-label="{{ rating }} out of 5 stars">8 {%- assign full = rating | plus: 0 | floor -%}9 {%- for i in (1..5) -%}{%- if i <= full -%}★{%- else -%}☆{%- endif -%}{%- endfor -%}10 </p>11 <p class="gpl-rs__count">{{ count | default: '0' }} reviews</p>12 </div>13 <div class="gpl-rs__bars">14 {%- for c in counts -%}
Full source is for members
One payment - every snippet, guide and bundle