Payment methods at the "Add to cart" page

Topic summary

A Shopify store owner wants to display payment method icons on their cart page, specifically below the checkout button (“ik ga bestellen”). They shared a screenshot showing their current cart layout.

Proposed Solution:

  • Another user provided a code snippet using Liquid template language that loops through enabled payment types and displays their SVG icons with full-color styling.
  • The code uses shop.enabled_payment_types to dynamically show available payment methods.

Current Status:

  • The original poster asked a follow-up question about where to insert the provided code.
  • The discussion remains open, awaiting guidance on code placement within the Shopify theme files.
Summarized with AI on November 9. AI used: claude-sonnet-4-5-20250929.

Hi,

I want to add a picture of the payment methods that i have on my add to cart page. Under the button that says “ik ga bestellen”. How can i do that?

Webshop URL is: https://www.glowinh.com/

Thanks

@Bahrikaan
You can use the below code to show the payment icons in the cart drawer


{%- for type in shop.enabled_payment_types -%}
- {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}

{%- endfor -%}

Hi,

Where do i put this code in?