A
A
Alexander Ivanov2018-07-06 14:47:32
1C-Bitrix
Alexander Ivanov, 2018-07-06 14:47:32

Why is there no access to the infoblock picture?

Infoblocks behave strangely.
The variable $item['PRODUCT_PREVIEW'] contains a value and it can be seen through print_r.
5b3f55e2e698e201416123.png
When I access $item['PRODUCT_PREVIEW']['SRC'] it displays an empty value.
Previously, everything worked properly, I didn’t change anything in the settings, I just made up. Access to the variable that contains the picture was closed, I also tried it through the infoblock property, the situation is similar there.

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