Update getSupplierPrices.php
This commit is contained in:
parent
30ad0e7e11
commit
dee020f286
@ -109,8 +109,7 @@ if ($idprod > 0)
|
||||
{
|
||||
// Add price for pmp
|
||||
$price=$producttmp->pmp;
|
||||
if (empty($price))
|
||||
{
|
||||
if (empty($price) && !empty($conf->global->PRODUCT_USE_SUB_COST_PRICES_IF_COST_PRICE_EMPTY)) {
|
||||
// get pmp for subproducts if any
|
||||
$producttmp->get_sousproduits_arbo();
|
||||
$prods_arbo=$producttmp->get_arbo_each_prod();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user