Scenario 1 - Fresh installation/upgrading of Magento to 2.2.2 or above with integrated Dotdigital connector (v2.3.8), with no prior connector installed
Before you start
You must upgrade to the latest connector version.
Steps:
Fresh install of 2.2.2 or above.
Run command "composer require dotmailer/dotmailer-magento2-extension"
Run command "bin/magento setup:upgrade"
Result: Connector is upgraded to the latest connector version.
Scenario 2a - Upgrading Magento to 2.2.2 or above, with non-integrated Dotdigital connector (lower than v2.3.8) already installed with Composer
Before you start
You must upgrade to Magento 2.2.2 or above and fetch latest connector version.
Steps:
Upgrade to 2.2.2 or above
Run "composer require dotmailer/dotmailer-magento2-extension"
Result: Connector is upgraded to the latest version.
Scenario 2b - Upgrading Magento to 2.2.2 or above, with non-integrated Dotdigital connector (higher than v2.3.8) already installed with Composer
Before you start
You must upgrade to Magento 2.2.2 or above and fetch latest connector version.
Steps:
Upgrade to 2.2.2 or above
Run "composer update dotmailer/dotmailer-magento2-extension"
Result: Connector is upgraded to latest version.
Scenario 3 - Upgrading Magento to 2.2.2 or above, with non-integrated Dotdigital connector already installed with a package drop
Before you start
You must upgrade to Magento 2.2.2 or above and fetch latest connector version.
Steps:
Uninstall the non-integrated connector using the following steps:
Remove the folder app/code/Dotdigitalgroup/Email
Remove Dotdigitalgroup_Email from app/etc/config.php
Upgrade to 2.2.2 or above
Run command "composer require dotmailer/dotmailer-magento2-extension"
Run command "bin/magento setup:upgrade"
Result: Connector is upgraded to latest version.
Connector tables will be re-created and all the data will get re-imported in the above scenario.