add payment icon to the shopping cart - dawn theme

add payment icon to the shopping cart - dawn theme

26 0 4

Hello guys, 

can someone please help me? I want the payment badges to show in my shopping cart just like in this example.

I use the theme dawn.

thanks a lot.


Kind regards 




Replies 2 (2)

Shopify Partner
1261 100 125

Hello @wh31_wh1222 


Welcome to Shopify Community.


Please add below code in cart-drawer.liquid file.

<div class="payment-icons">
  {% for type in shop.enabled_payment_types %}
    <div class="payment-icons__icon">
      {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
  {% endfor %}



Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to
From Less To Further !!!

Shopify Partner
556 159 188

Hi @wh31_wh1222,

You can follow these steps to show the payment badges in the cart drawer

1. Open Online Store > Theme > Edit Code

2. Find the cart-drawer.liquid file and open it

3. Paste the code snippet below under the checkout button




        <div class="footer__payment" style="width: 100%;">
          <span class="visually-hidden">{{ 'sections.footer.payment' | t }}</span>
          <ul class="list list-payment" role="list" style="width: 100%; justify-content: space-between;">
            {%- for type in shop.enabled_payment_types -%}
              <li class="list-payment__item">
                {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
            {%- endfor -%}


Here is the result


Hope this helps you solve the issue.

Please don't forget to Like and Mark it as an Accepted Solution if you find this helpful. Thank you!


If our suggestions are useful, please let us know by giving it a like or marking it as a solution .
For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase

Need help from our expert? Kindly share your request with us via

BSS Commerce - Full-service eCommerce Agency