Correction bogue sur sélection du point CnC qui demandait tout le temps de choisir un lieu
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user