Copy-paste a Liquid snippet for product page - A row of payment-method pills (UPI, cards, COD) that sits under the buy button and answers the 'can I trust this checkout?' question.
Product pageTheme snippet Members sourceOS 2.0 themes
1Back up your theme (Online Store > Themes > Actions > Duplicate) before changing any code.
2Open Online Store > Themes > Edit code and create a new file under Snippets named payment-badges.liquid.
3Paste the complete file - markup, styles and JavaScript are already inside the single file, nothing else to install.
4Call the snippet from the template or section where it should appear using the render tag shown in the Usage tab.
5Preview the product, collection or cart page and test on mobile before publishing.
payment-badges.liquid
1{%- comment -%}2 Sits under the add-to-cart button. Edit the list to match the methods you3 actually offer - showing a method you do not support erodes trust.4{%- endcomment -%}5<divclass="gpl-pay"style="--gpl-accent: {{ accent | default: 'rgb(var(--color-button, 21 128 61))' }};">6<ulclass="gpl-pay__row"role="list">7{%-assignmethods = items| default: 'UPI|Cards|Net banking|COD'| split: '|'-%}8{%-forminmethods-%}9<liclass="gpl-pay__pill">10<svgclass="gpl-pay__icon"viewBox="0 0 24 24"fill="none"stroke="currentColor"stroke-width="1.8"stroke-linecap="round"stroke-linejoin="round"aria-hidden="true"><rectx="2"y="5"width="20"height="14"rx="3"/><pathd="M2 10h20"/></svg>11{{m| strip| escape}}12</li>13{%-endfor-%}14</ul>