1b.app
Link copied -

Cannot clear additional product field

There are additional product fields associated with the directory:
https://yoko.crm-onebox.com/admin/shop/productfield/1/
https://yoko.crm-onebox.com/admin/shop/productfield/2/
Here is an example product https://yoko.crm-onebox.com/admin/shop/products/4/edit/ , the fields are filled with . But they cannot be cleared and, accordingly, I cannot select another value from the directory.
That is, the field can be filled in only once, the value cannot be changed.
Also, in automation for products https://yoko.crm-onebox.com/admin/products/action/update/edit/ , there is an action .
Here is an example of a product https://yoko.crm-onebox.com/admin/shop/products/1477/edit/ , the category for the outlet is not filled in , but the ID is filled in . Although according to the conditions of action should not have been.
Original question is available on version: ru

Answers:

You linked 2 fields to the reference book. Now, due to the fact that the fields are associated with one directory, when searching for a name, filtering is also carried out by id, i.e. searches for titles only where the id=field is what you have selected and vice versa. You need to remove the id connection from the directory and fill it with purely automation actions.
05.05.2021, 11:33
Original comment available on version: ru


Little Vanderquack
Welfare will not spare you (c) wrote:
You linked 2 fields to the reference book. Now, due to the fact that the fields are associated with one directory, when searching for a name, filtering is also carried out by id, i.e. searches for titles only where the id=field is what you have selected and vice versa. You need to remove the id connection from the directory and fill it with purely automation actions.

That is, it turns out that only one field should be associated with the directory, and the second should be just a "String" that will be filled in by automation for products?
05.05.2021, 11:53
Original comment available on version: ru

yes, otherwise the first will be searched based on the value of the second. This is useful if the reference is one-to-many (for example, a city and a street. The city of Kyiv and there are 100 streets in it. You select Kyiv and shows only the streets of Kyiv). You have a 1 to 1 connection, i.e. 1 category = 1 ID.
05.05.2021, 11:58
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