How to add Recently visited product in product page left column?
-
29-09-2020 - |
Solution
Go to CMS > Widgets
. Click "Add New Widget Instance" and do the following settings:
Click Continue
Click Save
. Now check front-end product page.
NOTE: Browse two or more product first then check at product page
From you sample code, try to add this code before <p class="product-name">
<a class="product-image" href="<?php echo $_item->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->stripTags($_item->getName(), null, true) ?>" /></a>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange