Copy-paste a Liquid snippet for product page - '₹45 / 100g' under the price - essential for groceries, supplements, anything sold by weight or count.
₹4,500
₹450 / 100g
1{%- assign unit_qty = qty | plus: 0 -%}2{%- if unit_qty > 0 -%}3<p class="gpl-unit">4 {{ product.selected_or_first_available_variant.price | divided_by: unit_qty | money }} / {{ unit | default: 'unit' }}5</p>6{%- endif -%}
Full source is for members
One payment - every snippet, guide and bundle