How can I update payment icons in the Dawn theme footer?

Hello,

I’m using the Dawn theme - the new Shopify free theme - and I want to update the payment icons in my footer.

Tried to follow this tutorial, by Shopify (that works for Debut, as an example), but it’s not working.

I suspect that the code that needs to be edited is the following one, in footer.liquid

{%- if section.settings.payment_enable -%}
          
            {{ 'sections.footer.payment' | t }}
            

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

          

        {%- endif -%}

Does anyone knows how I can fix this?

Thank you

1 Like

Does anyone knows how I can do this, in Dawn theme?

{% for type in shop.enabled_payment_types %}

Replace it with:

{% assign enabled_payment_types = 'visa,master,american_express,paypal' | remove: ' ' | split: ',' %}
{% for type in enabled_payment_types %}

Thank you

4 Likes

No one?

Don’t know if you figured this out but just replace the code in your first post with this (update your preferred payment methods if needed):

{%- if section.settings.payment_enable -%}

{{ 'sections.footer.payment' | t }}
    {% assign enabled_payment_types = 'visa,master,american_express,paypal,venmo' | remove: ' ' | split: ',' %} {% for type in enabled_payment_types %} {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }} {%- endfor -%}
{%- endif -%}

For me it’s lines 294-305 in footer.liquid

1 Like

Hello @miin ,

I found out later, what I was doing wrong.

I will accept your solution.

Thank you :slightly_smiling_face:

1 Like

Hey, how can I display these payment icons under the Add to Cart / Buy now Buttons?

Also wanting to know this if anyone can help

Works perfectly..!