//commented by Irfan
//$currencyClass->getPrices($rows, $product_id, $currency_id, $main_currency, $zone_id, $discount_before_tax);
//added by Irfan,note:order user group price in hikashop
//product_add:order controller
if(!empty($product_id)){
JArrayHelper::toInteger($product_ids);
$database = JFactory::getDBO();
$query = 'SELECT * FROM '.hikashop_table('product').' WHERE product_id IN ('.$product_id[0].')';
$database->setQuery($query);
$rows = $database->loadObjectList();
}
$currencyClass->getPrices($rows, $product_id, $currency_id, $main_currency, $zone_id, $discount_before_tax,$order->order_user_id);
//End by Irfan