- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Shopify. How to create a page template
January 3, 2020
本教程解释了如何创建 page template in Shopify.
Shopify. How to create a page template
-
登录到您的Shopify管理面板并导航到 Online Store -> Themes section.
-
Click the dots button and select Edit HTML/CSS option:
-
Locate the Templates folder and click the Add a new template link:
-
Let’s create a new template for the Contacts page. Select the page 选项,并给它一个名称(例如, contact.alternate). 您还可以为新模板(文章、博客、产品等)选择其他可用选项.).
-
Press the Create template 按钮保存新页面模板:
-
创建新页面模板后,它将出现在 Templates 文件夹,以便您能够对其进行编辑. In our case it is page.contact.alternate.liquid file.
-
创建新模板后,您将在其文件中看到标准代码. 您可以编辑它以满足您的需要. For instance, let’s open page.contact.liquid 文件并将其内容复制到我们的新模板中,以便您可以修改它.
让我们从这个模板中删除Google地图代码,看看它是如何工作的. Press the Save 按钮保存您的更改:
-
现在您需要将新模板分配给一个页面(Contact Us page in our case). Navigate to Online Store -> Pages section and open Contact Us page:
-
Locate the Template 部分在屏幕的右侧. 在下拉列表中选择您的新模板(page.contact.alternate template in our case).
-
Press the Save button to save your changes:
-
Refresh your website page to see the changes. The Contacts page is using our new template now. 您可以根据自己的喜好进一步编辑模板文件.
Now you know how to create a page template in Shopify.
请随时查看下面的详细视频教程:
Shopify. How to create a page template
Of course, the creation of the page template, various elements of the site, 网站本身非常简单,对于真正的专业人士来说,这不是一个漫长的过程. 如果你是一个初学者,并且已经可以自己做很多事情,这是非常好的. 但这不是我们现在要讨论的.
如今,有许多网站提供创建网站和在线商店的服务. 而且经常要花一大笔钱. But! there is a way out. And this is the Shopify Business Startup Kit. 这正是专业人士会让你 website in the best way. 因此,Shopify是一个非常受欢迎的平台,可以帮助你实施计划并启动在线商店. 因为Shopify真的非常时髦, 网上购物的质量受到了很多关注. 这就是为什么Shopify商业启动工具包是一个理想的选择. Templateog体育首页提供的这项服务只需359美元. 以这个成本,最好的开发人员将在几天内创建一个现成的 website. 他们会照顾所有重要的点和问题,你可能会遇到,而使用 website. 您还将获得30天的试用和24/7的技术支持. 你只需要留下你的邮箱,团队就会联系你. 还要考虑你的网站应该是什么样的,这样开发人员才能完全实现你的想法.
创建 Shopify store 是否选择了合适的高质量主题. 对任何企业来说,最好的主题之一是 Apparelix. 这是一个非常酷的多功能主题,适用于任何目的. You can also use the free version of Apparelix. 当然,免费版包含一个 less set of features. 但他的方式是,你可以尝试这个主题,然后购买一个具有广泛功能的高级版本. Among them:- 定期更新(包括定期的新配色方案), different page variations, various sections, headings, homepages, and so on)
- 四张非常好看的皮肤,
- adaptation to any device,
- 与谷歌字体和地图的集成,
- cross-browser compatible
- built-in online chat,
- multi-currency,
- a system of comments and feedback,
- different kinds of menus,
- a clean and valid code,
- additional effects,
- fully responsive design,
- multilingualism,
- 可视化编辑器将简化您的工作 website design, and much more.
这个主题非常容易使用,但同时它的功能也令人惊讶. 所有的元素都很容易调整和改变. 当然,这个主题的主要优点是多用途. Apparelix – Clean Multipurpose Shopify Theme 可以很容易地适应任何类型的网站.
You can also use 免费的Shopify主题:2020年发布的最佳项目集合. 在这篇文章中,你会发现适合各种口味的伟大主题. 每个主题的详细描述将帮助您更好地理解可用的功能, and in the end, choose the best theme for your website.