This commit is contained in:
Daniel Seifert 2018-10-26 22:10:22 +02:00
commit f37c9fc1bd
2 changed files with 34 additions and 0 deletions

23
README.md Normal file
View File

@ -0,0 +1,23 @@
# Amazon Pay replacement if module is not used
This package removes the unused OXID Amazon Pay module package from the shop and prevents conflicts in later updates.
## Install
if the Amazon Pay module is not used and should be removed from the shop installation
* Deactivate the Amazon Pay module in the shop backend.
* Run this composer statement in your shop. Adjust this instruction if your installation requires it.
`composer require d3/oxid-amazonpay-replacement --update-no-dev`
* Manually remove the files from source/modules/bestit/amazonpay4oxid.
## Uninstall
if the Amazon Pay module is to be used again
* Manually clean up the replacement module entry (d3/oxid-amazonpay-replacement) from the vendor/composer/installed.json and composer.lock files.
* Run this composer statement in your shop. Adjust this instruction if your installation requires it.
`composer remove d3/oxid-amazonpay-replacement --update-no-dev`

11
composer.json Normal file
View File

@ -0,0 +1,11 @@
{
"name": "d3/oxid-amazonpay-replacement",
"description": "Empty replacement for the Amazon Pay module if it is not used and should be removed from the installation.",
"version": "1.0.0",
"require": {
"oxid-esales/oxideshop-metapackage-ce": "^6.0"
},
"replace": {
"bestit/amazonpay4oxid": "*"
}
}