And now I’ll give a brief overview of each version.
OpenCart 2

The main difference is that the Twig templating engine was introduced in version 3. OpenCart 2 uses templates with the .tpl extension. This is why templates written for version 2 do not work in version 3, so it is not possible to upgrade quickly without making some modifications.
There are a huge number of modules and templates available for this version. However, as it runs on outdated versions of PHP and contains obsolete code, there is virtually no point in using it to set up a new online shop today.
OpenCart 3 — the best option

- We have significantly improved the SEO functionality.
- A huge selection of modules and templates.
- Good compatibility with modern versions of PHP.
- Reliable performance and minimal compatibility issues.
If you’re setting up a new online shop and don’t want to waste time searching for compatible modules, ocStore 3 is the best choice.
OpenCart 4
It looks almost exactly the same as OpenCart 3.

- The updated Bootstrap.
- The new version of Twig 3.
- Support for PHP 8.
- A more modern architectural style.