Overview
Zen Cart and OpenCart are both self-hosted PHP carts, so a migration is a database-to-database move. Neither side has a native path: Zen Cart has no import or export screen (product CSV needs a plugin such as DbIo), and OpenCart only restores its own .sql backups. In practice the move is done with a migration tool or a script that reads Zen Cart's database and writes OpenCart's.
Two things make this pair better than most. Passwords can often carry over: current Zen Cart hashes passwords with PHP's password_hash(), and OpenCart 4's login checks password_verify() first, so those customers can keep signing in with their old password. Options map cleanly: both carts store option values with +/- price and weight adjustments. What needs work is every URL (Zen Cart's index.php?main_page=... addresses, and OpenCart has no core redirect manager), coupons longer than 20 characters, and gift certificates.
This guide covers Zen Cart 2.2.x (for PHP 8.2 to 8.5) and OpenCart 4.1.0.4, whose installer needs PHP 8.1 or later.
This guide covers moving from Zen Cart to OpenCart — see OpenCart's release history and version notes on its technology page.
Want a plan tailored to your Zen Cart → OpenCart migration?
Get my planHave We Do Dev Work do it: from €2,000 (small shop migration). Excl. VAT, for businesses. The final price follows a short call.
What transfers cleanly from Zen Cart to OpenCart
- Products, categories and manufacturers, with a tool. Migration tools on the OpenCart marketplace that name Zen Cart move products, categories, manufacturers, customers, orders and reviews from database to database.
- Options. Zen Cart attributes and OpenCart option values both carry a +/- price and weight adjustment, so an option like "Size L, +€2" keeps its meaning.
- Most customer passwords, on OpenCart 4. Current Zen Cart stores password_hash() hashes, and OpenCart 4.1's login tries password_verify() first, so a copied hash keeps working. Old Zen Cart hashes (md5 or sha256 with a salt, from older versions) don't match any OpenCart check, and OpenCart 3.0 can't check any Zen Cart format.
- Customers and orders, with a tool. Neither cart imports customers or orders from a CSV, so they go across database to database with the same tool.
What does not transfer
- Your URLs. Zen Cart's default URLs look like index.php?main_page=product_info&products_id=27; readable URLs need a plugin. OpenCart uses SEO keywords that can only contain a–z, 0–9, - and _ (no dots), so every page gets a new address.
- Redirects, in OpenCart core. OpenCart has no built-in redirect manager. 301s come from the migration tool (LitExtension offers a 301 option) or a redirect extension from the OpenCart marketplace. Test that it handles Zen Cart's query-string URLs before you rely on it.
- Coupon codes over 20 characters. Zen Cart allows codes up to 32 characters; OpenCart's coupon code field holds 20. Shorten long codes before the move.
- Gift certificates, in core. OpenCart 4 moved vouchers out of core into extensions, so Zen Cart gift certificate balances need an extension (or OpenCart 3, which still has vouchers) and a manual carry-over.
- Plugins and template changes. Zen Cart plugins and template overrides don't carry over; each is replaced with an OpenCart extension or rebuilt.
Effort drivers
- Catalog size and attributes: how many products, and how complex the attribute setups are.
- URLs: how many pages rank, and whether your Zen Cart uses default query-string URLs or an SEO URL plugin. Every old URL needs a 301 to its new OpenCart address.
- Old password hashes: stores that started on an old Zen Cart version may still hold old-format hashes; those customers need a password reset.
- Plugins: each Zen Cart plugin you rely on (payment, shipping, feeds) needs an OpenCart extension or custom work.
- Gift certificates and coupons: open balances and long codes need manual handling.
Recommended approach
Do it yourself, with a tool, or with an agency?
- Migration tools that name Zen Cart → OpenCart on the OpenCart marketplace: Cart2Cart (products, categories, manufacturers, customers, orders and reviews; no 301 option), LitExtension (priced by the number of records; offers 301 redirects and password migration) and Next-Cart (lists Zen Cart as a source, including customers with passwords). Check which OpenCart version each one supports before you buy: some listings stop at 4.1.0.3. Run a demo migration first.
- A database script works if you have a developer: both carts are MySQL, and the tables map closely (products, options, customers).
An agency adds what the tools don't: the redirect map, the theme, extension replacements, gift certificates and the launch. We Do Dev Work (the team behind MigrateXtoY) does Zen Cart to OpenCart migrations from €2,000 for a small shop, from €5,000 for a medium shop (500–5,000 products, a few integrations), and large or custom stores from €12,500 on quote. Prices exclude VAT and are for businesses; the final price follows a short call.
Timeline. In our projects a small shop takes about 4–8 working days, a medium shop 10–20, and a large or custom store 25 or more. The redirects and extension work usually take longer than moving the data.
Checklist
- Back up Zen Cart: all files plus a full database dump.
- Install OpenCart 4.1 on PHP 8.1 or later, on a staging address.
- List your Zen Cart plugins and find an OpenCart extension for each.
- Run a demo migration and check products, options and a few customer logins.
- Shorten coupon codes over 20 characters, and list open gift certificate balances.
- Run the full migration.
- Build the redirect map from every Zen Cart URL to its OpenCart address, and set it up with the tool's 301 option or a redirect extension.
- Build the theme and set up payments, shipping and taxes.
- Go live, submit the new sitemap in Google Search Console, and send a password reset to customers with old-format hashes.
- Watch 404s and rankings for a few weeks.
FAQ
- Can customers keep their passwords when moving from Zen Cart to OpenCart?
- Mostly, on OpenCart 4. Current Zen Cart uses PHP's password_hash(), and OpenCart 4.1 checks password_verify() first, so copied hashes keep working. Hashes from old Zen Cart versions don't match, and OpenCart 3.0 can't check any Zen Cart format, so those customers need a reset.
- Will my Zen Cart URLs keep their rankings?
- Only with redirects. Every URL changes, and OpenCart has no built-in redirect manager, so use the migration tool's 301 option or a redirect extension. Zen Cart's default URLs contain query strings (index.php?main_page=...), so test that your redirect method handles them.
- Do product attributes survive the move?
- Yes, they map well: both Zen Cart attributes and OpenCart options store a +/- price and weight adjustment per value. Check a few complex products after a demo migration.
- What happens to coupons and gift certificates?
- Coupon codes longer than 20 characters don't fit OpenCart's code field, so shorten them first. OpenCart 4 has no gift certificates in core; you need an extension, and the open balances are carried over by hand.
- Is there a tool for Zen Cart to OpenCart?
- Yes: Cart2Cart, LitExtension and Next-Cart name Zen Cart → OpenCart on the OpenCart marketplace. Check which OpenCart version each supports, and run a demo first.
- How much does a Zen Cart to OpenCart migration cost?
- Tools price by the number of records. With We Do Dev Work, from €2,000 for a small shop and from €5,000 for a medium one (excluding VAT), and from €12,500 on quote for large or custom stores.
