Linux

Where Does OpenCart Store Orders and Images?

Where self hosted OpenCart keeps orders and images on Linux servers. Full paths are listed below. More below.

Last updated

OpenCart is lightweight shop with server storage. The database holds products, orders, and customers. Images sit in the image directory. Extensions cache beside them.

Same database plus image means same shop. Exact paths vary by host. Keep backups of both together. One without the other restores products without pictures. For moves, enable maintenance first to freeze orders during dumps. Check the in app storage readout when sizes look wrong on different releases. When in doubt, verify paths inside the app before trusting a remembered folder.

Where OpenCart stores this, by platform

Linux
/var/www/html/image (images beside database, paths vary)

Products and orders live in the database with pictures beside it in image. Back up both together with maintenance on. Match releases before restore.

Frequently asked questions

How do I migrate OpenCart to a new server?

Back up the OpenCart database plus image directory with maintenance on, then install the same release on the new server before restore. Products and orders follow the database. Mixed releases can break themes, so match versions first.

Where are OpenCart product images stored?

In the MySQL database on your server with pictures beside it in image storage. The browser holds login plus admin cache only. Export products as CSVs from admin settings for records, since devices never hold the master catalog alone.

Notice an outdated path? Let us know.