[QUOTE]Сергей Фролов написал:
Достаточно просто в component_epilog.php добавить 2 строчки и не нужен никакой ajax т.к. component_epilog отрабатывает всегда
[CODE] use \ Bitrix \ Catalog \ CatalogViewedProductTable as CatalogViewedProductTable ;
CatalogViewedProductTable::refresh( $arResult [ 'ID' ], CSaleBasket::GetBasketUserID()); [/CODE][/QUOTE]
Спасибо!!! И мне помогло
Достаточно просто в component_epilog.php добавить 2 строчки и не нужен никакой ajax т.к. component_epilog отрабатывает всегда
[CODE] use \ Bitrix \ Catalog \ CatalogViewedProductTable as CatalogViewedProductTable ;
CatalogViewedProductTable::refresh( $arResult [ 'ID' ], CSaleBasket::GetBasketUserID()); [/CODE][/QUOTE]
Спасибо!!! И мне помогло