A
A
Anto2018-08-03 23:42:01
1C-Bitrix
Anto, 2018-08-03 23:42:01

Why when on autocaching crumbles component?

Good day!
Tell me on the site in the detailed card of the goods with incl. autocaching in the administrative part, on the Settings-autocaching tab, the Component caching settings tab. There is a scattering of the product card, but as soon as it is turned off, the product card is displayed correctly.
In the detailed product card there is an output <?$APPLICATION->ShowViewContent("RecommendedProducts")?> if you remove the product card, the same is displayed correctly, with on. autocaching of components in Settings-autocaching tab Configuring component caching

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Сергей, 2018-08-05
@gangstarcj

Ну вы же сами ответили что проблема в $APPLICATION->ShowViewContent. Отложенные функции не работают при кеше в шаблонах компонентов и ломают его. выносите в эпилог

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question