How to manually add payment icons on footer in brooklyn theme

Hi,

I’ve read through some topics on here, but could not find a solution working for me, I currently have the checkbox show payment icons enabled, but it only shows me Paypal, since I have an additional payment method from vivawallet enabled Bancontact, Mastercard and Visa, I also want to show those.

I found the following section:

{%- if section.settings.show_payment_icons -%}
{%- unless shop.enabled_payment_types == empty -%}
{{ 'general.payment.method' | t }}

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

{%- endfor -%}

{%- endunless -%}
{%- endif -%}

Can anyone show me the right code to do this?

Also wondering, if I would use this code, is bancontact a known icon on enabled_payment_types? If not what should I do?

{% assign enabled_payment_types = 'visa,master,bancontact,paypal' | remove: ' ' | split: ',' %}

Also using this code, is it best to disable the show icon checkbox? or just adjust the code that it does not show a double paypal?

Thank you in advance.

Anyone that can help me out?

Hi Thomas,

I know you might prefer not to use 3rd party app but it’s an easy-to-find alternative without complicated coding.

You can refer to our AVA Trust Badges, Sales Popup app which has 14 functions in just 1 app to boost conversions. One of them is adding payment icons (trust badges) anywhere on your website. AVADA Trust badge generator allows eCommerce stores to use premade trust badges or upload their own trust badges to reduce concerns over payment security and make them place orders without hesitation.

Feel free to let us know if you have any question regarding the app.