×

 

Home Contact Us Payments SC Commerce SC Commerce Docs SC Commerce Snippets

Simply Computing

We make websites. Simple.

Fix Outdated Templates

Template updates and changes

We may sometimes update the default templates when a new version of SC Commerce is released.

You may occasionally need to update templates yourself or contact the theme author for an update. Most theme authors fix themes in a timely manner, so you should only need to update your theme to get the updated templates. However, you may need to update templates yourself if you modified templates or are using a child theme.

As a last resort you may need to select and use a different theme that already supports current SC Commerce templates.

How to update outdated templates

You will need to determine what templates to update, make a backup of old templates and then restore any customisations.

  1. Go toSC Commerce > Status > System Status. Scroll to the end of the page where there is a list of templates overridden by your theme/child theme and a warning message that they need to be updated. For example, this message shows the templates archive-product.php and content-product.php are outdated:

  1. Save a backup of the outdated template.
  2. Copy the default template from wp-content/plugins/classic-commerce/templates/[path-to-the-template] and paste it in your theme folder found at: wp-content/themes/[path-to-theme]
  3. Open the template you pasted into the theme folder with a text editor of choice, such as AtomVisual CodeBBEditNotepad++, and replicate any changes that you had to the previous template in your new, updated template file.

We recognize that it can be time-consuming. This is why we try to avoid changing SC Commerce templates.

Where can I find the latest version of SC Commerce?

If you’re looking for the default templates to use for updating, you will want to use the latest version of SC Commerce. You can access the template files via FTP.