1

I am trying to have the wishlist sidebar on my site display on all catalog pages, as the cart sidebar does. As of now the only way it displays is if you add a product to the wishlist.

  • To clarify, you're wanting to show the wishlist even if it is empty? – zigojacko Jun 17 '14 at 16:07
  • @zigojacko yes exactly – xoxoxo Jun 17 '14 at 17:05
1

You'll need to override the _toHtml method in the Mage_Wishlist_Block_Customer_Sidebar class. It checks if there are items in the wishlist before calling parent::_toHtml(). Remove this conditional and you see the empty wishlist block in the sidebar.

| improve this answer | |
1

In PHTML template file, you can add this PHP code to wherever you want

    <?php echo $this->getChildHtml('mini_wishlist_top'); ?>
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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