commit f37c9fc1bd44650b22b8257ea5dc3b1cd91edfaa Author: Daniel Seifert Date: Fri Oct 26 22:10:22 2018 +0200 initial diff --git a/README.md b/README.md new file mode 100644 index 0000000..f2ff12f --- /dev/null +++ b/README.md @@ -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` diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..4992e2b --- /dev/null +++ b/composer.json @@ -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": "*" + } +}