1b.app
Link copied -

Integration of XML products (Export) - product categories are not created and products are not added to the category

For export, we use the action: Integration of XML products (Export)

The paths to the data arrays were written, screen 1296

PATH to the array of products: channel/item

PATH to the array of categories: channel/category

PATH to the array of additional fields: channel/custom_field

We received this file:

https://ukrpromspec.com.ua/media/export/product/products_ukrpromspec.xml

On the other side, the action was configured: Universal import of products (xml/json)

The same paths to arrays were indicated, screenshot 1297

The goods were imported and everything was fine, but they remained WITHOUT the category we transferred.

Here is an example of a card for one of the products, screen 1298

The categories were also not created automatically and when created manually, the action still did not link the products to the correct categories.

Please tell me what settings need to be made so that the imported goods fall into the categories.
Original question is available on version: ua Вячеслав Легеза

Answers:


Legeza Vyacheslav Valerianovich
iCOLOR OneBox (FOP LEGEZA VYACHESLAV VALERIANOVICH) wrote:
PATH to products array: channel/item
PATH to an array of categories: channel/category
PATH to an array of additional fields: channel/custom_field

great, but how did you specify which product should be assigned which category? With what setting?
03.03.2023, 13:05
Original comment available on version: ru

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you


.dev

OneBox production wrote:

Well, how did you indicate which product should be assigned which category? With which setting?



I did not understand

screen 1303 shows that the product belongs to the appropriate category

that is, in the file, we see the information in the general array with product data, but it does not enter the system

which action setting is responsible for this?
03.03.2023, 17:06
Вячеслав Легеза Original comment available on version: ua


Legeza Vyacheslav Valerianovych
iCOLOR OneBox (FOP LEGEZA VIACHESLAV VALERIANOVYCH) wrote:
that is, in the file, we see the information in the general array with product data, but it does not enter the system
which action setting is responsible for this?

I am asking BASED ON WHICH SETTING in your action this category should be set for the product.
03.03.2023, 17:07
Original comment available on version: ua

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you


.dev

OneBox production wrote:



Legeza Vyacheslav Valerianovych

iCOLOR OneBox (FOP LEGEZA VIACHESLAV VALERIANOVYCH) wrote:

that is, in the file, we see the information in the general array with product data, but it does not enter the system

which action setting is responsible for this?



I am asking BASED ON WHICH SETTING in your action this category should be set for the product.



and which of these settings can be responsible for this?

screenshot 1304

from the name of the ticks, I honestly do NOT understand which of them MUST be present in order for the category from the file to be registered in the product card
03.03.2023, 17:50
Вячеслав Легеза Original comment available on version: ua

this one for example. When you import a file, you must somehow indicate WHERE to take the category of each of the goods.
03.03.2023, 20:33
Original comment available on version: ru

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you


.dev

OneBox production wrote:

here is this one for example. When you import the file, you must somehow indicate WHERE to take the category of each product.



so I made these settings from the very beginning in action

that is, all the fields that I export to the corresponding fields I import with the same field names as in the XML

but the point is that it doesn't work, it seems

screenshot 1305
03.03.2023, 21:35
Вячеслав Легеза Original comment available on version: ua

Judging by the screenshots, everything is set up normally, most likely the problem is in some details. Give all the necessary links to look at the setting of the action
06.03.2023, 10:20
Original comment available on version: ru

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you

.dev
OneBox production wrote:
judging by the screenshots, everything is configured normally, most likely the problem is in some details. Here are all the links you need to see the settings in action

https://topbox.1b.app/app/automatization/hour/edit/
action Universal product import (xml/json)
06.03.2023, 13:12
Вячеслав Легеза Original comment available on version: ua

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you

Legeza Vyacheslav Valerianovych
iCOLOR OneBox (FOP LEGEZA VIACHESLAV VALERIANOVYCH) wrote:

.dev
OneBox production wrote:
judging by the screenshots, everything is configured normally, most likely the problem is in some details. Here are all the links you need to see the settings in action

https://topbox.1b.app/app/automatization/hour/edit/
action Universal product import (xml/json)

https://ukrpromspec.com.ua/admin/auto/action/hour/edit/
Integration of XML products (Export)
06.03.2023, 13:13
Вячеслав Легеза Original comment available on version: ua

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you
Did [.dev #82] provide enough information for you to be able to help?
08.03.2023, 09:49
Вячеслав Легеза Original comment available on version: ua

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you
here we prescribe such ways for export and use them in the import action

PATH to the array of products: products/item

PATH to the array of categories: categories/category

PATH to the array of additional fields: customfields/custom_fields

that is, in this way we create different subdirectories for different data that we export

screenshot 1319

In this case, we get the correct file format

screenshot 1320

Thank you very much [.dev #82]
17.03.2023, 16:54
Вячеслав Легеза Original comment available on version: ua

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