How to Update CoCart

Updates to CoCart, WooCommerce, WordPress and any other plugin are a fact of life. I work hard to make sure that each release provides an improvement, new features, fixes issues, compatibility, even tighten security to make CoCart do what it needs to do for your headless store.

So how do you update CoCart and without causing an issue?

Backups

While running a headless website is not the same as a regular WordPress website, it is still important to backup the infrastructure that allows you to run it.

Automatic backups

The most efficient and reliable approach is to use an automated site backup service. There are many available that provide such a service including Jetpack. Besides not having to do anything manually, you benefit from:

  • Unlimited storage space.
  • Automated, regular backups of your entire site including your database, all content, plugins & themes, settings, and more.
  • Instant restores so you can revert to a previous version with one click.
  • Direct access to 24/7 expert support.

Manual backups

To do things manually, there are two parts to backing up your store:

  1. Backup your database! There are multiple ways to do this, see the Codex for your options to back up your content. Both manual and plugin options exist.
  2. Using SFTP head to your wp-content folder to backup your theme and plugin files.

Testing Updates

When testing updates it’s best to create a second WordPress install on your host with a restored backup of your live site to it. This will allow you to safely run test updates.

If all goes well during the staging tests, then you are ready to update your live site.

CoCart data update notice

A CoCart Database Update notice will display when you have upgraded/updated to a new version of CoCart and a database update is needed:

  • Update CoCart Database starts the process of updating your database to match the plugin version you installed or updated to. The database organizes, contains, and stores your customers cart in session. It is an essential process.
  • Learn more about updates will take you to this page to explain best practices pertaining to updating CoCart.

Ensure you have a backup in place and click the “Update CoCart Database” button. The update process will start:

  • View progress will take you to the Scheduled Actions section and show the Pending actions for the update.

Once it is completed, the next time you view an admin page you will see the dismissable update complete banner:

Questions

Still have questions and need assistance? Get in touch with me via the live chat. I also provide priority support separately if you are not a CoCart Pro customer.

Learn more