Answer the question
In order to leave comments, you need to log in
How to change the product type in Bitrix?
How to change the product type from "simple" to "set", "set".
I tried to add a set record to the b_catalog_product_sets table. The type is still "simple". How to implement it through code? I did not find it in arResult. Maybe someone knows where the type of goods is indicated?
Answer the question
In order to leave comments, you need to log in
https://dev.1c-bitrix.ru/api_help/catalog/classes/... - everything is easier.
No way. This is specified when the item is created.
But through the database, you can specify the TYPE field in the b_catalog_product table, where the tsyfarka 1 2 3 are placed. As far as it is right it is better to remain silent.
If a product has no status at all, then, for example, in order to massively convert products to "simple", you just need to re-index the "Trade catalog" in Settings / Module_settings / Trade_catalog - at the bottom under the main settings there is a separate tab "Service procedures". Perhaps there is a similar solution somewhere for your case.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question