Sometimes the exchange via CommerceML protocol can take quite a long time. The system on the other side (1C or MoiSklad) may think that the server does not respond and it will interrupt the exchange.
The add-on adds a setting for CommerceML exchange that sets the time after which the process message is sent. This message shows that the exchange is still going on and that there is no error.
- Store Builder
- Store Builder Ultimate
- Multi-Vendor
- Multi-Vendor Plus
- Multi-Vendor Ultimate
- Owners
- Vendors
- English
- Русский
- 4.17.X
- 4.16.X
- 4.15.X
- 4.14.X
- 4.13.X
- 4.12.X
After installation, we specify the hook:
fn_set_hook('ms_commerceml_execute_catalog_import_command_pre', $import_id, $time_limit, $entity_type); in the file app/addons/commerceml/src/Commands/ExecuteCatalogImportCommand.php on line 39:
...
public static function create($import_id, $time_limit, $entity_type)
{
<b>fn_set_hook('ms_commerceml_execute_catalog_import_command_pre', $import_id, $time_limit, $entity_type);</b>
$self = new self();
$self->import_id = (int) $import_id;
$self->time_limit = (int) $time_limit;
$self->entity_type = $entity_type;
return $self;
}
...
And also we specify in the settings the time after which the message will be sent (by default 10 seconds).
v1.0.3 of 13.10.2022
[*] Standardization of the add-on code
[*] The description of the add-on has been changed
v1.0.2 of 09.10.2022
[*] The language variables have been changed
v1.0.1 of 10.03.2022
[!] The connection of the missing settings file has been deleted
v1.0.0 of 04.03.2022
[+] First Edition
Here you can share your opinion and evaluate our work.
Your feedback helps us become better and offer you even better service.