Bitrix API

ProductAction

Table of Contents

Constants

CHANGE_PRICE  = 'change_price'
CONVERT_PRODUCT_TO_SERVICE  = 'convert_to_service'
CONVERT_SERVICE_TO_PRODUCT  = 'convert_to_product'
SET_FIELD  = 'product_field'

Methods

convertToProductElementList()  : Result
convertToProductSectionList()  : Result
convertToServiceElementList()  : Result
convertToServiceSectionList()  : Result
getAllowedProductTypes()  : array<string|int, mixed>
updateElementList()  : Result
updateSectionList()  : Result

Constants

CONVERT_PRODUCT_TO_SERVICE

public mixed CONVERT_PRODUCT_TO_SERVICE = 'convert_to_service'

CONVERT_SERVICE_TO_PRODUCT

public mixed CONVERT_SERVICE_TO_PRODUCT = 'convert_to_product'

Methods

convertToProductElementList()

public static convertToProductElementList(int $iblockId, array<string|int, mixed> $elementIds) : Result
Parameters
$iblockId : int
$elementIds : array<string|int, mixed>
Return values
Result

convertToProductSectionList()

public static convertToProductSectionList(int $iblockId, array<string|int, mixed> $sections) : Result
Parameters
$iblockId : int
$sections : array<string|int, mixed>
Return values
Result

convertToServiceElementList()

public static convertToServiceElementList(int $iblockId, array<string|int, mixed> $elementIds) : Result
Parameters
$iblockId : int
$elementIds : array<string|int, mixed>
Return values
Result

convertToServiceSectionList()

public static convertToServiceSectionList(int $iblockId, array<string|int, mixed> $sections) : Result
Parameters
$iblockId : int
$sections : array<string|int, mixed>
Return values
Result

getAllowedProductTypes()

public static getAllowedProductTypes(array<string|int, mixed> $catalog, array<string|int, mixed> $fields) : array<string|int, mixed>
Parameters
$catalog : array<string|int, mixed>
$fields : array<string|int, mixed>
Return values
array<string|int, mixed>

updateElementList()

public static updateElementList(int $iblockId, array<string|int, mixed> $elementIds, array<string|int, mixed> $fields) : Result
Parameters
$iblockId : int
$elementIds : array<string|int, mixed>
$fields : array<string|int, mixed>
Return values
Result

updateSectionList()

public static updateSectionList(int $iblockId, array<string|int, mixed> $sections, array<string|int, mixed> $fields) : Result
Parameters
$iblockId : int
$sections : array<string|int, mixed>
$fields : array<string|int, mixed>
Return values
Result

        
On this page

Search results