Which synching mode to use?
In order to take into account the different server performances, the module offers 3 data synchronization modes, from the moment you activate the e-commerce feature.
In the "Configuration" sub-tab of the "E-commerce" tab, after you have configured the data to synchronize, you access the "Server performances" part (scroll down to the bottom of the page):
For each type of data, you have the ability to configure, according to the volume of data, the synchronization mode that fits the best to your server performances.
- Regular (real time)
- Data batch (single bulk action, limited to 500 items)
- CRON task (looped bulk action, for very large number of items)
"Regular" synchronization mode (real time)
This mode is probably the most interesting because it allows real-time synchronization of data with MailChimp. When a modification is made, whether on the back or front office side, it is instantly sent to MailChimp via its API. MailChimp receives the information, processes it and sends its response to your shop.
In general, all this is done instantly, unless you send a large amount of data to be processed at the same time (in the case of a mass update through a third-party tool such as Store Manager for example). In this case, as your shop waits for the response from MailChimp for each synchronized data before continuing to run normally, it is possible that the performance of your site will be impacted. If this happens, we recommend that you choose one of the other two synchronization modes.
"Data batch" synchronization mode (single bulk action, limited to 500 items)
This mode will be useful if you need to synchronize a large number of elements but less than 500. It allows you to send data in a batch, instead of sending them one by one, this batch containing up to 500 items. This batch is fully processed on the MailChimp side before a response is sent back to your shop. Due to the processing time, synchronizations are not in real time. However, this allows your shop to continue to run normally because it is not waiting for MailChimp to respond for each data sent. The risk of slowing down your shop is therefore lower.
If the volume of items to be synchronized at the same time is greater than 500, then you should not choose this mode because the synchronization will be incomplete. Choose the CRON task synchronization mode (see below).
"CRON task" synchronization mode (looped bulk action, for very large number of items)
If you make massive updates of more than 500 items at once, then choose this synchronization mode.
Indeed, by installing a CRON task you will be able to schedule the synchronization of a very large amount of data. The data volume is divided into several batches of 500 data each. Each batch is sent one after the other to be processed by MailChimp until there is no more, unlike the previous mode which sends only one batch (no loop) and therefore 500 data maximum.
In addition, you can define when you want synchronizations to take place. You can use this FAQ to help you create your CRON tasks.
In case the mass updates are too large and that during manual synchronization you note that the process is too long, we also provide you a CRON task URL to be set up to help MailChimp sort and delete the necessary data batches. But, be careful, this task CRON URL must be used only in very specific cases.
Other FAQs in this category
- Do I have to activate the GDPR fields option?
- How to synchronize my users e-mail addresses?
- How to set a sign-up MailChimp form?
- How to configure the language of subscribers, who don't have a customer account, for the first synchronization?
- How is the newsletter subscription of my customers managed?
- Where to find my API key?
- How do the e-commerce data manual synchronizations work?
- How to configure the e-commerce feature?
- How to keep using my newsletter block module?
- How to enable double opt-in for my new subscribers?
- How to choose/create a users list?
- How to configure discount vouchers?