Additional Payment Icon - Minimal Theme

Highlighted
New Member
41 0 0

Hi

How can I add a payment icon image (one that's not listed in shopify) to sit next to the exisiting payment icons?

Assume it will sit somewhere in here.

Thanks

Jo

 

{% if settings.footer_show_methods_of_payment %}
        {% unless shop.enabled_payment_types == empty %}
        <div class="grid">
          <div class="grid__item text-center">
            {% assign payment_icons_available = 'amazon_payments,american_express,bitcoin,cirrus,dankort,diners_club,discover,dogecoin,dwolla,forbrugsforeningen,interac,jcb,litecoin,maestro,master,paypal,stripe,visa' | split: ',' %}
            <ul class="inline-list payment-icons">
              {% 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>
          </div>
        </div>
        {% endunless %}
      {% endif %}

 

 

 

 

{% if settings.footer_show_methods_of_payment %}
        {% unless shop.enabled_payment_types == empty %}
        <div class="grid">
          <div class="grid__item text-center">
            {% assign payment_icons_available = 'amazon_payments,american_express,bitcoin,cirrus,dankort,diners_club,discover,dogecoin,dwolla,forbrugsforeningen,interac,jcb,litecoin,maestro,master,paypal,stripe,visa' | split: ',' %}
            <ul class="inline-list payment-icons">
              {% 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>
          </div>
        </div>
        {% endunless %}
      {% endif %}

0 Likes
New Member
41 0 0

Anyone?

0 Likes