shopify自定义商店模板编辑步骤 shopify模板编辑器教程

2024-01-01 14:01:26
By 鲁班七号电池

模板

模板由一组分区构成,这些分区经配置可为在线商店提供一致的外观。模板中哪些分区可用取决于您的模板。在模板编辑器中,您可以发现哪些模板应用于哪些页面,然后对其进行编辑以自定义向客户显示的信息。

编辑模板可将更改应用于使用该页面模板的每一个页面。例如,如果您向产品系列模板中添加新闻通讯注册表单,则使用默认产品系列模板的所有产品系列页面现在都将显示新闻通讯注册表单。

对于所有资源类型,每个模板最多可包含 1000 个样式。

编辑模板

您可以编辑模板以向在线商店中添加分区。某些分区支持添加可以进一步自定义的块,但并非所有分区或块都有可编辑的设置或内容。编辑模板时,您的更改会实时显示在模板预览窗口中。

步骤:

PC:

  1. 在 Shopify 后台中,转到在线商店 > 模板

  2. 找到您要编辑的模板,然后点击自定义

  3. 打开页面顶部的下拉菜单。

  1. 从下拉菜单中选择您要编辑的模板。

  2. 点击 + 添加分区,然后为您的模板选择一个新分区。

  3. 点击新的分区以查看其设置和选项。

  4. 对分区或分区中的块执行更改。

  5. 直到您对分区感到满意后,点击保存

苹果系统:

  1. 在 Shopify 应用中,轻触商店

  2. 销售渠道部分,轻触在线商店

  3. 轻触管理模板

  4. 找到您要编辑的模板,然后轻触自定义

  5. 轻触模板

  1. 从下拉菜单中选择您要编辑的模板。

  2. 点击 + 添加分区,然后为您的模板选择一个新分区。

  3. 点击新的分区以查看其设置和选项。

  4. 对分区或分区中的块执行更改。

  5. 直到您对分区感到满意后,点击保存

安卓系统:

  1. 在 Shopify 应用中,轻触商店

  2. 销售渠道部分,轻触在线商店

  3. 轻触管理模板

  4. 找到您要编辑的模板,然后轻触自定义

  5. 轻触模板

  1. 从下拉菜单中选择您要编辑的模板。

  2. 点击 + 添加分区,然后为您的模板选择一个新分区。

  3. 点击新的分区以查看其设置和选项。

  4. 对分区或分区中的块执行更改。

  5. 直到您对分区感到满意后,点击保存

Shopify商户官网原文详情:

Templates

Templates are a collection of sections that are configured to give your online store a consistent look and feel. Which sections are available in your templates depends on your theme. In the theme editor, you can discover which templates are applied to which pages, and then edit them to customize the information displayed to your customers.

Editing a template applies the changes to every page that uses that page template. For example, if you add a newsletter signup form to a collection template, then all collections pages that use the default collection template now display the newsletter signup form.

You can have up to 1,000 templates across all resource types, per theme.

Edit templates

You can edit your templates to add sections to your online store. Some sections enable you to add blocks that can be further customized, but not every section or block has settings or content that can be edited. When you edit your templates, your changes are displayed in real time in the theme preview window.

Steps:

PC:

  1. From your Shopify admin, go to Online Store > Themes.

  2. Find the theme that you want to edit, and then click Customize.

  3. Open the drop-down menu at the top of the page.

  1. Select the template that you want to edit from the dropdown menu.

  2. Click + Add section, and then select a new section for your template.

  3. Click the new section to view its settings and options.

  4. Make your changes to the section or the blocks within it.

  5. When you're satisfied with your section, click Save.

iPhone:

  1. From the Shopify app, tap Store.

  2. In the Sales channels section, tap Online Store.

  3. Tap Manage themes.

  4. Find the theme that you want to edit, and then tap Customize.

  5. Tap Templates.

  1. Select the template that you want to edit from the dropdown menu.

  2. Click + Add section, and then select a new section for your template.

  3. Click the new section to view its settings and options.

  4. Make your changes to the section or the blocks within it.

  5. When you're satisfied with your section, click Save.

Android:

  1. From the Shopify app, tap Store.

  2. In the Sales channels section, tap Online Store.

  3. Tap Manage themes.

  4. Find the theme that you want to edit, and then tap Customize.

  5. Tap Templates.

  1. Select the template that you want to edit from the dropdown menu.

  2. Click + Add section, and then select a new section for your template.

  3. Click the new section to view its settings and options.

  4. Make your changes to the section or the blocks within it.

  5. When you're satisfied with your section, click Save.

文章内容来源:Shopify商户官方网站



(本文内容根据网络资料整理和来自用户投稿,出于传递更多信息之目的,不代表本站其观点和立场。本站不具备任何原创保护和所有权,也不对其真实性、可靠性承担任何法律责任,特此声明!)


常见问答(FQAS)


我想要自定义模板,从哪里开始?

你可以登录Shopify后台,导航到设置>模板>编辑模板开始自定义你的模板。首先你需要选择一个你想要修改的现有模板,或者从零开始构建一个新模板。

Shopify模板编辑器有哪些功能?

Shopify模板编辑器提供丰富的工具来帮助您设计和编程模板,包括内联编辑、预览模式、片段等。您可以轻松添加和移动标记、添加样式表、JavaScript和更多内容。

如何添加和编辑部分?

您可以在模板编辑器中创建新部分或编辑现有部分。部分让您将页面内容组织成逻辑区块,并重复使用部分以保持一致性。要添加部分,请从菜单中选择“添加部分”。要编辑部分,请导航到它并单击“编辑”按钮。

如何添加和编辑变量?

变量允许您从Shopify后台插入动态内容。要添加变量,请在部分中使用Liquid语法{% assign %}或{{ }}包含变量名称。要编辑变量,请从管理变量菜单中选择它,然后编辑标签和值。