更新模板

Shopify 和其他模板设计师会经常发布他们在 Shopify 模板商店发布的模板的更新版本。这些更新版本通常包括 bug 修复和新功能。

模板商店提供所有模板的最新版本。如果您从模板商店购买了付费模板,则可以免费添加更新后的版本。如果您从第三方模板设计人员处购买了付费模板,请与设计人员联系以获取更新。

当模板有可用更新时,Shopify 后台中的该模板下方通常会显示通知。点击通知可打开详细信息弹出窗口,然后点击添加到模板库即可将更新版本添加到您的模板库中,或者点击查看发行说明来阅读有关新版本的信息

只要您或已安装的应用未对模板进行任何代码更改,您便可以更新在线商店模板。使用模板编辑器对在线商店进行的任何自定义都将被复制并应用于更新后的模板。

本页相关主题

  • 向模板库中添加更新

  • 下载模板文件

向模板库中添加更新

当您添加更新后的模板时,该模板的新版本将添加到您的在线商店库中。您通过模板编辑器对在线商店进行的任何自定义都将被复制到该模板的更新版本中。

步骤:

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

  2. 找到要更新的模板,然后点击版本通知。

  3. 点击添加到模板库。这将使系统生成您原始模板(命名为 [theme name])的副本、下载更新的模板版本,然后应用您的模板编辑器自定义。

将更新的模板添加到模板库后,点击查看模板自定义,以将更新后的模板加载到模板编辑器中。查看更新的模板版本后,您可以进一步自定义模板,或发布模板以更新您的在线商店。

下载模板文件

如果模板的更新功能不可用,或者您进行了代码更改,则您将无法自动更新模板。您可以通过从 Shopify 模板商店中安装模板的新副本然后手动应用您的所有设置和自定义来获得最新版本的功能。

在没有可用的模板更新或者您使用的是最新版本的模板时,您将看到模板的上次保存日期。

Shopify商户官网原文详情:

Updating themes

Shopify and other theme designers frequently release updated versions of the themes that they've published on the Shopify Theme Store. These updated versions usually include bug fixes and new features.

The most up-to-date versions of all themes are available in the Theme Store. If you purchased a paid theme from the Theme Store, then you can add an updated version for free. If you purchased a paid theme from a third-party theme designer, then contact the designer for updates.

When an update for a theme is available, a notification will appear below the theme in your Shopify Admin. Click on the notification to open the details pop-up, and then click Add to theme library to add the updated version to your theme library or View release notes to read about the new release.

You can update your online store themes as long as you or an installed app haven't made any code changes to your theme. Any customizations made to your online store using the Theme Editor are copied over and applied to the updated theme.

On this page

  • Add an update to your theme library

  • Download a theme file

Add an update to your theme library

When you add an updated theme, a new version of the theme is added to your online store library. Any customizations you've made to your online store with the theme editor are copied into the updated version of the theme.

Steps:

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

  2. Find the theme you want to update and click on the version notification.

  3. Click Add to theme library. This will make a copy of your original theme (named [theme name]), download the updated theme version, and then apply your theme editor customizations.

Once the updated theme has been added to your theme library, click Review theme or Customize to load the updated theme into your theme editor. After you have reviewed the updated theme version, you can customize the theme further, or publish the theme to update your online store.

Download a theme file

If the update feature is not available for a theme, or you've made code changes, then you won't be able to update your theme automatically. You can benefit from the latest version by installing a fresh copy of your theme from the Shopify Theme Store and then manually applying all your settings and customizations.

When there is no theme update available or you're on the latest version of a theme, you'll see the last save date of your theme.

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