{%- if section.settings.title_page != blank -%}

{{ section.settings.title_page }}

{%- endif -%} {%- if section.settings.contact_des != blank -%}
{{section.settings.contact_des}}
{%- endif -%} {%- if page.content != blank -%}
{{ page.content }}
{%- endif -%}
{%- form 'contact' -%} {%- if form.posted_successfully? -%}

{{ 'contact.form.post_success' | t }}

{%- endif -%} {{ form.errors | default_errors }}
{%- endform -%}
{%- if section.settings.gmap and section.settings.gmap_iframe != blank -%}
{{section.settings.gmap_iframe}}
{%- endif -%}
{%- if section.blocks.size>0 -%}
{%- for block in section.blocks -%}
    {%- if block.settings.store_addess != blank -%}
  • {{block.settings.store_addess}}
  • {%- endif -%} {%- if block.settings.contact_addess != blank -%}
  • {{block.settings.contact_addess}}
  • {%- endif -%} {%- if block.settings.contact_phone != blank -%}
  • {{block.settings.contact_phone}}
  • {%- endif -%} {%- if block.settings.contact_mail != blank -%}
  • {{block.settings.contact_mail}}
  • {%- endif -%}
{%- endfor -%}
{%- endif -%} {%- if section.blocks.size == 0 -%} {%- include 'no-blocks' -%} {%- endif -%}
{% schema %} { "name": "Contact us", "settings": [ { "type": "text", "id": "title_page", "label": "Title Page", "default": "Stay in touch! Contact us" }, { "type": "textarea", "id": "contact_des", "label": "Description", "default": "Have a question? Give us a call or fill out the contact form. We’d love to hear from you" }, { "type": "checkbox", "id": "gmap", "label": "Google map", "default": true }, { "type": "textarea", "id": "gmap_iframe", "label": "Iframe code", "info": "💡 [Get iframe code here](https:\/\/www.embedgooglemap.net\/)" } ], "blocks": [ { "type": "address", "name": "Address", "settings": [ { "type": "html", "id": "store_addess", "label": "Store" }, { "type": "text", "id": "contact_addess", "label": "Addess", "default": "123 Sky Tower, West 21th Street, Suite 721, NY" }, { "type": "text", "id": "contact_phone", "label": "Phone", "default": "+844 123 456 789" }, { "type": "text", "id": "contact_mail", "label": "Email", "default": "sale@yourcompany.com" } ] } ] } {% endschema %}
×