How to Upgrade CS-Cart Safely: A Step-by-Step Checklist
A step-by-step checklist for upgrading CS-Cart safely: audit, staging, PHP requirements, third-party addons, testing, backup, rollback and the live switch.
Upgrading CS-Cart (sometimes written CS Cart) is one of those jobs that is easy to postpone. A busy season is coming, a third-party addon has no compatible version yet, or someone once edited core files and nobody is sure what an upgrade would overwrite. Each postponement makes the next upgrade bigger, and a store that cannot be upgraded safely will one day have to be upgraded in a hurry.
This guide walks through how to upgrade a CS-Cart 4.x store to the current release without breaking it, step by step. It applies to both CS-Cart Multi-Vendor and CS-Cart Ultimate, and it follows the same process we use on every upgrade.
Step 1: Audit the store before you touch it
An upgrade goes wrong in the places where a store departs from standard CS-Cart. The audit finds those places before they cause trouble. Write down:
- Edition and version. Multi-Vendor or Ultimate, and the exact CS-Cart 4.x version the store runs today.
- Installed addons. Every third-party addon, where it came from, and whether its source code is available.
- Theme. Whether the store uses a custom theme, and which templates have been copied and edited in it.
- Edited core files. Any change made directly in CS-Cart's core files.
Edited core files deserve the most attention, because the upgrade replaces core files with the new version's: those changes are either overwritten or they block the upgrade. To find them, compare the store against a clean copy of its current CS-Cart version. Every difference is a change someone made, and each one needs a decision before the upgrade starts.
Step 2: Set up a staging copy
Never upgrade the live store first. Copy the store's files and data to a staging environment, a separate copy of the store that customers never see, and run the whole upgrade there.
Staging is where you find out what breaks, at no cost to your customers. If you do not have a staging environment, set one up before going further. When we handle an upgrade, we always upgrade a staging copy first, and we set up the staging environment if the store does not have one.
Step 3: Check PHP and server requirements
A new CS-Cart release may need a newer PHP version than your server runs, and older custom code may not run on the newer PHP. Check the requirements of the release you are moving to against your server before the upgrade, not after it.
If the server needs changes, plan them with your hosting provider. We handle the PHP version requirement for the new release ourselves and coordinate any server-side changes with the store's host where needed.
Step 4: Decide what happens to each third-party addon
Addons are where most upgrade work goes. An addon written for an older version may rely on functions or hooks that have changed. For each addon from your audit, choose one of these paths:
- Update it. Marketplace addons can be updated when their developer has released a version compatible with the new CS-Cart release.
- Patch it. If the source code is available, the addon can often be patched to work with the new version.
- Rebuild or replace it. If it cannot be patched, rebuild it or replace it with an alternative that does the same job.
- Retire it. If none of these is possible, replace the addon rather than holding the whole store back for it.
Make these decisions during the audit, so the plan for each addon is agreed before work starts. If an addon needs rebuilding, our CS-Cart addon development team can build a replacement on the current version's hooks.
Step 5: Run the upgrade on staging
CS-Cart provides an official Upgrade Center for moving a store to a newer release. Use it where the store allows. Where addon or theme compatibility requires it, some steps have to be done manually instead. The audit tells you in advance which applies to your store.
After the core upgrade, work through the fixes your audit identified: addons updated, patched or replaced; theme templates brought in line with the new version's markup; and any core edits dealt with.
Step 6: Test everything that earns money
A store that loads is not the same as a store that works. Before go-live, test on staging:
- Checkout and payments. Place real test orders with every payment method the store offers.
- Order statuses and emails. Move orders through their statuses and check the notifications customers and admins receive.
- Shipping. Rates, carrier choices and any courier integrations.
- Addon features. Every feature a third-party or custom addon provides.
- The storefront. Product pages, filters, cart and checkout on mobile and desktop.
- The vendor panel. On Multi-Vendor, vendor product upload, vendor orders and payouts.
Step 7: Back up, prepare a rollback, and switch
Before the live switch, take a full backup and prepare a rollback plan, and test the rollback rather than assuming it works. If anything unexpected appears after go-live, the store can then be returned to its previous state.
Agree a maintenance window for the switch, at a time that suits your customers. Because the upgrade and testing have already happened on staging, the switch itself can be a DNS or docroot change rather than an upgrade running on the live store, which keeps downtime typically minimal.
Step 8: After go-live, make the next upgrade easier
Watch orders, payments and error logs closely in the days after the switch. Then deal with the root cause of difficult upgrades: code living in the wrong place.
CS-Cart ships with an empty my_changes addon for store-specific code that upgrades will not overwrite. Moving core edits into it, or into a dedicated addon, means they survive this upgrade and every one after it. Our page on upgrade-safe CS-Cart customization explains how we keep changes out of core files.
The checklist
- Record the edition, version, addons and theme.
- Compare against a clean copy to find edited core files.
- Set up a staging copy of the store.
- Check PHP and server requirements for the new release.
- Decide per addon: update, patch, rebuild or replace.
- Run the upgrade on staging, through the Upgrade Center where possible.
- Fix addons, theme and core edits, then test checkout, orders, shipping, addons, storefront and vendor panel.
- Take a full backup and test the rollback plan.
- Switch in an agreed maintenance window.
- Monitor, then move remaining core edits into an addon.
If you would rather hand the work over, our CS-Cart upgrade services follow this process from audit to go-live, scoped per store after an audit, with 30 days of free bug-fixing after go-live. For ongoing maintenance between upgrades, you can also hire a dedicated CS-Cart developer.
Common questions
Can I upgrade CS-Cart directly from an old 4.x version to the current release?
We handle upgrades from any CS-Cart 4.x version to the current release. Stores on CS-Cart 3.x or 2.x are outside the upgrades we take on.
Should I upgrade the live store or a copy?
Always a staging copy first. The live store is switched only after the upgraded copy has been tested.
What happens to third-party addons during an upgrade?
Each one is updated, patched, rebuilt or replaced, depending on whether a compatible version or the source code is available. Where none of that is possible, replacing the addon is the safer choice.
Will the store be offline?
Only for the switch itself, which runs in an agreed maintenance window. With the upgrade done on staging, the switch can be a DNS or docroot change, so downtime is typically minimal.
Who pays for the CS-Cart license during an upgrade?
The CS-Cart license and upgrade subscription are the store owner's responsibility.
Related Articles
SysNova Technologies, H NO 152 Muradgarhi, YEIDA Development Area, Gautam Buddh Nagar, 203209
Phone: +91 9793760210
Email: sales@sysnovatech.com