Skip to content

webdreamsnc/magento2-sib-order-sync

 
 

Repository files navigation

Sendinblue Magento2 Module

Dadolun_SibOrderSync

Features

Order Syncronization functionality for Sendinblue - Magento2 integration.

This module sync all your Magento2 orders (for newsletter subscribed users) to Sendinblue.

These are the default built in transactional attributes:

  • ORDER_ID
  • ORDER_DATE
  • ORDER_PRICE
  • ORDER_PRICE_INVOICED
  • ORDER_STATUS

These are the default built in calculated attributes:

  • MAGENTO_LAST_30_DAYS_AMOUNT
  • MAGENTO_LAST_30_DAYS_AMOUNT_INVOICED
  • MAGENTO_ORDER_TOTAL
  • MAGENTO_ORDER_TOTAL_INVOICED
  • MAGENTO_ORDER_AMOUNT
  • MAGENTO_ORDER_AMOUNT_INVOICED

Installation

You can install this module adding it on app/code folder or with composer.

COMPOSER
REPMAN.IO (Preferred)

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
VCS

Same result specifing VCS type nodes on composer 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
MAGENTO

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
CONFIGURATION

You must enable the order sync from "Stores > Configurations > Dadolun > Sendinblue > Order Sync" section. The module provides a "Sync order" CTA on adminhtml that move all existing order (made from newsletter subscribed contacts) to Sendinblue (only new orders are synced on runtime).

Contributing

Contributions are very welcome. In order to contribute, please fork this repository and submit a pull request.

About

Magento2 Sendinblue Order Sync Integration Module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 89.8%
  • HTML 10.2%