diff --git a/local/modules/ClickAndCollect/ClickAndCollect.php b/local/modules/ClickAndCollect/ClickAndCollect.php index 3bd88505..55e0ea95 100644 --- a/local/modules/ClickAndCollect/ClickAndCollect.php +++ b/local/modules/ClickAndCollect/ClickAndCollect.php @@ -52,7 +52,7 @@ class ClickAndCollect extends AbstractDeliveryModule } $price = 0; - if (null !== $chosenPlace = $this->getRequest()->get(('cnc-choosen-place'))) { + if (null !== $chosenPlace = $this->getRequest()->get(('cnc-choosen-day'))) { $placeId = PdrScheduleQuery::create()->findOneById($chosenPlace)->getIdPlace(); $price = PdrPlacesQuery::create()->findOneById($placeId)->getPrice(); } diff --git a/local/modules/ClickAndCollect/templates/frontOffice/default/order-delivery-extra.html b/local/modules/ClickAndCollect/templates/frontOffice/default/order-delivery-extra.html index 91d48535..4f62da6e 100644 --- a/local/modules/ClickAndCollect/templates/frontOffice/default/order-delivery-extra.html +++ b/local/modules/ClickAndCollect/templates/frontOffice/default/order-delivery-extra.html @@ -64,7 +64,7 @@ {/if} - + {/loop} diff --git a/local/modules/PlanificationLivraison/EventListeners/DeliveryListener.php b/local/modules/PlanificationLivraison/EventListeners/DeliveryListener.php index f0425df7..04105395 100644 --- a/local/modules/PlanificationLivraison/EventListeners/DeliveryListener.php +++ b/local/modules/PlanificationLivraison/EventListeners/DeliveryListener.php @@ -97,7 +97,7 @@ class DeliveryListener extends BaseAction implements EventSubscriberInterface } if ($module == ClickAndCollect::getModuleId()) { - if (null !== $placeId = $request->get('cnc-choosen-place', null)) { + if (null !== $placeId = $request->get('cnc-choosen-day', null)) { $sessionData = new SessionData(); $sessionData->setPlaceId($placeId);