Sfoglia il codice sorgente

[Boutique] Commander : correctif OrderController

feature/rotating_product
Guillaume Bourgeois 4 mesi fa
parent
commit
fa20533aa2
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. +1
    -2
      producer/controllers/OrderController.php

+ 1
- 2
producer/controllers/OrderController.php Vedi 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…
Annulla
Salva