Thanks for the reply, but it didn’t work. Below is the complete code from the file ‘supporting-menu.liquid’, after the change. As you suggested I just removed the if condition from the code snippet. Please correct me if i am doing anything wrong
{%- liquid
assign languages = false
assign countries = false
assign show_locale_selector = section.settings.show_locale_selector
assign show_country_selector = section.settings.show_country_selector
assign show_country_name = section.settings.show_country_name
assign show_country_flag = section.settings.show_country_flag
if show_locale_selector and localization.available_languages.size > 1
assign languages = true
endif
if show_country_selector and localization.available_countries.size > 1
assign countries = true
endif
-%}
{%- style -%}
#SupportingMenu--{{ section.id }} {
--PT: {{ section.settings.padding_top }}px;
--PB: {{ section.settings.padding_bottom }}px;
}
{%- endstyle -%}
{% schema %}
{
"name": "Supporting menu",
"limit": 1,
"settings": [
{
"type": "header",
"content": "Bottom bar"
},
{
"type": "link_list",
"id": "linklist",
"label": "Link List",
"info": "This menu won't show dropdown items."
},
{
"type": "checkbox",
"id": "footer_payment_enable",
"label": "Show payment types",
"default": true
},
{
"type": "header",
"content": "Language selector",
"info": "To add a language, go to your [language settings.](/admin/settings/languages)"
},
{
"type": "checkbox",
"id": "show_locale_selector",
"label": "Show language selector",
"default": true
},
{
"type": "header",
"content": "Country/Region selector",
"info": "To add a country/region, go to your [markets settings](/admin/settings/markets)."
},
{
"type": "checkbox",
"id": "show_country_selector",
"label": "Show country/region selector",
"default": true
},
{
"type": "checkbox",
"id": "show_country_name",
"label": "Show country name",
"default": false
},
{
"type": "checkbox",
"id": "show_country_flag",
"label": "Show country flag",
"default": true
},
{
"type": "header",
"content": "Section padding"
},
{
"type": "range",
"id": "padding_top",
"min": 0,
"max": 100,
"step": 1,
"unit": "px",
"label": "Padding top",
"default": 30
},
{
"type": "range",
"id": "padding_bottom",
"min": 0,
"max": 100,
"step": 1,
"unit": "px",
"label": "Padding bottom",
"default": 30
}
],
"presets": [
{
"name": "Supporting menu",
"category": "Text"
}
],
"enabled_on": {
"groups": ["footer"]
}
}
{% endschema %}