Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi All,
I have Amazon payments and Paypal as payment options and customers can pay with their credit cards through Paypal. The icons seen at the bottom footer of my website appear automatically, but Discover is also accepted. It doesn't show the Discover icon though. When looking at the code, I see the discover icon is in there, but the system leaves it out for some reason.
What can I do to get the Discover icon included down there?
packturtle.com
{% if section.settings.show_payment_icons %}
{% unless shop.enabled_payment_types == empty %}
{% assign payment_icons_available = 'amazon_payments,american_express,apple_pay,bitcoin,cirrus,dankort,diners_club,discover,dogecoin,dwolla,forbrugsforeningen,interac,jcb,litecoin,maestro,master,paypal,visa' | split: ',' %}
<ul class="inline-list payment-icons col-sm-4">
{% for type in shop.enabled_payment_types %}
{% if payment_icons_available contains type %}
<li>
<span class="icon-fallback-text">
<span class="icon icon-{{type}}" aria-hidden="true"></span>
<span class="fallback-text">{{type | replace: '_',' '}}</span>
</span>
</li>
{% endif %}
{% endfor %}
</ul>
{% endunless %}
{% endif %}
Solved! Go to the solution
This is an accepted solution.
So after looking at the settings, there was no reason for the Discover icon not to show. We don't have Shopify Payments enabled, so there are no options for selecting the accepted payment methods. In my theme settings, there is an option to turn the payment icons on or off, but no way to select them individually. It is an interesting dilemma. If you find other settings that control the payment icons, let me know and I will try it.
As a work-around, I used the tutorial at this site: https://shopify.dev/tutorials/customize-theme-add-credit-card-icons
Now I have complete control over which payment icons show.
Thanks,
Cheryl
Hi @cherylfoh,
Did you enable Discover methods on your site? If you haven't done that, the discover icon can not show on your site.
Hope this helps!
Thanks. I will dig around in the settings and will post back later.
This is an accepted solution.
So after looking at the settings, there was no reason for the Discover icon not to show. We don't have Shopify Payments enabled, so there are no options for selecting the accepted payment methods. In my theme settings, there is an option to turn the payment icons on or off, but no way to select them individually. It is an interesting dilemma. If you find other settings that control the payment icons, let me know and I will try it.
As a work-around, I used the tutorial at this site: https://shopify.dev/tutorials/customize-theme-add-credit-card-icons
Now I have complete control over which payment icons show.
Thanks,
Cheryl
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025