This commit is contained in:
Daniel Seifert 2021-08-25 13:37:34 +02:00
commit dec1efd7d9
Signed by: DanielS
GPG Key ID: 8A7C4C6ED1915C6F
2 changed files with 44 additions and 0 deletions

33
README.md Normal file
View File

@ -0,0 +1,33 @@
# Cookie consent replacement if module is not used
This package removes the unused `OXID Cookie Management powered by usercentrics` package from the shop and prevents conflicts in later updates.
## Install
if the cookie consent module is not used and should be removed from the shop installation
* Deactivate the cookie consent module in the shop backend.
* Run this composer statement in your shop. Adjust this instruction if your installation requires it.
`composer require d3/oxid-cookieconsent-replacement --update-no-dev`
* Manually remove the files from source/modules/oxps/usercentrics.
* OXID eShop 6.2 only:
```
composer require -n oxid-esales/oxideshop-update-component oxid-esales/developer-tools --update-no-dev
vendor/bin/oe-console oe:module:reset-configurations
vendor/bin/oe-console oe:oxideshop-update-component:install-all-modules
composer remove -n oxid-esales/oxideshop-update-component oxid-esales/developer-tools --update-no-dev
```
Please ignore "not readable file" message.
## Uninstall
if the cookie consent module is to be used again
* Manually clean up the replacement module entry (d3/oxid-cookieconsent-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-cookieconsent-replacement --update-no-dev`

11
composer.json Normal file
View File

@ -0,0 +1,11 @@
{
"name": "d3/oxid-cookieconsent-replacement",
"description": "Empty replacement for the OXID Cookie Management powered by usercentrics if it is not used and should be removed from the installation.",
"require": {
"oxid-esales/oxideshop-metapackage-ce": "^6.0"
},
"replace": {
"oxid-professional-services/usercentrics": "*"
},
"license": "GPL-3.0-or-later"
}