Re: Can't figure out why Discover Icon doesn't show

Solved

Can't figure out why Discover Icon doesn't show

cherylfoh
Explorer
75 5 45

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 %}

 

cherylfoh_0-1616796086738.png

 

Accepted Solution (1)
cherylfoh
Explorer
75 5 45

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

View solution in original post

Replies 3 (3)

LitExtension
Shopify Partner
4958 1009 1190

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! 

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify
Contact us:
- Email: contact@litextension.com
cherylfoh
Explorer
75 5 45

Thanks. I will dig around in the settings and will post back later.

cherylfoh
Explorer
75 5 45

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