I am using this code to get total times current product added in customers wishlist.

<?php $wishlist = Mage::getModel('wishlist/item')->getCollection();
                     ->where('main_table.product_id =  '.$_product->getId());
    echo $count = $wishlist->count(); echo ' times added in wishlist';


It is working good , i would need somehow to get the customer names that have added this product in wishlist. Any ideas?

Your Answer

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

Browse other questions tagged or ask your own question.