This document describes patches and minor updates starting with version 6.0.0 of OXID eShop. Follow the steps below to upgrade the compilation from an existing version 6.* to a newer version 6.* .
Updates should always be installed in a test environment, a copy of your current shop. Backup the shop files and the database before updating. Disable all modules and check whether the shop works in general. After updating, test the shop again by paying special attention to the ordering process as well as payment and shipping methods.
Specifying the target version of the update¶
Enter the version to which you want to update in the
composer.json file located in the shop’s main directory. To do this, open the file in any editor and enter the desired version for the metapackage. Example:
Open a shell in the shop’s main directory and execute the following Composer command. This will update all required libraries. Specify the --no-dev parameter if the development-related files are not required.
composer update --no-plugins --no-scripts --no-dev
Obtaining new compilation¶
The second Composer command executes all scripts to obtain the new compilation. For shop files, themes and modules, you will need to confirm that the update will overwrite the existing files.
composer update --no-dev
The third and final Composer command will migrate the database if necessary.
This completes the updating process.