Browse Source

[Boutique] Commander : correctif OrderController

feature/rotating_product
Guillaume Bourgeois 5 months ago
parent
commit
fa20533aa2
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      producer/controllers/OrderController.php

+ 1
- 2
producer/controllers/OrderController.php View File

@@ -972,9 +972,8 @@ class OrderController extends ProducerBaseController
->all();

$productsArrayFilter = $productModule->filterProductsByPointSale($productsArray, $pointSale);

$orderCurrent = $order;
if(count($productsFormArray)) {
if($productsFormArray && count($productsFormArray)) {
$productOrdersArray = [];
foreach($productsFormArray as $idProduct => $quantityProduct) {
if($idProduct) {

Loading…
Cancel
Save