FAQ
{%- if block.settings.custom_icon != blank -%} {%- capture sizes -%}{{ block.settings.icon_width }}px{%- endcapture -%} {%- capture widths -%}{{ block.settings.icon_width }}, {{ block.settings.icon_width | times: 2 | at_most: block.settings.custom_icon.width }}{%- endcapture -%} {%- capture style -%}--image-max-width: {{ block.settings.icon_width }}px{%- endcapture -%} {{- block.settings.custom_icon | image_url: width: block.settings.custom_icon.width | image_tag: loading: 'lazy', sizes: sizes, widths: widths, class: 'constrained-image', style: style -}} {%- elsif block.settings.icon != 'none' -%} {%- render 'icon' with block.settings.icon, width: block.settings.icon_width -%} {%- endif -%} {{- block.settings.title -}}
{%- endif -%} {%- when 'question' -%} {%- if block.settings.question != blank and block.settings.answer != blank -%} {%- capture answer -%}Write a clear and concise answer to guide your customers.
" } ] } ], "presets": [ { "name": "t:sections.faq.presets.faq.name", "blocks": [ { "type": "category", "settings": { "title": "Order" } }, { "type": "question", "settings": { "question": "Do you ship overseas?", "answer": "Yes, we ship all over the world. Shipping costs will apply, and will be added at checkout. We run discounts and promotions all year, so stay tuned for exclusive deals.
" } }, { "type": "question", "settings": { "question": "How long will it take to get my orders?", "answer": "It depends on where you are. Orders processed here will take 5-7 business days to arrive. Overseas deliveries can take anywhere from 7-16 days. Delivery details will be provided in your confirmation email.
" } }, { "type": "question", "settings": { "question": "Any question?", "answer": "You can contact us through our contact page! We will be happy to assist you.
" } } ] } ] } {% endschema %}