Giter Site home page Giter Site logo

shopify_test1's Introduction

变量

settings

{{ settings.logo_width }} 指变量在 config/settings_data.json

section

{{ section.settings.width1 }} 变量为当前 liquid {% schema %} { "name": "t:sections.main-password-header.name", "settings": [ { "type": "text", "id": "width1", "label": "宽度1", "default": "100px" }, ] } {% endschema %} type 设置类型,可以是任何基本或专用输入设置类型。 是的 id 设置ID,用于访问设置值。 是的 label 设置标签,将显示在主题编辑器中。 是的 default 设置的默认值。 不 info 有关设置的信息文本选项。 不

shop

{{ shop.id }} {{ shop.name }} {{ shop.moneyFormat }}

request

{{ request.locale }} {{ request.path }}

渲染子节点

render

{%- render 'icon-facebook' -%} snippets/icon-facebook.liquid

sections

{% sections 'header-group' %} sections/header-group.json announcement-bar.liquid header.liquid

{% sections 'footer-group' %} sections/footer-group.json footer.liquid

判断为空

blank {%- if settings.social_twitter_link != blank -%} 111 {%- endif -%}

多语言

{{ 'general.social.links.snapchat' | t }}

过滤器

  1. 如何创建一个过滤器

shopify_test1's People

Contributors

shopify[bot] avatar xbl13670280929 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.