Due to the specifics of CMS OpenCart, it uses global binding to the URL-site (domain) and absolute paths to system modules.
These parameters are globally specified in the CMS environment and are called using the parameters: HTTP_SERVER, HTTPS_SERVER, HTTP_CATALOG, HTTPS_CATALOG and DIR_ {VARIABLE} , as paths to modules and system folders.
To change the site address, you need to specify in the site configuration files: config.php and admin/config.php, information about which you can find on the page :
1. New name for variables: HTTP_SERVER, HTTPS_SERVER, HTTP_CATALOG, HTTPS_CATALOG, details are available at the link
2. Absolute path to system modules in DIR_{VARIABLE} variables, details are available at the link
All question categories