Logo

Shopify Documentation

Schema Structure for any Section Dynamic:

Example:

If Client Wants to Delete any Columns Dynamically

=============================================================

Example

All Types of Shopify

===================================

https://shopify.dev/docs/themes/architecture/settings/input-settings

Nav Dynamic Header With Subnav and Footer Nav:

Header Schema:

{% schema %} { "name": "Header", "class": "shopify-section--header", "settings": [ { "type": "image_picker", "id": "logo", "label": "Logo image" }, { "type": "link_list", "id": "navigation_menu", "label": "Menu", "default": "main-menu" } ], "blocks": [ { "type": "text", "name": "Row", "settings": [ { "type": "text", "id": "title", "label": "Heading" } ] } ] } {% endschema %}

Example:

Footer Nav Schema:

Example:

Banner with Video Conditions:

STEP 1: In block paste this code::

STEP 2: In the loop of the slider Paste this code as example::

Reference Link for schema tags:

https://help.shopify.com/en/themes/development/sections#using-section-schema-tags https://help.shopify.com/en/themes/development/theme-editor/settings-schema

Category Type for Presets:

Blog Image Custom Content Collection Social Product Store Information

Defined preset name and category type will reflect like below:

"presets": [ { "name": "Custom Banner", "category": "Image" // type of your section } ]

Css/JS/Image path Attribute:

{{ 'style.scss.css' | asset_url | stylesheet_tag }} {{ 'custom.js' | asset_url | script_tag }}

Asset Image Path

{{ 'logo.png' | asset_img_url: '' }}

Dynamic Image path

{{ section.settings.product_image | img_url: '' }} {{ section.settings.product_image | img_url: '' }} {{ section.settings.product_image | img_url: '' }}

Dynamic Image Blog image path

{{ block.settings.image | img_url: '' }}

Dynamic Section path

{{ section.settings.hide_variants }}

Block Loop

Example:

Block Loop in 2 section (left and right) with Schema

Example:

URL Filter Link:

https://help.shopify.com/en/themes/liquid/filters/url-filters

Conditional Tags

{% if collection_sidebar %} //your content {% endif %}

Conditional Tags

Conditional Tags

Conditional Tags

Shopify Condition meta tag or other conditions

Add any condition like add any css or add any div tag add for specific product page or collection page:

How to add comment in Shopify?

{% comment %} //your content {% endcomment %}