Choose which payment icons to display
All free Shopify themes include the option to display payment icons in your footer. The icons that show are determined by your store's payment settings and the customer's region and currency. You can enable payment icons in the theme editor. If you want to add or remove payment icons without changing your payment settings, then you can do so by editing your theme code.
Enable payment icons in your footer
The first step of the customization is to enable the payment icons in your footer:
Go to the theme editor.
Click Footer.
Check the Show payment icons checkbox.
Click Save.
Edit the code for your payment icons
In this step, you will change the way that payment icons are assigned to your footer. By default, your theme shows the icons that are associated with the payment gateway you have enabled in the payment settings section of your admin and that are available for the current customer's region and currency. With this customization, you will manually add or remove the payment icons that you want to display.
Steps:
Desktop
- From your Shopify admin, go to Online Store > Themes.
- Find the theme you want to edit, click the … button to open the actions menu, and then click Edit code.
- In the Sections directory, click
footer.liquid
. If your theme doesn't include this file, then clicktheme.liquid
in the Layout directory. - Find the following code in the file:
- Replace that code with the following:
- In the code that you just pasted, there is a list of payment providers separated by commas:
visa,master,american_express,paypal
. The payment providers that you include in this list will determine which payment icons display on your online store. You can edit the list of payment providers to suit your needs. Review the list of available values and copy the name of each icon that you need from that list, without the.svg
extension. Common values are listed below: -afterpay
-american_express
-apple_pay
-bitcoin
-dankort
-diners_club
-discover
-dogecoin
-dwolla
-facebook_pay
-forbrugsforeningen
-google_pay
-ideal
-jcb
-klarna
-klarna-pay-later
-litecoin
-maestro
-master
-paypal
-shopify_pay
-sofort
-unionpay
-visa
- Click Save.
iPhone
- From the Shopify app, tap the … button.
- In the Sales channels section, tap Online Store.
- Tap Manage themes.
- Find the theme you want to edit, click the … button to open the actions menu, and then click Edit code.
- In the Sections directory, click
footer.liquid
. If your theme doesn't include this file, then clicktheme.liquid
in the Layout directory. - Find the following code in the file:
- Replace that code with the following:
- In the code that you just pasted, there is a list of payment providers separated by commas:
visa,master,american_express,paypal
. The payment providers that you include in this list will determine which payment icons display on your online store. You can edit the list of payment providers to suit your needs. Review the list of available values and copy the name of each icon that you need from that list, without the.svg
extension. Common values are listed below: -afterpay
-american_express
-apple_pay
-bitcoin
-dankort
-diners_club
-discover
-dogecoin
-dwolla
-facebook_pay
-forbrugsforeningen
-google_pay
-ideal
-jcb
-klarna
-klarna-pay-later
-litecoin
-maestro
-master
-paypal
-shopify_pay
-sofort
-unionpay
-visa
- Click Save.
Android
- From the Shopify app, tap the … button.
- In the Sales channels section, tap Online Store.
- Tap Manage themes.
- Find the theme you want to edit, click the … button to open the actions menu, and then click Edit code.
- In the Sections directory, click
footer.liquid
. If your theme doesn't include this file, then clicktheme.liquid
in the Layout directory. - Find the following code in the file:
- Replace that code with the following:
- In the code that you just pasted, there is a list of payment providers separated by commas:
visa,master,american_express,paypal
. The payment providers that you include in this list will determine which payment icons display on your online store. You can edit the list of payment providers to suit your needs. Review the list of available values and copy the name of each icon that you need from that list, without the.svg
extension. Common values are listed below: -afterpay
-american_express
-apple_pay
-bitcoin
-dankort
-diners_club
-discover
-dogecoin
-dwolla
-facebook_pay
-forbrugsforeningen
-google_pay
-ideal
-jcb
-klarna
-klarna-pay-later
-litecoin
-maestro
-master
-paypal
-shopify_pay
-sofort
-unionpay
-visa
- Click Save.