Automatic Synchronization of the Woomelly plugin for WordPress


In this article, we will discuss the automatic synchronization of the Woomelly plugin for WordPress. This feature is responsible for dividing the elements (WooCommerce products or Mercado Libre publications) into groups and updating them periodically. The synchronization is done cyclically and remains active until the user deactivates it, pauses it, or restarts it. It is recommended to activate it only after correctly setting up your WooCommerce store with manual synchronizations, especially if you have a large number of products or publications to synchronize (for example, more than 1.000 items).

Content

→ Automatic Synchronization of the Woomelly plugin for WordPress
→ Fields of automatic synchronization
  ↳ Synchronization Direction
  ↳ Internal automatic synchronization
  ↳ External automatic synchronization
→ External Automatic Synchronizations
→ Additional questions

Automatic Synchronization of the Woomelly plugin for WordPress

Automatic Synchronization of the Woomelly plugin for WordPress

This synchronization is mainly used to keep your products updated with the changes that occur in Mercado Libre and/or WooCommerce. All your product data depends on this synchronization, except for inventory updates, which can be automatic when a sale occurs and which you can activate in Woomelly » Advanced Settings » General Synchronization.

It’s important to note that adjustments can be made to the number of elements and the time interval of the synchronization cycles, and it is recommended to test to find the optimal configuration that suits your store. You can check the Woomelly registration information to ensure that the cycles are running correctly and make the necessary adjustments.

Automatic synchronization divides all elements into groups and runs them at specific time intervals. A cycle is considered successful when all groups are synchronized, with or without failures, and then the cycle is restarted. For example, if you have 1.000 publications to synchronize and select 50 items every 5 minutes, 50 posts will be taken every 5 minutes until the 1.000 publications are completed. In this case, each complete synchronization cycle will take about 1 hour and 40 minutes. Once finished, a new cycle will automatically start and so on.

[2020-05-27 17:01:34] 5ece9ceeb8bc7 - Sincronización Automática Iniciada...
[2020-05-27 17:01:34] 220 | 230
[2020-05-27 17:01:36] MLA111111111
[2020-05-27 17:01:40] MLA111111111
[2020-05-27 17:01:40] MLA111111111
[2020-05-27 17:01:46] MLA111111111
[2020-05-27 17:01:48] MLA111111111
[2020-05-27 17:01:49] MLA111111111
[2020-05-27 17:01:54] MLA111111111
[2020-05-27 17:01:54] MLA111111111
[2020-05-27 17:01:57] MLA111111111
[2020-05-27 17:01:57] MLA111111111
[2020-05-27 17:01:57] 5ece9ceeb8bc7 | Sincronización Automática Finalizada...

In some cases, you may want to synchronize 1.000 items every 5 minutes, but not all servers support this capacity. To increase the default setting, it is recommended to follow these steps:

  1. Activate automatic synchronization with a large number of elements (for example, 1.000) in a maximum time (for example, 24 hours). This will allow you to determine how many items your server can synchronize in a single cycle.
  2. Wait a few minutes and go to Woomelly » Records to check if the cycle has started and finished. If it has started but not finished, count the number of synchronized items (for example, 20, 50, 100, …) and check the time elapsed from the start to the last record. This will give you a reference to your server’s capacity.
  3. Deactivate automatic synchronization and save the changes.
  4. Then, activate a new automatic synchronization with the reference values taken in point (2) that the server supports. Don’t forget to save the changes.
  5. Wait a few minutes and validate that the cycle has started and finished. If so, it was set up correctly. If it started and did not finish or if it started and before finishing, it restarted the cycle, it is recommended to make another estimate and follow the previous steps.

 IMPORTANT
By default, this synchronization depends on the scheduled tasks of WordPress (WP Cron Jobs). Make sure these tasks are active and correctly configured on your hosting. If you need to configure scheduled tasks externally, contact technical support for more details.

Fields of automatic synchronization

» Synchronization Direction

This field is fundamental. Here you select the synchronization direction you want to set. It’s crucial to mention that only one type of synchronization can be activated at a time, as the tool needs to determine which channel will have the updated information and, therefore, replicate it to the other sales channel. If you choose to synchronize from WooCommerce to Mercado Libre, you can also define the synchronization mode to consider. That is, synchronize all products indefinitely or only those that have experienced recent changes in the store.

Synchronization methodUsage scenariosReasons
Synchronize all products1. Stores with consistent inventories that require continuous oversight.

2. Stores with little variability in their products.

1. Ensures all products are always synchronized regardless of whether there were changes or not.

2. Minimizes the risk of discrepancies between the channels.

Synchronize only recently updated products1. Stores with frequent product updates.

2. Stores with a large number of products where updates are less frequent.

1. Optimizes resources, synchronizing only what has changed.

2. Reduces synchronization time and load, avoiding unnecessary traffic.

» Internal automatic synchronization

Uses the scheduled tasks (WP Cron Jobs) of WordPress to execute automatic synchronization in groups of elements at recurring time intervals. It is recommended to set 20 items every 3 minutes and ensure that the scheduled tasks (WP Cron Jobs) of WordPress are active. Otherwise, use external automatic synchronization.

» External automatic synchronization

Uses the scheduled tasks (CRONs) of the server where your WooCommerce store is hosted to execute automatic synchronization. This option is useful if WordPress scheduled tasks are disabled on your site. To configure this option, follow these steps:

External Automatic Synchronizations

The Woomelly plugin allows you to configure automatic synchronizations externally. Very useful if you have WordPress scheduled tasks completely inactive or even very limited. To use this type of synchronization, just follow these steps:

1. Activate and define a group of elements (50 items per group are recommended by default).

External Automatic Synchronizations

2. Define the URL to use and save it. You can add a complement to the URL for security reasons:

https://woomelly.com/sync-auth (remember to replace this URL with the URL that appears in your WooCommerce store).

It is important to note that you should take the URL that appears in Woomelly » Automatic Synchronization.

External Automatic Synchronizations. cPanel

3. Go to the management of scheduled tasks (WP Cron) of the server and set some time parameters (every 5 minutes, 10 minutes, 60 minutes, depending on your needs and server limitations).

4. Define a command with the corresponding URL, which may vary depending on the server. For example:

wget -q -O https://woomelly.com/sync-auth >/dev/null 2>&1

 IMPORTANT
It is advisable to request support from the hosting support to validate it is set up correctly. And remember to replace this URL https://woomelly.com/sync-auth with the URL that appears in your WooCommerce store.

5. Save the changes and after a few minutes, check that the synchronizations are being executed from the Woomelly records (a record called Synchronization should be created). If it fails at this point, you should validate the previous steps or even the command to determine the error and apply corrective actions.

Still have questions?

– How can I deactivate or pause an external automatic synchronization?

You can deactivate from Woomelly » Automatic Synchronization or deactivate the scheduled task (WP Cron) from the server. It is advisable to do this in both configurations.

– I set up the URL and the automatic synchronizations still don’t work.

The first thing is to validate that it is the correct URL. A very common mistake is to use this same example URL https://woomelly.com/sync-auth. This URL is just an example, in your case, you should use the URL that appears in your WooCommerce store in Woomelly » Automatic Synchronization. If it is indeed the correct URL, create a ticket to technical support for assistance.

Related links: