M
M
mbhusty2018-05-07 13:08:04
1C-Bitrix
mbhusty, 2018-05-07 13:08:04

How to upload to Yandex the Title of the element instead of the Name of the element?

In the Bitrix upload module, instead of the element name,

$itemsContent .= "<name>".yandex_text2xml($offer['NAME'], true)."</name>\n";

get data from the element's Header field
IPROPERTY_TEMPLATES_ELEMENT_PAGE_TITLE
How to actually do it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question