1. Home
  2. WC Vendors Marketplace
  3. Getting Started
  4. Upgrading to WC Vendors 2.0
  1. Home
  2. WC Vendors Marketplace
  3. Upgrading to WC Vendors 2.0

Upgrading to WC Vendors 2.0

MAJOR UPDATE

This is a major update that may cause your site to break. You should test this on a staging server before you try this update on your live site. Perform a backup before you update.

WC Vendors 2.0 introduces some significant changes that required some breaking changes to be created. This means that WC Vendors 2.0 is not backwards compatible with any of our plugins or 3rd party plugins or themes.

A list of new features can be found in our blog post here. https://www.wcvendors.com/2018/03/announcing-wc-vendors-2-0/

You should have a staging server setup to perform your testing. The following will need to be tested.

  • Your theme and any functions overrides
  • Any 3rd party plugins written for WC Vendors

All of our extensions will need to be updated to continue working with WC Vendors 2.0.0 and include the following :

  • WC Vendors Pro
  • WC Vendors Bookings Integration
  • WC Vendors Stripe Gateway
  • WC Vendors Simple Auctions

Backups

You should be performing regular updates of your marketplace to ensure that if you do have any issues you can quickly and easily restore any problems. There are two areas that need to be backed up

  • Files – This is your themes, plugins and uploaded data
  • Database – This is everything

How to backup 

Automatic

If you are using dedicated WordPress hosting or managed hosting then your site is probably being backed up or has an option for backup. Contact your hosting company to see if this is being performed. If it isn’t get this setup so that you can get back to managing your marketplace.

Manually

You can manually backup your files and database using plugins or via FTP. You can find any number of blog articles on how to do this online.

Staging Server

A marketplace is a business and staying online and selling is critical to any online business due to this a staging server is a must have. A staging server is an exact copy of your website that you can test updates on. This ensures that you can test any critical updates like our major update without affecting your main website. If you do not have a staging server setup, contact your hosting company to see if this is an option. There is also a plugin that allows you to setup a staging server which is another option. You can find more information about this option here – https://wordpress.org/plugins/wp-staging/

How to Upgrade

After all your testing has been completed and you are confident that your configuration is ready for the upgrade. You can simply run the update as you would for any other versions.

WC Vendors Pro Users

Please Note

Deactivate WC Vendors Pro BEFORE you run this update. 

Automatic

  1. Login to your WordPress Admin
  2. Go to the plugin screen
  3. Click “update now”
  4. You will be prompted to run the upgrade script. This will migrate all your settings into the new system.
  5. Confirm that your settings have been completely migrated.
  6. Update complete.

Manually via WordPress Dashboard

  1. Download the latest version of WC Vendors from WordPress.org
  2. Login to your WordPress Dashboard
  3. Go to the plugins page
  4. Select Add New
  5. Then click Upload plugin
  6. Upload the zip file.
  7. Return to the plugin screen.
  8. Deactivate the current version of WC Vendors if it is still active.
  9. Activate WC Vendors 2.0
  10. You will be prompted to run the upgrade script. This will migrate all your settings into the new system.
  11. Confirm that your settings have been completely migrated.
  12. Update complete.

Manually Via FTP/SFTP

  1. Download the latest version of WC Vendors from WordPress.org
  2. Uncompress the zip file on your local computer
  3. FTP/SFTP to your web host
  4. Navigate to wp-content/plugins
  5. Upload the new WC Vendors 2.0 (you can overwrite the existing files but do not merge them)
  6. Login to your WordPress Dashboard
  7. Go to the plugins page
  8. If the plugin is not activated, activate it
  9. You will be prompted to run the upgrade script. This will migrate all your settings into the new system.
  10. Confirm that your settings have been completely migrated.
  11. Update complete.

Problem

Although we have tested this there is always a chance that something in your specific setup will discover a bug that we were unable to test for. If this is the case, please post the issue to our support forums.

https://wordpress.org/support/plugin/wc-vendors

Can I Downgrade?

Although WC Vendors 2.0 is not backwards compatible you can downgrade back to the 1.9 branch without any issue. The easiest way to do this is via the WP Rollback plugin – https://wordpress.org/plugins/wp-rollback/

Updated on May 16, 2018

Was this article helpful?