My product comparison link doesn't work. This is in Magento 1.9.
My issues are almost identical to this post, with the exception that clearing the index did not work. Is there anything else I can try?
Here are the issues:
When I click "Add to Compare" on a product, a message stating that "such-and-such product successfully added to compare list" appears.
However the compare products sidebar shows "You have no items to compare."
I can tell the table catalog_compare_item
is being populated with the correct visitor ID and product ID, but if I do a print_r($this->helper('catalog/product_compare')->getItemCount())
in template/catalog/product/compare/sidebar.phtml, "0" is returned.
Why won't the sidebar show the products to compare?