更新主题

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

Manual Updates

You can verify the status of your theme by clicking the version number under each theme in your Shopify Admin. When your theme is on the latest available version, you will see a green check mark icon with the statusThis theme is up to date.

Sample online store with Dawn theme up to date

When an update for a theme is available, a notification replaces the theme version number in your Shopify Admin. Click the notification to open the details pop-up, and then clickAdd to theme libraryto add the updated version to your theme library orView release notesto read about the new release.

Sample online store with a verified Dawn theme update available.

Any customizations made to your theme using the Theme Editor are copied over and applied to the updated theme. These include:

  • Changing theme settings
  • Changing page layouts, like adding, reordering, removing, or hiding sections or blocks
  • Changing section or blocks’ settings, including adding images, videos, text, and data sources
  • Adding new templates
  • Adding, removing, or changing settings of app embeds or app extensions
  • Modifying translationsusing the Language Editor.

If you or an installed app made anycode changesto your theme, then you're informed that thesewon’t be includedin the updated version. If you want to keep these changes, then you need to copy your code to the new version or reconfigure some apps.

Code changes include:

  • Manual code changes to your theme files through the Code Editor (except files in the/templatesfolder andsettings_data.json).
  • Code changes that an app installed on your store has made to your theme on your behalf.
Sample online store with a code changed Dawn theme update available

更新后被添加到您的主题me library, read the release notes and review that your online store looks and functions as you expect, andPublishthe theme when you’re ready.

Automated Updates

When an automated update is applied to your theme by Shopify, a notification replaces the theme version number in your Shopify Admin.

Shopify will continue to apply automated updates to fix bugs or security issues in your theme. These updates don't modify the look and feel of your theme, your content, or settings. You can view the release notes for these updates by clickingView release notesin the theme's status.

Sample online store with a Dawn theme updated automatically

Updates not supported

Only themes installed through the Shopify Theme Store support updates. If you purchased a paid theme from a third-party theme designer, then contact them for updates.

Sample online store with a theme that does not support updates because it was not from the theme store

Only Online Store 2.0 themes support updates. If you’re on a vintage version of a Shopify theme, then it's been sunset and is no longer updated by Shopify. Considerupgrading to an Online Store 2.0 themeor seeking the assistance of a Shopify Partner to take advantage of the latest Shopify features.

If you're using a vintage paid theme, then work with a Shopify Partner to upgrade to an Online Store 2.0 and become eligible for in-Admin updates.

Sample online store with a theme that doesn't support updates because it's vintage

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, clickSettings>Apps and sales channels.

  2. From theApps and sales channelspage, click欧宝体育官网入口首页.

  3. ClickOpen sales channel.

  4. ClickThemes.

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

  6. ClickAdd 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.

After the updated theme is added to your theme library, clickReview themeto ensure that your online store looks and functions the way you expect. If you've added custom CSS to your theme, then ensure thatselectorsyou were targeting still exist in the latest version of your theme, and that your CSS is applied as expected. When you're ready to make the new theme version live, clickPublish.

Sample online store with an updated theme ready for review.

Download a theme file

If the update feature isn't 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 theShopify Theme Storeand 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.

Sample online store with no theme update available

与Shopif准备OB欧宝娱乐APP开始销售y?Try it free