**********************************************
get Tire Price By Product Id
**********************************************
$product_Id=2;
$custom = Mage::getModel('catalog/product')->load($product_Id);
$tierPrice = $custom->getTierPrice();
for($i=0;$i<count($tierPrice);$i++)
{
echo "price_id:".$tierPrice[$i]['price_id']."</br>";
echo " price:".$tierPrice[$i]['price']."</br>";
echo "price_qty:".$tierPrice[$i]['price_qty']."</br>";
}
This comment has been removed by a blog administrator.
ReplyDelete