Advertisement
Guest User

Untitled

a guest
Jul 29th, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. $_products = array($product_1,$product_2,$product_3,$product_4);
  2. $_products =Mage::getModel('catalog/product')->getCollection()
  3. ->addAttributeToFilter('sku', array('in' => $_products))
  4. ->addAttributeToFilter('status', 1)
  5. ->addAttributeToSelect('*')
  6. ->addUrlRewrite();
  7.  
  8. <?php echo $_product->getChildHtml('prices'); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement