Why aren't all payment icons displaying in my website footer?

@PeanutButter This one is best for you I think - others are welcome to help me out!

I’ve got my store here but the payment icons aren’t working correctly. Please see my code below in the footer-1.liquid file:


    {% unless shop.enabled_payment_types == empty %}
	{% assign enabled_payment_types = 'visa,amex,paypal,apple_pay,google_pay' | remove: ' ' | split: 'apple_pay' %}
	{% for type in enabled_payment_types %}
    
    {% endfor %}
    {% endunless %}
    

The problem is, it is only displaying the Visa, American Express and PayPal icons at the footer of my website. I’m wanting to display 3 more but they aren’t showing up. What could be causing this issue?

Screenshot 2021-07-12 at 16.16.25.png

Best Regards,

Fourteen.

@Fourteen
hi,

Buddy

Add this code to make changes in your site.


{%- unless shop.enabled_payment_types == empty -%}
  Supported payment methods

  

    {%- for type in shop.enabled_payment_types -%}
      - {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
  {% assign enabled_payment_types = 'visa,amex,paypal,apple_pay,google_pay' | remove: ' ' | split: 'apple_pay' %}
      
    {%- endfor -%}
  

{%- endunless -%}