I want to add recently compared products in a div. so I added this code in CMS

<div id="contents_right" style="background-color: green; float: right; width: 250px; height: 100%;">
{{widget type="reports/product_widget_compared" page_size="5" template="reports/widget/compared/content/compared_list.phtml"}}

But I cannot see any widget added in my homepage. Where have I gone wrong? Thanks..

  • Please clear magento cache if enable and try to add some product in compare. I hope this will help you :)
    – Nits
    Feb 6, 2017 at 12:59

1 Answer 1


Hey i'm using same widget code in my local magento 1.9 and i have result on my home cms page.

to so recently compared product first of all you need to add product to add to compare.

after that you have compared product list/grid display on your home page.

will you please there have any display:none style on id="contents_right"?? if have that style then please remove that. enter image description here

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.