Answer the question
In order to leave comments, you need to log in
How to use the "editing mode" in the catalog of the Bitrix online store?
It is necessary to give the right to the administrator of the online store to edit the goods in the store through the "edit mode".
Gave full access to the Main module and the online store module. However, edit mode does not work in a directory. But it works on other pages.
Answer the question
In order to leave comments, you need to log in
Are you using a standard component? If not, is it used
$strElementEdit = CIBlock::GetArrayByID($arParams["IBLOCK_ID"], "ELEMENT_EDIT");
$strElementDelete = CIBlock::GetArrayByID($arParams["IBLOCK_ID"], "ELEMENT_DELETE");
$arElementDeleteParams = array("CONFIRM" => GetMessage('CT_BCS_TPL_ELEMENT_DELETE_CONFIRM'));
$this->AddEditAction($arItem['ID'], $arItem['EDIT_LINK'], $strElementEdit);
$this->AddDeleteAction($arItem['ID'], $arItem['DELETE_LINK'], $strElementDelete, $arElementDeleteParams);, where $arItem['ID'] - product ID
Also, check the permissions of the "information blocks" and "shopping catalog" modules.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question