Hi my klarna icon does not show up on footer. could you help me with that to add beside other payment icons.
here is the footer code:
{%- liquid
assign show_locale_selector = section.settings.show_locale_selector
assign show_currency_selector = section.settings.show_currency_selector
assign show_payment_icons = section.settings.show_payment_icons
assign content = section.blocks
assign locale_selector = false
assign currency_selector = false
assign payment_icons = false
if show_locale_selector and shop.published_locales.size > 1
assign locale_selector = true
endif
if show_currency_selector and localization.available_countries.size > 1
assign currency_selector = true
endif
if show_payment_icons and shop.enabled_payment_types != empty
assign payment_icons = true
endif
assign social_accounts = ‘Facebook, Twitter, Pinterest, Instagram, Snapchat, TikTok, Tumblr, YouTube, Vimeo, LinkedIn’ | split: ', ’
assign social_count = 0
for social in social_accounts
assign social_handle = social | handleize
assign social_link = ‘social_’ | append: social_handle | append: ‘_link’
if settings[social_link] != blank
assign social_count = social_count | plus: 1
endif
endfor
assign show_social_icons = false
if section.settings.show_social_icons and social_count != 0
assign show_social_icons = true
endif
-%}
{{ block.settings.title }}
{%- if block.settings.collapse_on_mobile -%} {{ block.settings.title }} {% render 'icon', icon: 'triangle' %} {%- endif -%} {%- endif -%}-
{%- for link in link_list -%}
- {{ link.title }} {%- endfor -%}
{% form ‘customer’, class: ‘footer__newsletter-form’, id: ‘footer-subscribe’ %}
{% render ‘form-status’, form: form, form_id: ‘footer-subscribe’, success_message: success_msg %}
{%- unless form.posted_successfully? -%}
{%- if currency_selector -%}
{%- if locale_selector -%}
{%- if payment_icons -%}
{%- if content.size > 0 -%}
{%- endif -%}
{%- if locale_selector or currency_selector or show_social_icons or payment_icons -%}
{%- if show_social_icons -%}
{% render ‘social-icons’ %}
{%- endif -%}
{%- if show_social_icons -%}
{{ 'sections.footer.copyright' | t }} © {{ 'now' | date: '%Y' }}, {{ shop.name | link_to: '/' }}.
{{ powered_by_link }}
{% schema %}
{
“name”: “t:sections.footer.name”,
“tag”: “footer”,
“class”: “footer__parent”,
“settings”: [
{
“type”: “header”,
“content”: “t:sections.footer.settings.language__header.content”,
“info”: “t:sections.footer.settings.language__header.info”
},
{
“type”: “checkbox”,
“id”: “show_locale_selector”,
“label”: “t:sections.footer.settings.show_locale_selector.label”,
“default”: true
},
{
“type”: “header”,
“content”: “t:sections.footer.settings.currency__header.content”,
“info”: “t:sections.footer.settings.currency__header.info”
},
{
“type”: “checkbox”,
“id”: “show_currency_selector”,
“label”: “t:sections.footer.settings.show_currency_selector.label”,
“default”: true
},
{
“type”: “header”,
“content”: “t:sections.footer.settings.social_media__header.content”,
“info”: “t:sections.footer.settings.social_media__header.info”
},
{
“id”: “show_social_icons”,
“type”: “checkbox”,
“label”: “t:sections.footer.settings.show_social_icons.label”,
“default”: true
},
{
“type”: “header”,
“content”: “t:sections.footer.settings.payment__header.content”,
“info”: “t:sections.footer.settings.payment__header.info”
},
{
“id”: “show_payment_icons”,
“type”: “checkbox”,
“label”: “t:sections.footer.settings.show_payment_icons.label”,
“default”: true
}
],
“blocks”: [
{
“type”: “text”,
“name”: “t:sections.footer.blocks.text.name”,
“settings”: [
{
“id”: “desktop_width”,
“type”: “range”,
“label”: “t:sections.footer.blocks.shared.settings.desktop_width.label”,
“info”: “t:sections.footer.blocks.shared.settings.desktop_width.info”,
“min”: 10,
“max”: 100,
“step”: 1,
“default”: 30,
“unit”: “%”
},
{
“id”: “desktop_padding”,
“type”: “range”,
“label”: “t:sections.footer.blocks.shared.settings.desktop_padding.label”,
“min”: 0,
“max”: 20,
“step”: 1,
“default”: 2,
“unit”: “%”
},
{
“type”: “checkbox”,
“id”: “collapse_on_mobile”,
“label”: “t:sections.footer.blocks.shared.settings.collapse_on_mobile.label”,
“info”: “t:sections.footer.blocks.shared.settings.collapse_on_mobile.info”,
“default”: true
},
{
“id”: “title”,
“type”: “text”,
“label”: “t:sections.footer.blocks.shared.settings.title.label”,
“info”: “t:sections.footer.blocks.shared.settings.title.info”,
“default”: “About”
},
{
“id”: “show_title_on_desktop”,
“type”: “checkbox”,
“label”: “t:sections.footer.blocks.shared.settings.show_title_on_desktop.label”,
“info”: “t:sections.footer.blocks.shared.settings.show_title_on_desktop.info”,
“default”: true
},
{
“id”: “text”,
“type”: “richtext”,
“label”: “t:sections.footer.blocks.text.settings.text.label”,
“default”: “
Use this text area to tell your customers about your brand and vision. You can change it in the theme settings.
”},
{
“id”: “image”,
“type”: “image_picker”,
“label”: “t:sections.footer.blocks.shared.settings.image.label”
},
{
“id”: “image_max_width”,
“type”: “range”,
“min”: 50,
“max”: 350,
“step”: 10,
“unit”: “px”,
“label”: “t:sections.footer.blocks.shared.settings.image_max_width.label”,
“default”: 200
},
{
“id”: “image_placement”,
“type”: “select”,
“label”: “t:sections.footer.blocks.text.settings.image_placement.label”,
“options”: [
{
“value”: “above_text”,
“label”: “t:sections.footer.blocks.text.settings.image_placement.option_above_text”
},
{
“value”: “below_text”,
“label”: “t:sections.footer.blocks.text.settings.image_placement.option_below_text”
}
],
“default”: “below_text”
},
{
“type”: “header”,
“content”: “t:sections.footer.settings.header__follow_on_shop.content”,
“info”: “t:sections.footer.settings.header__follow_on_shop.info”
},
{
“id”: “enable_follow_on_shop”,
“type”: “checkbox”,
“label”: “t:sections.footer.settings.enable_follow_on_shop.label”,
“default”: true
}
]
},
{
“type”: “links”,
“name”: “t:sections.footer.blocks.links.name”,
“settings”: [
{
“id”: “desktop_width”,
“type”: “range”,
“label”: “t:sections.footer.blocks.shared.settings.desktop_width.label”,
“info”: “t:sections.footer.blocks.shared.settings.desktop_width.info”,
“min”: 10,
“max”: 100,
“step”: 1,
“default”: 20,
“unit”: “%”
},
{
“id”: “desktop_padding”,
“type”: “range”,
“label”: “t:sections.footer.blocks.shared.settings.desktop_padding.label”,
“min”: 0,
“max”: 20,
“step”: 1,
“default”: 4,
“unit”: “%”
},
{
“type”: “checkbox”,
“id”: “collapse_on_mobile”,
“label”: “t:sections.footer.blocks.shared.settings.collapse_on_mobile.label”,
“info”: “t:sections.footer.blocks.shared.settings.collapse_on_mobile.info”,
“default”: true
},
{
“id”: “title”,
“type”: “text”,
“label”: “t:sections.footer.blocks.shared.settings.title.label”,
“info”: “t:sections.footer.blocks.shared.settings.title.info”,
“default”: “Links”
},
{
“id”: “show_title_on_desktop”,
“type”: “checkbox”,
“label”: “t:sections.footer.blocks.shared.settings.show_title_on_desktop.label”,
“info”: “t:sections.footer.blocks.shared.settings.show_title_on_desktop.info”,
“default”: true
},
{
“id”: “link_list”,
“type”: “link_list”,
“label”: “t:sections.footer.blocks.links.settings.link_list.label”,
“info”: “t:sections.footer.blocks.links.settings.link_list.info”,
“default”: “footer”
}
]
},
{
“type”: “liquid”,
“name”: “t:sections.footer.blocks.liquid.name”,
“settings”: [
{
“id”: “desktop_width”,
“type”: “range”,
“label”: “t:sections.footer.blocks.shared.settings.desktop_width.label”,
“info”: “t:sections.footer.blocks.shared.settings.desktop_width.info”,
“min”: 10,
“max”: 100,
“step”: 1,
“default”: 30,
“unit”: “%”
},
{
“id”: “desktop_padding”,
“type”: “range”,
“label”: “t:sections.footer.blocks.shared.settings.desktop_padding.label”,
“min”: 0,
“max”: 20,
“step”: 1,
“default”: 2,
“unit”: “%”
},
{
“id”: “liquid”,
“type”: “liquid”,
“label”: “t:sections.footer.blocks.liquid.settings.liquid.label”
}
]
},
{
“type”: “newsletter”,
“name”: “t:sections.footer.blocks.newsletter.name”,
“limit”: 1,
“settings”: [
{
“id”: “desktop_width”,
“type”: “range”,
“label”: “t:sections.footer.blocks.shared.settings.desktop_width.label”,
“info”: “t:sections.footer.blocks.shared.settings.desktop_width.info”,
“min”: 10,
“max”: 100,
“step”: 1,
“default”: 30,
“unit”: “%”
},
{
“id”: “desktop_padding”,
“type”: “range”,
“label”: “t:sections.footer.blocks.shared.settings.desktop_padding.label”,
“min”: 0,
“max”: 20,
“step”: 1,
“default”: 2,
“unit”: “%”
},
{
“type”: “checkbox”,
“id”: “collapse_on_mobile”,
“label”: “t:sections.footer.blocks.shared.settings.collapse_on_mobile.label”,
“info”: “t:sections.footer.blocks.shared.settings.collapse_on_mobile.info”,
“default”: true
},
{
“id”: “title”,
“type”: “text”,
“label”: “t:sections.footer.blocks.shared.settings.title.label”,
“info”: “t:sections.footer.blocks.shared.settings.title.info”,
“default”: “Newsletter”
},
{
“id”: “show_title_on_desktop”,
“type”: “checkbox”,
“label”: “t:sections.footer.blocks.shared.settings.show_title_on_desktop.label”,
“info”: “t:sections.footer.blocks.shared.settings.show_title_on_desktop.info”,
“default”: true
},
{
“id”: “text”,
“type”: “richtext”,
“label”: “t:sections.footer.blocks.newsletter.settings.text.label”,
“default”: “
Subscribe for store updates and discounts.
”}
]
},
{
“type”: “spacer”,
“name”: “t:sections.footer.blocks.spacer.name”,
“settings”: [
{
“id”: “desktop_width”,
“type”: “range”,
“label”: “t:sections.footer.blocks.shared.settings.desktop_width.label”,
“info”: “t:sections.footer.blocks.shared.settings.desktop_width.info”,
“min”: 5,
“max”: 100,
“step”: 1,
“default”: 5,
“unit”: “%”
}
]
}
],
“default”: {
“blocks”: [
{
“type”: “text”
},
{
“type”: “links”
},
{
“type”: “spacer”
},
{
“type”: “newsletter”
}
]
}
}
{% endschema %}