Hello, how can I display the payment icon like in the picture?
Store URL: besthomestayle.myshopify.com
A user wants to add payment method icons to their store footer, similar to a reference screenshot they provided.
Initial Suggestions:
User’s Issue:
The “Display payment method” setting is not available in their theme’s footer options.
Code Solutions Provided:
Two approaches were shared:
footer.liquid that loops through shop.enabled_payment_types and renders payment icons using the payment_type_svg_tag filterPrerequisites:
Hello, how can I display the payment icon like in the picture?
Store URL: besthomestayle.myshopify.com
@U_John - did you check the footer settings in customize settings?
To display the payment icons in the footer, follow these steps:
Go to your Shopify admin panel.
Navigate to Online Store > Customize and open the Footer section.
Look for the “Enable payment icons” checkbox and select it.
If the icons still don’t appear, make sure your payment gateway is fully set up. Shopify automatically displays payment icons based on your available payment methods.
If needed, you can also manually add payment icons by inserting an image in the footer section using custom code.
Let us know if you need further assistance!
Yeah, there isn’t “Display payment method”
Hi @U_John
You can use a code like this
{{ 'sections.footer.payment' | t }}
{%- for type in shop.enabled_payment_types -%}
- {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
{%- endfor -%}
You have to put in footer.liquid where you like to show these
and just make sure payments are enabled on your store and also there can be theme settings for this, please explore that as well
Thanks!
Hi @U_John ,
You have settings to display the methods at: Shopify Payments
Or you can display it manually with code, for example:
- {{ 'paypal' | payment_type_svg_tag: class: 'icon icon--full-color' }}