Answer the question
In order to leave comments, you need to log in
How to display a link to download the 1c-Bitrix file?
Catalog of instructions for equipment.
There is an infoblock with the file type property, code FILE_PDF.
Now the structure is as follows: manufacturer> instructions> detailed description
For output, I use the full catalog.
What should I write instead of a link to a detailed description in order to get a link to download a file, i.e. the structure should become:
Producer > instruction(name-link)
Answer the question
In order to leave comments, you need to log in
Here is a working solution.
Taken from https://camouf.ru/blog-note/421/
There's a lot more to see
<? echo '<a href="'.CFile::GetPath($arItem["PROPERTIES"]["СВОЙСТВО"]["VALUE"]).'"><? echo $productTitle; ?></a> '; ?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question