Task # 559 : price defined on product page is unit price. Need to multiplicate this price by qty to have the right global price in the product list

This commit is contained in:
Maxime Kohlhaas 2012-10-26 01:07:11 +02:00
parent fc7bc7e5d9
commit fd5fb90649

View File

@ -1389,8 +1389,8 @@ class Form
}
else
{
$opt.= price($objp->price).' '.$currencytext."/".$objp->quantity;
$outval.= price($objp->price).' '.$currencytextnoent."/".$objp->quantity;
$opt.= price($objp->price * $objp->quantity).' '.$currencytext."/".$objp->quantity;
$outval.= price($objp->price * $objp->quantity).' '.$currencytextnoent."/".$objp->quantity;
$opt.= $langs->trans("Units"); // Do not use strtolower because it breaks utf8 encoding
$outval.=$langs->transnoentities("Units");
}