Welcome to CodeCrew Infotech

shape shape
Shape Shape Shape Shape

How To Edit The Shopify Payment Icons In The Theme Code

Add a payment icon in the footer.

If you are the owner and you want to modify or add some Shopify payment icons in your footer, you will need to access the theme code of your Shopify store.

By default, your theme will display the icons according to the payment gateways you have enabled in the payment settings section.

With just a few clicks you can add and remove all of these payment icons – but what if you want more control over what is displayed in the footer?

That’s easy too if you follow these steps:


Step 1: Go to Online store > Themes > Actions > Edit code from the drop-down menu.


Step 2: there are lots of coding files but you need to search the footer.liquid file in Section files.


Step 3: Add the below code

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

{% for type in enabled_payment_types %}

in place of

{% for type in the shop.enabled_payment_types %}

According to Shopify, There are lots of payment providers master, PayPal, Shopify_pay many more icons you can add to this code.


Step 4: Save your all changes.

Don't forget to save the changes.