From dec1efd7d9a80bc771e5a5a7a6fdd7bc4baff38a Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Wed, 25 Aug 2021 13:37:34 +0200 Subject: [PATCH] initial --- README.md | 33 +++++++++++++++++++++++++++++++++ composer.json | 11 +++++++++++ 2 files changed, 44 insertions(+) create mode 100644 README.md create mode 100644 composer.json diff --git a/README.md b/README.md new file mode 100644 index 0000000..4365f9c --- /dev/null +++ b/README.md @@ -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` diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..a75c3cd --- /dev/null +++ b/composer.json @@ -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" +} \ No newline at end of file