Skip to content

Commit

Permalink
fix(delivery-options): no pickup when not chosen (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
joerivanveen authored Mar 4, 2022
1 parent a28c116 commit ac86052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/DeliverySettingsProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ private function getCarrierSettings(int $psCarrierId, array $shippingOptions): a
'allowSaturdayDelivery' => $this->isEnabledInCarrier($psCarrierId, 'allowSaturdayDelivery'),
'allowShowDeliveryDate' => -1 !== $deliveryDaysWindow,
'allowSignature' => $this->isEnabledInCarrier($psCarrierId, 'allowSignature'),
'deliveryDaysWindow' => $deliveryDaysWindow,
'deliveryDaysWindow' => abs($deliveryDaysWindow),
'priceEveningDelivery' => $this->getPrice($psCarrierId, 'priceEveningDelivery', $taxRate),
'priceMorningDelivery' => $this->getPrice($psCarrierId, 'priceMorningDelivery', $taxRate),
'priceOnlyRecipient' => $this->getPrice($psCarrierId, 'priceOnlyRecipient', $taxRate),
Expand Down

0 comments on commit ac86052

Please sign in to comment.