Contact Syncronization functionality for Sendinblue - Magento2 integration.
This module sync all your Magento2 subscribers to Sendinblue.
These are the default built in contact attributes:
- FIRSTNAME
- LASTNAME
- MAGENTO_LANG
- CLIENT (subscribed customer only)
- COMPANY (subscribed customer only)
- CITY (subscribed customer only)
- COUNTRY_ID (subscribed customer only)
- POSTCODE (subscribed customer only)
- STREET (subscribed customer only)
- REGION (subscribed customer only)
- STORE_ID (subscribed customer only)
Double optin and email confirmation are demanded to Magento2 (Different behavior from the official module).
You can install this module adding it on app/code folder or with composer.
Add Dadolun_Sib repman organization access token on composer:
composer config --global --auth http-basic.dadolun_sib.repo.repman.io token e8d9440ca95f7a67c6c70cce55a2352322b89e2fc8c1c7391cd9052578aa6e77
Add a "repositories" node on your composer.json:
{
"type": "composer",
"url": "https://dadolun_sib.repo.repman.io"
}
Execute this command:
composer require dadolun95/magento2-sib-order-sync
Same result specifing VCS type nodes on repositories section:
{
"type": "vcs",
"url": "[email protected]:dadolun95/magento2-sib-core.git"
},
{
"type": "vcs",
"url": "[email protected]:dadolun95/magento2-sib-contact-sync.git"
},
{
"type": "vcs",
"url": "[email protected]:dadolun95/magento2-sib-order-sync.git"
}
composer require dadolun95/magento2-sib-order-sync
Then you'll need to enable the module and update your database:
php bin/magento module:enable Dadolun_SibCore
php bin/magento module:enable Dadolun_SibContactSync
php bin/magento module:enable Dadolun_SibOrderSync
php bin/magento setup:upgrade
php bin/magento setup:di:compile
You must enable the contact sync from "Stores > Configurations > Dadolun > Sendinblue > Contact Sync" section. The module provides a "Sync contact" CTA on adminhtml that move all existing contacts to Sendinblue (only new subscribers are synced on runtime). Since sync functionality is enabled two Sendinblue lists are created:
- [Magento Optin Form] > Temp - DOUBLE OPTIN (contacts that need confirmation are moved here temporarely)
- [magento] > subscriptions
Contributions are very welcome. In order to contribute, please fork this repository and submit a pull request.