1b.app
Link copied -

When loading values from opencart via Linkkey, it overwrites other products

We have many integrations with opencarts configured, everywhere products are pulled through the linkkey.
We connected 1 more site, and when importing products using linkkey, we got a situation in which existing products were overwritten with new ones, although it seems that this identifier should not be repeated.
Here is an example of a product
https://tradework.com.ua/admin/shop/products/114579/history/?systemchange=1&...
There was one value, but it was reset to another, why could this happen? And how to avoid it?
Did the linkkey identifiers match?
Here is the integration
https://tradework.com.ua/admin/auto/action/hour/edit/
These are used
Initially, the product was loaded with faber, and then rubbed with the product from the world canvases.
Original question is available on version: ru

Answers:

Of course, you hung up the action of clearing the history of changes and now at 100% I don’t see a picture of what really happened
but if you try to dig it out, then initially when you set the action you forgot to check the box to search by linkkey
and the product was updated by external id
12.03.2021, 15:32
Original comment available on version: ru

now the checkbox is checked and I can turn it on, will it work fine?*
15.03.2021, 16:12
Original comment available on version: ru


Fesyura Artem Viktorovich wrote:
now the checkbox is checked and I can turn it on, will it work fine? *

Yes, you can try on several products.
16.03.2021, 07:41
Original comment available on version: ru

Now it doesn't work yet, it overwrites products, using this product as an example
https://tradework.com.ua/admin/shop/products/127519/history/?systemchange=1&...
- the uniqueness of the article is turned off
- uniqueness of external id is disabled
- in the import of products from opencarts EVERYWHERE there are settings for importing only by linkey
- in the import of orders from opencart, search for products only by linkkey
BUT now there is a huge problem when rewriting occurs and orders from the site fall incorrect (
Tell me what's the problem
16.03.2021, 18:12
Original comment available on version: ru

found 1 more check in action
there is a logic that if the product is not found by linkkey, then look for it by external id
added a check on linkkey there
check
17.03.2021, 14:36
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