Hi @made4Uo
Thanks for your patience, don’t worry about the mistake but the important thing is to fix it ![]()
Now I can put in the footer a box containing some custom liquid code.
In summary, so as to also be able to leave a trace for those who will come later.
The actions to be done in order to add a box with custom liquid code in the footer are.
1
Open the footer.liquid file in the Edit Code section of the Shopify theme.
2
Add after this line of code
{% schema %}
{
"name": "t:sections.footer.name",
"blocks": [
This
{
"name": "custom liquid",
"type": "custom_liquid",
"settings": [
{
"type": "liquid",
"id": "custom_liquid",
"label": "t:sections.custom-liquid.settings.custom_liquid.label",
"info": "t:sections.custom-liquid.settings.custom_liquid.info"
}
]
},
3
Add after this line of code
{% case block.type %}
This
{% when 'custom_liquid' %}
{{block.settings.custom_liquid}}
Save everything and test the operation.
I hope I have not forgotten anything.
![]()