Every section file has a schema. This is where developers can define the settings that you can see in the theme customizer sidebar. 每一个区块文件都有一个sche
The sections folder is where all your sections are kept. Sections文件夹是保存区块的地方。 Each section is usually just one file. The file is usually (but no
The template is everything you see on your website besides the header and footer. 模板是我们在网站上除了头部和底部以外看到的所有的网站内容。 The template a customer is seein
Snippets are simply a way to make code neater. 代码段往往可以让我们的代码更加简洁易用。 If some code is getting really long, I can save it inside a snippet. I c
First I’m going to teach you about the Shopify theme structure. 下面我们来学习Shopify主题的结构。 In the next chapter I will show you the best places to modi
JSON isn’t really a programming language. It’s simply a way of holding data, kind of like a table. JSON并不是一个编程语言,反而更像是一个存储着数据的表格。 In Shopify you
.liquid files allow us to mix Liquid code anywhere in our HTML, like this: .liquid文件让我们可以在HTML的任何位置加入Liquid代码。如下所示: <p>Get it now for jus
CSS describes how our structure will look. It is often inside a .css file. Sometimes you will hear me call it the “stylesheet” or simply “our styles/s
Javascript is mostly used for interactivity, i.e. for something to happen when you click a button. Javascript是互动层。例如,当我们点击按钮时网页会有什么交互。 It also c
If you read the Intro to HTML a while ago, you might want to jump back to that part for a quick 30-second refresher.、 我们在第一章介绍了HTML的一些基础知识,大家可以先回去复