1b.app
Link copied -

OS - cs cart integration

There is an Export Products to CS-Cart action. The description says "Export products from your OneBox to CS-Cart. To work, you must specify access to the database in the integration settings"
https://rivcont.info/app/cscart-new/settings/
But, in the integration settings, it is not possible to specify access to the database.
Where to indicate them?
Original question is available on version: ru

Answers:

In general, the main problem is that the goods are not uploaded to the cs cart.
Now in the integration you can specify the current login and api for unloading, which has already been done.
According to the status here https://rivcont.info/app/cscart-1/ is "OK"
17.08.2021, 17:43
Original comment available on version: ru

When exporting products, the API throws an error "Product must belong to a category that belongs to the owner store."
And when exporting categories, we get the error "Category not found" - does it mean that the categories have external IDs? they will not match those on CS-Cart
19.08.2021, 16:57
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production wrote:
When exporting products, the API throws an error "Product must belong to a category that belongs to the owner store."
And when exporting categories, we get the error "Category not found" - does it mean that the categories have external IDs? they will not match those on CS-Cart

We have no categories on the cs side
They were created once (during the first setup) - everything was unloaded correctly.
But, since there were products and categories by default - we removed everything.
There are no products and categories on the cs map side.
Actually what is the problem and why does boxing not create them again?
20.08.2021, 12:57
Original comment available on version: ru


Vysokos Nikolai Aleksandrovich wrote:
We have no categories on the cs map side
They were created once (during the first setup) - everything was unloaded correctly.
But, since there were products and categories by default - we deleted everything.
There are no products and categories on the cs map side.
Actually what is the problem and why does boxing not create them again?

Well, think, based on my comment above, it's not difficult
Categories have been created - external identifiers have been assigned to them in Onebox - and now they are trying to update them. Delete external identifiers - it will re-create.
20.08.2021, 13:18
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production wrote:

Vysokos Nikolai Aleksandrovich wrote:
We have no categories on the cs map side
They were created once (during the first setup) - everything was unloaded correctly.
But, since there were products and categories by default - we removed everything.
There are no products and categories on the cs map side.
Actually what is the problem and why does boxing not create them again?

Well, think, based on my comment above, it's not difficult
Categories have been created - external identifiers have been assigned to them in Onebox - and now they are trying to update them. Delete external identifiers - it will re-create.

We have used external id categories for a long time. And they are used in other sources - if we remove the id - then in other integrations there may be duplicates (there is no particular desire to check).
In addition, yes, the categories were created in the xmap, but we removed them. There are currently no categories or products on the cs map side
20.08.2021, 13:23
Original comment available on version: ru

Or am I wrong? and cs map integration filled in these fields for categories and products on the box side ? and then tries to search for them?
20.08.2021, 13:26
Original comment available on version: ru


Vysokos Nikolai Aleksandrovich wrote:
We have used external id categories for a long time. And they are used in other sources - if we remove the id - then in other integrations there may be duplicates (there is no particular desire to check).
In addition, yes, the categories were created in the xmap, but we removed them. There are currently no categories or products on the cs map side

Well, it doesn't actually change anything.
If you want a different logic for unloading categories - let's TK and discuss, evaluate the improvements.
20.08.2021, 13:26
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production wrote:

Vysokos Nikolai Aleksandrovich wrote:
We have used external id categories for a long time. And they are used in other sources - if we remove the id - then in other integrations there may be duplicates (there is no particular desire to check).
In addition, yes, the categories were created in the xmap, but we removed them. There are currently no categories or products on the cs map side

Well, it doesn't actually change anything.
If you want a different logic for unloading categories - let's TK and discuss, evaluate the improvements.

I understood correctly.
We didn't have external category IDs before.
We've enabled xcart integration.
Once the products and categories were unloaded.
Further, the integration overwrote the external IDs on the side of the box and is now trying to transfer data using new external IDs ?
But, on the xcart side, everything is deleted and gives an error
20.08.2021, 13:35
Original comment available on version: ru



Tyndyk Maxim Vadimovich
OneBox production wrote:
I mentioned this above.

OK.
Let's see how we can transfer categories and products to cs maps without overwriting the external IDs of products and categories in OneBox?
Can we create categories and products in the cs map based on the IDs of the products and categories in the box ?
20.08.2021, 14:12
Original comment available on version: ru


Vysokos Nikolai Aleksandrovich wrote:
Let's see how we can transfer categories and products to cs maps without overwriting the external IDs of products and categories in OneBox?
Can we create categories and products in the cs map based on the IDs of the products and categories in the box ?

No, they have their own identifiers.
As an option, you can refine the choice of an additional category and product field in the export action, from which to take / into which to write the ID from cscart for updating / after creation.
This modification will take 2 hours.
20.08.2021, 14:20
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production wrote:

Vysokos Nikolai Aleksandrovich wrote:
Let's see how we can transfer categories and products to cs maps without overwriting the external IDs of products and categories in OneBox?
Can we create categories and products in the cs map based on the IDs of the products and categories in the box ?

No, they have their own identifiers.
As an option, you can refine the choice of an additional category and product field in the export action, from which to take / into which to write the ID from cscart for updating / after creation.
This modification will take 2 hours.

We will create additional product fields. and in them indicate the category ID of the cs map and the product ID of the cs map?
If we have several stores on the cs map, will we need to work with 4 fields? etc
For example, in cases of changing the category in several sites, the cs map is super inconvenient
20.08.2021, 14:25
Original comment available on version: ru


Vysokos Nikolai Aleksandrovich wrote:
We will create additional product fields. and in them indicate the category ID of the cs map and the product ID of the cs map?
If we have several stores on the cs map, will we need to work with 4 fields? etc

Yes, I don't see any other way.
You won’t need to fill in anything with your hands - you created the fields, the system itself took a value from it and if it exists, it updated it, if it doesn’t, it created and wrote an identifier into it for further updating.
If you are not satisfied - I repeat once again - you independently draw up a specific TOR and we evaluate it if it can be implemented.
20.08.2021, 14:29
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production wrote:

Vysokos Nikolai Aleksandrovich wrote:
Let's see how we can transfer categories and products to cs maps without overwriting the external IDs of products and categories in OneBox?
Can we create categories and products in the cs map based on the IDs of the products and categories in the box ?

No, they have their own identifiers.
As an option, you can refine the choice of an additional category and product field in the export action, from which to take / into which to write the ID from cscart for updating / after creation.
This modification will take 2 hours.

Doing
In this task, 2 hours were paid https://rivcont.info/2172272/
I ask you to spend them on this solution
20.08.2021, 15:10
Original comment available on version: ru

Tell me, did you launch?
When will it be ready?
23.08.2021, 19:22
Original comment available on version: ru

Tell me, did you launch?
When will it be ready?
30.08.2021, 14:52
Original comment available on version: ru


Vysokos Nikolai Aleksandrovich wrote:
Tell me, did you launch?

you should be contacted regarding this matter
31.08.2021, 15:58
Original comment available on version: ru

Added settings "Additional field of the category, from which to take / into which to write ID from CS-Cart for updating" and "Additional field of the product from which to take / into which to write ID from CS-Cart for updating"
Keep in mind that when choosing settings, if there are already unloaded products by external ID and additional fields will not be filled in the same way, new products will be created
01.09.2021, 09:31
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
Added settings "Additional field of the category, from which to take / into which to write ID from CS-Cart for updating" and "Additional field of the product from which to take / into which to write ID from CS-Cart for updating"
Keep in mind that when choosing settings, if there are already unloaded products by external ID and additional fields will not be filled in the same way, new products will be created

If we create two additional product fields and specify them in the settings "Additional category field from which to take / into which to write ID from CS-Cart for updating" and "Additional product field from which to take / into which to write ID from CS -Cart to update".
But, the fields of the external product ID and the external category ID are filled, then we will create duplicates ?
Did you understand correctly?
01.09.2021, 21:24
Original comment available on version: ru

Read carefully what the settings are called - in one it sounds about the additional field of the category, not the product - that is, different entities.
And if these fields are empty, it will send requests to create a category / product, after which it will fill in these fields. So I corny recommend either clearing everything on the CSCart side, or registering links.
02.09.2021, 10:57
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
Read carefully what the settings are called - in one it sounds about the additional field of the category, not the product - that is, different entities.
And if these fields are empty, it will send requests to create a category / product, after which it will fill in these fields. So I corny recommend either clearing everything on the CSCart side, or registering links.

Set up
On the xscart side, categories and products are cleared ,
Cron worked at 15:05
Nothing has been uploaded
02.09.2021, 15:12
Original comment available on version: ru


Nothing has been uploaded

Categories transferred and updated, judging by the API.
And the products also leave transfer requests - and identifiers appear in an additional field.
02.09.2021, 16:35
Original comment available on version: ru

For some positions, it gives an error "Bad Request: The product must belong to a category related to the owner store." but probably due to the fact that they are uncategorized.
02.09.2021, 17:11
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
For some positions, it gives an error "Bad Request: The product must belong to a category related to the owner store." but probably due to the fact that they are uncategorized.

ok, let's check it out

Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:

Nothing has been uploaded

Categories transferred and updated, judging by the API.
And the products also leave transfer requests - and identifiers appear in an additional field.

Appeared.
Question:
Photos won't upload? Boxing can transfer photos? or can it be improved?
02.09.2021, 18:57
Original comment available on version: ru

Also moment
Processes are imported and products are searched based on the external ID field ?
If yes, how can we solve it? because the data will be entered in an additional field
02.09.2021, 19:10
Original comment available on version: ru


Photos won't upload? Boxing can transfer photos? or can it be improved?

as far as I can see - no
according to the documentation https://www.cs-cart.ru/docs/4.4.x/developer_guide/api/entities/products.html it is quite possible that images can be transferred (but not sure), it will take about 3 hours to finalize

Processes are imported and products are searched based on the external ID field ?

Of course, you didn't fix it.

If yes, how can we solve it? because the data will be entered in an additional field

of course, with the appropriate refinement of one or another action - 1 hour
03.09.2021, 09:32
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:

Photos won't upload? Boxing can transfer photos? or can it be improved?

as far as I can see - no
according to the documentation https://www.cs-cart.ru/docs/4.4.x/developer_guide/api/entities/products.html it is quite possible that images can be transferred (but not sure), it will take about 3 hours to finalize

Processes are imported and products are searched based on the external ID field ?

Of course, you didn't fix it.

If yes, how can we solve it? because the data will be entered in an additional field

of course, with the appropriate refinement of one or another action - 1 hour

Submit an invoice
03.09.2021, 13:19
Original comment available on version: ru

Also, there were moments.
one.
If we change the product category on the CS-Cart side, then the action "Export products to CS-Cart" puts the category from the box.
- Need a checkbox that will turn off updating categories
In that case, how can we upload new products? What category will they fall into if the categories differ?
- the id of the product category is now recorded in the additional category field, if the categories are different - where will the entry go?
- will the product category id be updated for old products?
2. You need the ability to unload products, depending on the fulfillment of the conditions.
That is to say, now all products are being unloaded.
We want to make sure that only those products are unloaded for which the additional product field is equal (not equal, greater than, less than, etc.) to what value X.
Appreciate these moments
06.09.2021, 14:39
Original comment available on version: ru


Vysokos Nikolai Alexandrovich
Client wrote:

Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:

Photos won't upload? Boxing can transfer photos? or can it be improved?

as far as I can see - no
according to the documentation https://www.cs-cart.ru/docs/4.4.x/developer_guide/api/entities/products.html it is quite possible that images can be transferred (but not sure), it will take about 3 hours to finalize

Processes are imported and products are searched based on the external ID field ?

Of course, you didn't fix it.

If yes, how can we solve it? because the data will be entered in an additional field

of course, with the appropriate refinement of one or another action - 1 hour

Submit an invoice

Haven't received an invoice here.
06.09.2021, 14:45
Original comment available on version: ru


Haven't received an invoice here.

check your mail carefully, sent 03.09
06.09.2021, 14:48
Original comment available on version: ru


one.
If we change the product category on the CS-Cart side, then the action "Export products to CS-Cart" puts the category from the box.
- Need a checkbox that will turn off updating categories
In that case, how can we upload new products? What category will they fall into if the categories differ?
- the id of the product category is now recorded in the additional category field, if the categories are different - where will the entry go?
- will the product category id be updated for old products?

And how do you understand who upgrades and who does not? Either update everything (that is, the main OneBox) - or do not update at all (if the main CSCart)
Unless you can only transfer a category for new products - but the question is - does CS-Cart allow you to transfer without a category? And how would you then limit yourself to being able to update a category with Onebox
First, decide who is in charge of your integration - there you need to change the category

2. You need the ability to unload products, depending on the fulfillment of the conditions.
That is to say, now all products are being unloaded.
We want to make sure that only those products are unloaded for which the additional product field is equal (not equal, greater than, less than, etc.) to what value X.

Single condition - 1h
Multi-setting (how many conditions you need for different fields) - 2h
06.09.2021, 14:54
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
And how do you understand who upgrades and who does not? Either update everything (that is, the main OneBox) - or do not update at all (if the main CSCart)
Unless you can only transfer a category for new products - but the question is - does CS-Cart allow you to transfer without a category? And how would you then limit yourself to being able to update a category with Onebox
First, decide who is in charge of your integration - there you need to change the category

Setting is required so that the main one is xcart (there must be a checkmark, as the setting is only for one site)
If xcart allows you to transfer without a category - it would be nice.
If the xmap needs a category, and the categories will be different, you must specify the ID in which they will be placed / probably so.
06.09.2021, 15:02
Original comment available on version: ru


Setting is required so that the main one is xcart (there must be a checkmark, as the setting is only for one site)

So it turns out that the tree cannot be exported, and the goods cannot be updated?
06.09.2021, 15:10
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:

Setting is required so that the main one is xcart (there must be a checkmark, as the setting is only for one site)

So it turns out that the tree cannot be exported, and the goods cannot be updated?

You don't need a category tree, and you don't need to update categories for products on the xscart side either.
That is, on the cs map we will make our own categories, our own tree of categories, and we will manually place a category for each product
06.09.2021, 15:12
Original comment available on version: ru


Vysokos Nikolai Aleksandrovich wrote:
Setting is required so that the main one is xcart (there must be a checkmark, as the setting is only for one site)
If xcart allows you to transfer without a category - it would be nice.


Tyndyk Maxim Vadimovich wrote:
For some positions, it gives an error "Bad Request: The product must belong to a category related to the owner store." but probably due to the fact that they are uncategorized.

As far as I understand - without a category it is impossible to transfer.
Unless if you manually put down category links with CS-Cart in OneBox (by additional field) - and it turns out that the tree is not uploaded, but by products - transferred from the additional field.
06.09.2021, 15:15
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:

Vysokos Nikolai Aleksandrovich wrote:
Setting is required so that the main one is xcart (there must be a checkmark, as the setting is only for one site)
If xcart allows you to transfer without a category - it would be nice.


Tyndyk Maxim Vadimovich wrote:
For some positions, it gives an error "Bad Request: The product must belong to a category related to the owner store." but probably due to the fact that they are uncategorized.

As far as I understand - without a category it is impossible to transfer.
Unless if you manually put down category links with CS-Cart in OneBox (by additional field) - and it turns out that the tree is not uploaded, but by products - transferred from the additional field.

Okay, let's say we do it differently, because the product on the site will be unique, we don't need the box to create it, we can independently create the product on the cs card side and enter the cs card ID in the additional field for the bundle.
At the same time, we do not need the category tree to be unloaded from the box.
It is necessary that the box updates only the price of the product and the availability (that is, the balances are transferred).
(the checkboxes now Export leftover products in warehouses to the CS-Cart system and Export only leftovers. Without updating general information about the product - do not allow updating the price of the product)
If the product is new, it is not unloaded, but we can do this by refining the conditions, by default the products will not be unloaded, and only if the condition is met will be unloaded.
can we do that?
06.09.2021, 16:47
Original comment available on version: ru


At the same time, we do not need the category tree to be unloaded from the box

We can add a setting to not unload the category tree - this will take 1 hour.

It is necessary that the box updates only the price of the product and the availability (that is, the balances are transferred).
(the checkboxes now Export leftover products in warehouses to the CS-Cart system and Export only leftovers. Without updating general information about the product - do not allow updating the price of the product)

product price and balances are different entities
the price of the product is updated in the product update request (where you need a category), and the balances are updated in the API by combinations
that is, to update the price - you need to fill in the values for the categories anyway.

If the product is new, it is not unloaded, but we can do this by refining the conditions, by default the products will not be unloaded, and only if the condition is met will be unloaded.

if you fill in the category and product identifiers, then in theory you can cleanly update
well, we can add a setting so as not to create new products - this is 1 hour
07.09.2021, 11:52
Original comment available on version: ru

We wrote in support of the cs map, let's see what they can offer, because filling everything in manually is a difficult task.
Let's do a photo update now - 3h
import of processes with search for additional fields - 1h
We are waiting for the bill from last week already
07.09.2021, 13:50
Original comment available on version: ru

Let's do a photo update now - 3h
import of processes with search for additional fields - 1h
Paid for 4 hours
07.09.2021, 20:03
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
product price and balances are different entities
the price of the product is updated in the product update request (where you need a category), and the balances are updated in the API by combinations
that is, to update the price - you need to fill in the values for the categories anyway.

They wrote to us that it is possible to update the price and quantity without a category
08.09.2021, 17:40
Original comment available on version: ru


They wrote to us that you can update the price and quantity without a category

well, then I appreciated the settings above so as not to unload categories and not create new products
accordingly, if both are specified, then when updating, we may not transfer categories (including products)
09.09.2021, 13:17
Original comment available on version: ru


Let's do a photo update now - 3h

added "Export images" setting to action
since the documentation does not explicitly specify the image update algorithm, I made the transfer of the main_pair and image_pairs arrays with links to the image
I highly recommend testing on 1-2 products to understand how CS-Cart will behave when transferring/replacing/deleting images
Also, for protection purposes, I made a check that if the product does not have images, then empty arrays are not transferred (so as not to remove images for products from the photo on the side of CS-Cart)

import of processes with search for additional fields - 1h

improved the corresponding selectors in actions
09.09.2021, 14:17
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:

They wrote to us that you can update the price and quantity without a category

well, then I appreciated the settings above so as not to unload categories and not create new products
accordingly, if both are specified, then when updating, we may not transfer categories (including products)

Do not create a new product 1h ?
Do not create categories 1h ?
And we need an estimate in order to update only certain data, in our case, this is the amount of the balance (availability of goods) and the price of the product.
09.09.2021, 18:18
Original comment available on version: ru


Vysokos Nikolai Alexandrovich
Client wrote:

Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:

They wrote to us that you can update the price and quantity without a category

well, then I appreciated the settings above so as not to unload categories and not create new products
accordingly, if both are specified, then when updating, we may not transfer categories (including products)

Do not create a new product 1h ?
Do not create categories 1h ?
And we need an estimate in order to update only certain data, in our case, this is the amount of the balance (availability of goods) and the price of the product.

"Do not create a new product" - setting will work like ?
In my understanding, if the additional field Id of the product is not filled in, the product is not created. If we entered the product ID from CsCart in the additional field, the product is created.
09.09.2021, 18:31
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
added "Export images" setting to action
since the documentation does not explicitly specify the image update algorithm, I made the transfer of the main_pair and image_pairs arrays with links to the image
I highly recommend testing on 1-2 products to understand how CS-Cart will behave when transferring/replacing/deleting images
Also, for protection purposes, I made a check that if the product does not have images, then empty arrays are not transferred (so as not to remove images for products from the photo on the side of CS-Cart)

The first working off of the watch krone
- uploading all our photos took 4000 seconds
The second working off of the watch crown
- cron worked again for more than 4k seconds (This is a problem, you need to think about how to get rid of reducing the processing time, What ideas do you have about this?
as I understand it, it constantly loads the entire array with photos, if we include several sites, it will take a lot of time, in theory, if the photo has not changed, you don’t need to try to upload it).
- tested changing photos.
The photos have been replaced, probably due to the fact that after working out the crown always reloads the photos.
- tested deleting photos
The photo from the cs map has not been deleted.
09.09.2021, 21:07
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
improved the corresponding selectors in actions

Works correctly, searches by additional field
09.09.2021, 21:21
Original comment available on version: ru


Do not create a new product 1h ?
Do not create categories 1h ?

Look at the ratings above.

And we need an estimate in order to update only certain data, in our case, this is the amount of the balance (availability of goods) and the price of the product.

what's the problem with unloading everything except categories? what would be the bad consequences of this?
give multilist settings which fields to unload - 4h

The first working off of the watch krone
- uploading all our photos took 4000 seconds
The second working off of the watch crown
- cron worked again for more than 4k seconds (This is a problem, you need to think about how to get rid of reducing the processing time, What ideas do you have about this?
as I understand it, it constantly loads the entire array with photos, if we include several sites, it will take a lot of time, in theory, if the photo has not changed, you don’t need to try to upload it).

upload photos once, then turn off this setting in action

- tested changing photos.
The photos have been replaced, probably due to the fact that after working out the crown always reloads the photos.

Naturally, this was also indicated - to implement the export of photos

- tested deleting photos
The photo from the cs map has not been deleted.

Did you delete all the photos or just 1 of several?
If that's all - I pointed out that this is protection so as not to overwrite existing photos on CS-Cart into the void
If 1 out of several - we transfer the remaining photos - the actual removal should be on the side of CS-Cart
10.09.2021, 13:05
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
what's the problem with unloading everything except categories? what would be the bad consequences of this?

The fact is that the goods will be unique. Accordingly, other names, a different description, characteristics are more complete, etc.
Do not create a new product 1h
Do not create categories 1h
Multilist with fields to unload 4h
Submit an invoice for these upgrades.
Will the multilist contain all the fields that are currently being transferred to the xcart?

Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
Did you delete all the photos or just 1 of several?
If that's all - I pointed out that this is protection so as not to overwrite existing photos on CS-Cart into the void
If 1 out of several - we transfer the remaining photos - the actual removal should be on the side of CS-Cart

Removing everything is ok.
Okay protection.
If we edit photos in the box, the photos on the side of the cs map also change.

Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
upload photos once, then turn off this setting in action

We often add a product every day and several times a day.
Managers who deal with content do not have access to automation.
Even if we give access, controlling the process of uploading photos is an extra job that, in our understanding, the CRM should do on its own.
How to automate this process? Make a photo queue? Or check the pictures on the xcart side and upload those that do not match.
Or store in the box a list of links of images with the last upload, in case of changes and inconsistencies with the previous list - unload.
Need a solution
10.09.2021, 14:47
Original comment available on version: ru


Will the multilist contain all the fields that are currently being transferred to the xcart?

list of parameters that are passed to CS-Cart

We often add a product every day and several times a day.
Managers who deal with content do not have access to automation.
Even if we give access, controlling the process of uploading photos is an extra job that, in our understanding, the CRM should do on its own.
How to automate this process? Make a photo queue? Or check the pictures on the xcart side and upload those that do not match.
Or store in the box a list of links of images with the last upload, in case of changes and inconsistencies with the previous list - unload.
Need a solution

Make the setting to send photos only for products created in N days - 1 hour.
Or, after filling in the photos, let them tick some kind of (additional field) that needs to be unloaded - and make settings for it in action - and after unloading, shoot - this is 2 hours.
I don’t even consider the option of obtaining data from CS-Cart and checking “do we have a difference in the content of the photos”, it will take a very long time (I can’t even guess how long).
10.09.2021, 14:56
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
Make the setting to send photos only for products created in N days - 1 hour.

Can we make it possible to upload a PHOTO created or modified in N hours, and not by PRODUCTS created in N days ??
+ if we choose a day, then probably throughout the day these pictures will fall, but in fact they will be unloaded in one hourly crown
10.09.2021, 15:02
Original comment available on version: ru


Can we make it possible to upload a PHOTO created or modified in N hours, and not by PRODUCTS created in N days ??

We do not keep a history of when an additional photo was uploaded to a product, for example. So the answer is no.
Then it's better to link to the checkbox, which you will display in the interface under the photo and name it "Update to CS-Cart" - I gave a higher rating for this setting.
10.09.2021, 15:13
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
Then it's better to link to the checkbox, which you will display in the interface under the photo and name it "Update to CS-Cart" - I gave a higher rating for this setting.

1. We enable the checkbox "Export images"
2. Initially upload all photos to xcart
3. Create an additional field (tick) called "Update photo on CS-Cart"
4. Specify this field in the action settings
5. For example, create a new product and check the box "Update photo on CS-Cart"
6. The system adds pictures of this product to the queue for the next working of the hour crown
7. After the cron has worked and the selected photos have been uploaded to the cscart - ACTION removes the checkmark (overwrites the value) in the "Update photo on CS-Cart" field? So that in the next working off of the hour crown it is not unloaded?
If this works, then you can invoice for this as well.
10.09.2021, 15:23
Original comment available on version: ru

Tell me, did you understand the work correctly?
The bill hasn't arrived yet.
13.09.2021, 10:50
Original comment available on version: ru



1. We enable the checkbox "Export images"
2. Initially upload all photos to xcart
3. Create an additional field (tick) called "Update photo on CS-Cart"
4. Specify this field in the action settings
5. For example, create a new product and check the box "Update photo on CS-Cart"
6. The system adds pictures of this product to the queue for the next working of the hour crown
7. After the cron has worked and the selected photos have been uploaded to the cscart - ACTION removes the checkmark (overwrites the value) in the "Update photo on CS-Cart" field? So that in the next working off of the hour crown it is not unloaded?
If this works, then you can invoice for this as well.

Yes, that's exactly what I'm suggesting.

Tell me, did you understand the work correctly?
The bill hasn't arrived yet.

I will arrange for it to be sent to you.

When will you bill?

As soon as I get to the next (54th) comment in this problem, where instead of solving separate issues in different topics, everything is solved within the framework of one.
There are no set deadlines for replying to comments on the forum.
14.09.2021, 09:48
Original comment available on version: ru



Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
I will arrange for it to be sent to you.

Paid
14.09.2021, 11:38
Original comment available on version: ru

Another account for:
Do not create a new product 1h
Do not create categories 1h
Multilist with fields to unload 4h
14.09.2021, 11:39
Original comment available on version: ru


Vysokos Nikolai Alexandrovich
Client wrote:
Another account for:
Do not create a new product 1h
Do not create categories 1h
Multilist with fields to unload 4h

Paid
14.09.2021, 16:23
Original comment available on version: ru

1. improved settings "Export images only for products where an additional field" / "Is important"
2. improved setting "Do not export product categories" (with a hint of the logic of work)
3. improved setting "Do not create new products"
4. improved setting "Export only specified fields" with a list of fields that are currently exporting (if nothing is selected, it will export all fields as it is now)
4.1. improved setting "Export only specified filters" - so that you can further limit the filters to be uploaded
15.09.2021, 13:23
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
1. improved settings "Export images only for products where an additional field" / "Is important"
2. improved setting "Do not export product categories" (with a hint of the logic of work)
3. improved setting "Do not create new products"
4. improved setting "Export only specified fields" with a list of fields that are currently exporting (if nothing is selected, it will export all fields as it is now)
4.1. improved setting "Export only specified filters" - so that you can further limit the filters to be uploaded

1. https://rivcont.info/app/automatization/hour/edit/
2. Export products to CS-Cart (totalshop)
3. https://rivcont.info/app/cscart-1/ Status "OK"
4. Cron worked at 15:06:00
5. Products not uploaded
The second integration updated the required data. The only difference between the two integrations is that the second included
- Do not export product categories
- Do not create new products
- selected fields: id, name, price, availability
And did not include the setting
- Export images
15.09.2021, 15:27
Original comment available on version: ru

I check on the action with index 7 (where there are no settings) - it passes the parameters, the export works.
15.09.2021, 15:47
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
I check on the action with index 7 (where there are no settings) - it passes the parameters, the export works.

Probably a delay on the part of the xcart, because after working out the cron in the xcart, the products were not yet displayed, for this reason I wrote about the error.
Now everything is ok with unloading.
Setting: Export images only for products where the additional field is:
Product https://rivcont.info/app/product/5315/edit/
Product in cs map
Box changes
Check the box "CsCart update photos"
Action Settings
Cron worked 17:35
The checkmark in the product has not disappeared
Photos on the xscart were not updated (at least the main photo should have been replaced
+ cron also works for half an hour, as if it still unloads all the pictures
15.09.2021, 17:48
Original comment available on version: ru


Vysokos Nikolai Alexandrovich
Client wrote:

Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
I check on the action with index 7 (where there are no settings) - it passes the parameters, the export works.

Probably a delay on the part of the xcart, because after working out the cron in the xcart, the products were not yet displayed, for this reason I wrote about the error.
Now everything is ok with unloading.
Setting: Export images only for products where the additional field is:
Product https://rivcont.info/app/product/5315/edit/
Product in cs map
Box changes
Check the box "CsCart update photos"
Action Settings
Cron worked 17:35
The checkmark in the product has not disappeared
Photos on the xscart were not updated (at least the main photo should have been replaced
+ cron also works for half an hour, as if it still unloads all the pictures

on the next launch of watch cron photos updated
but, the tick also did not disappear
Although the TOR discussed "ACTION removes the checkmark (overwrites the value) in the field"
15.09.2021, 18:52
Original comment available on version: ru


Although the TOR discussed "ACTION removes the checkmark (overwrites the value) in the field"

+
the additional field will be deleted if it uploaded images (that is, if someone chooses to upload images, but the list of fields for uploading without them is selected, then it will not uncheck)
17.09.2021, 10:00
Original comment available on version: ru

Everything is working
Thanks
17.09.2021, 11:52
Original comment available on version: ru

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