Skip to content

Case study

Rebuilding and migrating a large store from OpenCart 2 to OpenCart 4

OpenCart

Specialist e-commerce

Rebuilding and migrating a large store from OpenCart 2 to OpenCart 4

AI-generated visualisation. It replaces a confidential view of a white-label project.

Summary

We rebuilt an extensive specialist store that had stopped working on an older version of OpenCart. The project covered a safe migration of more than 20,000 products and other data, malware removal, recreating the theme and purchase processes, restoring integrations and restarting sales.

01

Starting point

The store ran on an unsupported version of OpenCart and stopped working when the host withdrew the old PHP environment. The installation was infected, some admin and sales features didn’t work, and the integration modules used previously weren’t available for the new version of the platform.

02

Business problem

The outage blocked sales and catalogue management. The company needed to recover everything the store had built up, keep the existing URLs visible in Google and restart key processes without carrying the infection over or making the new version dependent on unsupported extensions.

03

Risks

The biggest risks were carrying over malicious code, losing or corrupting catalogue and order data, changing more than 12,000 search-friendly URLs, errors in the checkout and payments, and uncontrolled changes to prices or stock while rebuilding the integration with an external supplier.

04

Scope of responsibility

We were responsible for analysing and securing the initial state, data migration, a clean target environment, porting the theme, the checkout, shipping and payments, rebuilding the warehouse integration, fixing search and filters, testing on a copy and a controlled production deployment.


05

Solution

We built a new OpenCart 4 installation and moved the catalogue, categories, manufacturers, content, orders and settings into it. The theme was recreated on a current front end, and search, the product compatibility selector, banners, navigation, the blog, product codes, order data and availability locks were restored or fixed. The checkout got guest checkout, shipping and payment integrations and a clear summary. We replaced the wholesalers’ previously closed integrations with our own module with an admin panel and daily stock synchronisation.


06

Architecture and integrations

OpenCart 4 runs on a current PHP and MySQL environment. We carried out the migration and testing first in an isolated Docker environment. The store layer includes the recreated theme, the checkout, payment and courier integrations, and our own import module. A scheduler regularly fetches the external supplier’s data and updates only stock levels, without touching prices.


07

Results

The store is back in production on a supported platform. More than 20,000 products, the existing URL structure and the blog were kept, product codes were made visible again for more than 19,000 items, and synchronisation was launched for more than 1,200 of the supplier’s products. Several hundred items compared with the source file had matching stock, rerunning the import was idempotent, and prices and products outside the synchronisation stayed unchanged.

Technologies

OpenCart 2.3 and 4.1, PHP, MySQL, Apache, Bootstrap 5, Docker, malware scanning, cron, our own import module, payment and courier integrations.

Next steps

After stabilisation, further development of supplier automation, monitoring of purchase processes and technical care is possible. The scope was designed so that further integrations can be added without going back to the old platform’s closed modules.

In a similar situation?

Let’s discuss a safe first step.