Look at ? Because of this problem, we do not work out other actions that should work once a day at a specified time. Example - Set up a business process for the purchase of products per employee - Calculate bonus based on KPI
Look at [file]12094[/file] ?
Because of this problem, we do not work out other actions that should work once a day at a specified time.
Example
- Set up a business process for the purchase of products per employee
- Calculate bonus based on KPI
Sukhanitsky Andrey OneBox Corp. Integrator wrote: And what exactly happens, the goods are unloaded in cs-cart or loaded from it?
upload to 4 xcart sites Working with settings "Export images only for products where an additional field" Boxing takes so long to unload goods? sending requests? Or does xcart have any restrictions?
[quote]
Sukhanitsky Andrey
OneBox Corp.
Integrator wrote:
And what exactly happens, the goods are unloaded in cs-cart or loaded from it?
[/quote]
upload to 4 xcart sites
Working with settings
"Export images only for products where an additional field"
Boxing takes so long to unload goods? sending requests? Or does xcart have any restrictions?
cs-cart has a rather slow api, so it takes a long time to process all the goods. As a solution option here, refine the setting in order to unload only products for which the selected fields have changed, add price, availability, possibly additional fields there.
cs-cart has a rather slow api, so it takes a long time to process all the goods.
As a solution option here, refine the setting in order to unload only products for which the selected fields have changed, add price, availability, possibly additional fields there.
We can improve If the product is not in CsCart - creates it and unloads all fields from the list (if nothing is selected - unloads everything) If the product is in CsCart - checks for changes in the box of fields that we select (price and availability) Or if you need to reduce the number of requests Then, transfer the unloading of goods (and all data) to daytime crowns (so that it works at night). And on the hour crown, leave only changes in price and availability if they changed in the box What will be the score?
We can improve
If the product is not in CsCart - creates it and unloads all fields from the list [file]12099[/file] (if nothing is selected - unloads everything)
If the product is in CsCart - checks for changes in the box of fields that we select (price and availability)
Or if you need to reduce the number of requests
Then, transfer the unloading of goods (and all data) to daytime crowns (so that it works at night). And on the hour crown, leave only changes in price and availability if they changed in the box
What will be the score?
Vysokos Nikolai Aleksandrovich wrote: If the product is not in CsCart - creates it and unloads all fields from the list (if nothing is selected - unloads everything)
In order to find this out, you first need to go through all the products in order to understand which ones are and which are not, and then check those that have changes in the fields, this is inefficient logic and will not reduce the time of work, or it will reduce, but not very. It is more efficient to unload all new products and products that have had changes in the selected fields, that is, filtering occurs immediately on the box side, and only then queries go to cs-cart. You can do something similar, as you did for unloading xml only so that the settings are summed up and those that have had changes and those that have been created for the last day. Or set up 2 actions. According to the assessment, one of the programmers will answer
[quote]
Vysokos Nikolai Aleksandrovich wrote:
If the product is not in CsCart - creates it and unloads all fields from the list (if nothing is selected - unloads everything)
[/quote]
In order to find this out, you first need to go through all the products in order to understand which ones are and which are not, and then check those that have changes in the fields, this is inefficient logic and will not reduce the time of work, or it will reduce, but not very.
It is more efficient to unload all new products and products that have had changes in the selected fields, that is, filtering occurs immediately on the box side, and only then queries go to cs-cart.
You can do something similar, as you did for unloading xml [file]12108[/file] only so that the settings are summed up and those that have had changes and those that have been created for the last day. Or set up 2 actions.
According to the assessment, one of the programmers will answer
Sukhanitsky Andrey OneBox Corp. Integrator wrote: It is more efficient to unload all new products and products that have had changes in the selected fields, that is, filtering occurs immediately on the box side, and only then queries go to cs-cart. You can do something similar, as you did for unloading xml only so that the settings are summed up and those that have had changes and those that have been created for the last day. Or set up 2 actions. According to the assessment, one of the programmers will answer
The solution is good. I suppose to these settings you need to add the ability to choose exactly when the hourly crown will work, or the inclusion of a daily crown Please rate
[quote]
Sukhanitsky Andrey
OneBox Corp.
Integrator wrote:
It is more efficient to unload all new products and products that have had changes in the selected fields, that is, filtering occurs immediately on the box side, and only then queries go to cs-cart.
You can do something similar, as you did for unloading xml [file]12108[/file] only so that the settings are summed up and those that have had changes and those that have been created for the last day. Or set up 2 actions.
According to the assessment, one of the programmers will answer
[/quote]
The solution is good. I suppose to these settings you need to add the ability to choose exactly when the hourly crown will work, or the inclusion of a daily crown
Please rate
1. added the setting "Select product fields. The product will be unloaded only if one of the selected fields has changed since the last unloading by this action" with the fields that are involved in the unloading and can be checked in the history of product changes PS: the action must work 1 time to remember when it worked out the last time for the subsequent use of this setting 2. added the setting "Upload only products whose creation date is earlier than the current time minus the specified number of days" this setting is best used separately from the setting from step 1 (set up 2 separate actions) 3. added setting "Action start time" you can use it, for example, to point 2, to upload new products once a day
1. added the setting "Select product fields. The product will be unloaded only if one of the selected fields has changed since the last unloading by this action" with the fields that are involved in the unloading and can be checked in the history of product changes
PS: the action must work 1 time to remember when it worked out the last time for the subsequent use of this setting
2. added the setting "Upload only products whose creation date is earlier than the current time minus the specified number of days"
this setting is best used separately from the setting from step 1 (set up 2 separate actions)
3. added setting "Action start time"
you can use it, for example, to point 2, to upload new products once a day
Tyndyk Maxim Vadimovich OneBox production wrote: 3. added setting "Action start time" you can use it, for example, to point 2, to upload new products once a day
If you put this setting in conjunction with item 1, for example, at 9:00 and at 18:00, then the action will look at changes in this time interval and unload only products that have changed in this interval?
[quote]
Tyndyk Maxim Vadimovich
OneBox production wrote:
3. added setting "Action start time"
you can use it, for example, to point 2, to upload new products once a day
[/quote]
If you put this setting in conjunction with item 1, for example, at 9:00 and at 18:00, then the action will look at changes in this time interval and unload only products that have changed in this interval?
If you put this setting in conjunction with item 1, for example, at 9:00 and at 18:00, then the action will look at changes in this time interval and unload only products that have changed in this interval?
yes, after 18.00 it will record the time the action was launched, and the next time at 9.00 it will take the changes since the previous launch at 18.00
[quote]
If you put this setting in conjunction with item 1, for example, at 9:00 and at 18:00, then the action will look at changes in this time interval and unload only products that have changed in this interval?
[/quote]
yes, after 18.00 it will record the time the action was launched, and the next time at 9.00 it will take the changes since the previous launch at 18.00
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up