<?php echo $this->getLayout()->createBlock('reports/product_viewed')->setTemplate('reports/product_viewed.phtml')->toHtml(); ?>
This code supposes to output the recently viewed products on the category page or product page (by inserting the roadrunner email code in .phtml files). and this has been always working for me on my Magento sites. However, I have experienced that for one site (Magento 1.9.3.3), this code isn't working at all. and for this site, the widget to show recently viewed product doesn't work either.
Any ideas what can cause the "recently viewed products" isn't working?
Hello @riomanandhe37b ,
Check if module output for Mage_Reports in System > Configuration > Advanced is not disabled.
If it is disabled then Enable it and flush the Magento cache and try.