Order data

Contents

Steps to enable order data syncing
List of synced order data
FAQs

Summary

The dotmailer for Magento connector fully utilises the dotmailer OrderInsight module. Enabling this feature will allow you to synchronise your customers' order information and current basket contents. This allows for deep segmentation within dotmailer, enabling highly targeted email marketing.

To be able to synchronise your customers' order information, you will firstly require the OrderInsight module working in your account. Speak with your account manager to have this enabled for you.

Orders are synced and batched once they are created but are also updated within dotmailer when any modifications are made to the quote after their creation.

In addition to the default data that we sync across (as explained below), we also offer a range of configurable options to allow you to customise the data and the format of the data which is sent to dotmailer. You can find out more about these options in 'Insight data - Settings'.

Steps to enable order data syncing

To do this, follow these steps:

1. Go to System > ConfigurationDOTMAILER Sync Settings.

2. Enable Order Sync from under the 'Sync' section.

mag_order_sync.png

3. Click Save Config in the top right. Magento will then confirm that the settings have been saved and the synchronisation will begin; the order data will shortly be available in your dotmailer account.

List of synced order data

The order data that is synced includes:

  • ID - The Magento database ID for the order
  • email - The email address of the contact who placed the order
  • quote_id - The database quote ID the order was created from
  • store_name - The Magento store name the order was placed on
  • purchased_date - The date and time of the order
  • order_subtotal - The order subtotal
  • discount_amount - The total amount discounted on the order
  • order_total - The total amount the customer paid
  • payment - The payment method the customer used
  • delivery_method - The delivery method selected
  • delivery_total - The amount paid for delivery
  • currency - The currency the order was placed in
  • order_status - The current status of the order
  • couponcode - The coupon code used on the order if applicable

Details for the billing and shipping address used to place the order are also synced.

Furthermore, the following information is synced for every product within the order:

  • name - The name of the product 
  • sku - The SKU of the product
  • qty - The quantity of the product purchased
  • price - The price paid for the product
  • attribute-set - The attribute set from Magento assigned to the product
  • categories - The categories associated with the product

FAQs

I have enabled the order sync but nothing is displaying in dotmailer. How come?

This could be for the following reasons:

  • You do not have valid API credentials or saved details
  • OrderInsight is not enabled on your account
  • Cron is not running on your site
  • The importer is currently processing other imports and hasn't got to the order import yet

I have order data in dotmailer but some of the values for orders are empty. Why would that be the case?

This could either be that the data doesn't exist for that order (e.g. the delivery amount wasn't paid), or the source data in Magento no longer exists (e.g. you had old payment methods in Magento that no longer exist).

Why is the order data marked as imported in Magento but not displaying in dotmailer?

Insight data can take several minutes to import and show in dotmailer, even after a sync is complete. You might want to ensure you don't already have order data imported with matching IDs, perhaps coming from a staging site, as this key must be unique. 

Please comment underneath with any further questions you may have.

Magento 2.0

The above also applies for Magento 2.0, with the only difference being that 'Order Sync' is found by going to Stores > Configuration > DOTMAILER > Sync Settings > Sync

Have more questions? Submit a request

Comments

Powered by Zendesk