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:
parent
fc7bc7e5d9
commit
fd5fb90649
@ -1389,8 +1389,8 @@ class Form
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$opt.= price($objp->price).' '.$currencytext."/".$objp->quantity;
|
$opt.= price($objp->price * $objp->quantity).' '.$currencytext."/".$objp->quantity;
|
||||||
$outval.= price($objp->price).' '.$currencytextnoent."/".$objp->quantity;
|
$outval.= price($objp->price * $objp->quantity).' '.$currencytextnoent."/".$objp->quantity;
|
||||||
$opt.= $langs->trans("Units"); // Do not use strtolower because it breaks utf8 encoding
|
$opt.= $langs->trans("Units"); // Do not use strtolower because it breaks utf8 encoding
|
||||||
$outval.=$langs->transnoentities("Units");
|
$outval.=$langs->transnoentities("Units");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user