You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a customer enters their shipping address, a PackStation can be automatically selected as the shipping destination. However, it's not always clear whether the suggested PackStation requires a post number, which can cause issues for the shipping party.
The following code is responsible for selecting the closest service point:
if ($servicePoint->shopType !== 'packStation' || $servicePoint->country !== 'DE') {
return$servicePoint;
}
}
returnfalse;
}
Wouldn't it be better to either exclude all PackStations or modify the if statement to verify whether the shipping address country is in a list of allowed PackStation countries that don't require a post number?
The text was updated successfully, but these errors were encountered:
Related to #64.
Prerequisites:
When a customer enters their shipping address, a PackStation can be automatically selected as the shipping destination. However, it's not always clear whether the suggested PackStation requires a post number, which can cause issues for the shipping party.
The following code is responsible for selecting the closest service point:
plugin-magento2-release/Model/Service/ServicePoint.php
Lines 59 to 73 in d929411
Wouldn't it be better to either exclude all PackStations or modify the if statement to verify whether the shipping address country is in a list of allowed PackStation countries that don't require a post number?
The text was updated successfully, but these errors were encountered: