Forum Forum Magento Theme SNS Kalolia – Magento Theme block Hot Deals

  • Author
  • #6614


    this block Hot Deals doesn’t work.

    if i debug $this in template and get this back :

    array(16) { [“title”]=> string(9) “Hot deals” [“product_category”]=> string(1) “3” [“product_filter_by”]=> string(3) “all” [“product_limitation”]=> string(1) “6” [“product_order_by”]=> string(8) “position” [“product_order_dir”]=> string(4) “desc” [“product_source”]=> string(7) “catalog” [“product_ids”]=> string(7) “1,2,3,4” [“screen_lg”]=> string(1) “1” [“screen_md”]=> string(1) “1” [“screen_phone”]=> string(1) “1” [“screen_sm”]=> string(1) “2” [“screen_xs”]=> string(1) “1” [“type”]=> string(14) “products/deals” [“module_name”]=> string(12) “Sns_Products” [“product_image_disp”]=> bool(false) }

    but i do receive this message at frontend :
    There are no products matching the selection.
    meaning that $_productCollection has no items.

    tried to replace $_productCollection with Mage::getModel(‘catalog/product’)->getCollection()->addAttributeToFilter(‘*’)->addAttributeToSelect(‘entity_id’, array(‘in’=>array($this->getProductIds())));

    i do have items in my collection but the rest of the code seem not to work to display the data for $_product.

    Need solution on fixing this issue, magento version is 1.9.2 installed template above new installation.

You must be logged in to reply to this topic. Click here to login or register