Sfoglia il codice sorgente

[producer] Correction bug product.productDistribution non défini

dev
parent
commit
4a842d790b
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +4
    -0
      producer/controllers/OrderController.php

+ 4
- 0
producer/controllers/OrderController.php Vedi File

@@ -596,6 +596,10 @@ class OrderController extends ProducerBaseController
$indexProduct = 0 ;
foreach($productsArray as &$product) {
if(!isset($theProduct['productDistribution'][0])) {
$theProduct['productDistribution'][0] = $distribution->linkProduct($product) ;
}
$coefficient_unit = Product::$unitsArray[$product['unit']]['coefficient'] ;
if(is_null($product['photo'])) {

Loading…
Annulla
Salva