I need configure Product price range like
For the product name: $140 - 310 i use below code
if(Mage::getSingleton('customer/session')->isLoggedIn())
{
// Get group Id
$groupId = Mage::getSingleton('customer/session')->getCustomerGroupId();
}
else
{
$groupId = 0;
}
$db = Mage::getSingleton('core/resource')->getConnection('core_write');
$result = $db->query('SELECT price ,final_price, min_price, max_price, tier_price, group_price FROM catalog_product_index_price WHERE entity_id='.$_product->getId().' AND customer_group_id ='.$groupId.' ORDER BY customer_group_id ASC LIMIT 1');
$rows = $result->fetch();
i also need a regular price range for the configure product. i also think that my range after product name my be wrong because in Your Price have a price $135
so how can i get minimum value and maximum special price and also in regular price?
How can i get that?
Thanks and Regards