Answer the question
In order to leave comments, you need to log in
Can you suggest an API method to populate the "enumeration type" order property?
Good afternoon.
Tell me the method by which you can fill in a list of type enumeration.
I mean the property in the admin panel at the address
Shop -> settings -> Order properties -> List of properties - a specific property.
I have a list of cities (not Russia) under 400 pieces and filling them in manually is very tiring.
Answer the question
In order to leave comments, you need to log in
link
ORDER_PROPS_ID, NAME and VALUE - required fields
It is written that the method is non-static, I also see from the sources that it is not static, but the example in the docks is static.
The correct way should be:
$ob = new CSaleOrderPropsVariant;
$ob->Add($arFields);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question