Loading src/Plugin/Commerce/CheckoutPane/PickupCapableShippingInformation.php +3 −1 Original line number Diff line number Diff line Loading @@ -212,7 +212,9 @@ class PickupCapableShippingInformation extends ShippingInformation { $shipments = $order->get('shipments')->referencedEntities(); $shipment = reset($shipments); return $shipment !== FALSE && $shipment->getShippingMethod() return $shipment !== FALSE && !empty($shipment->getShippingMethod()) && $shipment->getShippingMethod() ->getPlugin() ->getPluginId() === 'packeta'; } Loading Loading
src/Plugin/Commerce/CheckoutPane/PickupCapableShippingInformation.php +3 −1 Original line number Diff line number Diff line Loading @@ -212,7 +212,9 @@ class PickupCapableShippingInformation extends ShippingInformation { $shipments = $order->get('shipments')->referencedEntities(); $shipment = reset($shipments); return $shipment !== FALSE && $shipment->getShippingMethod() return $shipment !== FALSE && !empty($shipment->getShippingMethod()) && $shipment->getShippingMethod() ->getPlugin() ->getPluginId() === 'packeta'; } Loading