How to add payment icons

After Shopify's latest update of payment gateways, the payment icons are not automatically loaded into your webshop's footer. It's not the end of the world, because we've made it easy for you to add them again. You're welcome.

It could have been a terrible hassle. You might have had to dive into the deepest engine room to tinker with something you probably should have stayed away from. We wouldn't want to put you through that. That's why we've created a little clean fix, so you don't have to fiddle with 117 things, but just insert one code and replace another. That's a bit typical of us. We like to make it easy peasy.  


So. Let’s go: 


In Shopify admin, click on Online Store and select your Live theme. Click on Actions and choose Edit code.

Search for footer.liquid in the search box and click it to display it on the screen. 

Insert in line 1:

{%- assign paymentIconsFix = "dankort,visa,master,mobilepay,forbrugsforeningen,anyday,viabill,american_express,paypal,trustly,vipps,venmo,apple_pay,google_pay,maestro,shopify_pay" | split: "," -%}

Be sure to remove the payment methods you don't want to display. For example, if you don’t want to display forbrugsforeningen, just delete forbrugsforeningen – and remember to remove the comma right after as well. 


Next, search for shop.enabled_payment_types and replace it with paymentIconsFix (activate the search box with Ctrl+f on Windows and Cmd+f on Mac).

Click the green Save button in the top right corner. Done!

Get in touch with your developer or call us if something goes wrong. It shouldn't happen, but we're all only human. We're available at phone 70 711 377.