Goal: show payment icons beneath the Cart page checkout button in the Dawn theme.
Implementation (confirmed working):
Edit Online Store → Theme → Edit code → Sections/main-cart-footer.liquid.
Insert after the checkout button markup (e.g., around line 65) a Liquid loop rendering icons:
{% assign enabled_payment_types = ‘ideal,visa,maestro,master,american_express,bancontact’ | remove: ’ ’ | split: ‘,’ %}
{% for type in enabled_payment_types %}
{{ type | payment_type_svg_tag: class: ‘icon icon–full-color’ }}
{% endfor %}
Notes: Liquid is Shopify’s templating language; payment_type_svg_tag outputs the provider SVG icons.
Spacing tweak: add CSS (e.g., margin-top: 10px) to the icons container to increase space below the button; value can be adjusted.
Evidence/attachments: screenshots were provided showing the file path, insertion point, and the resulting icons under the button.
Status/outcome:
Original requester confirmed the solution works and spacing was adjusted via CSS.
Another participant reported the code didn’t work for them; no troubleshooting details or resolution were provided.
Community feedback indicated this should be the accepted solution. The main issue is effectively resolved for the original case.
Summarized with AI on December 14.
AI used: gpt-5.