Skip to content

Commit

Permalink
Add pickup location name in enterprise
Browse files Browse the repository at this point in the history
  • Loading branch information
julescournut committed Dec 7, 2021
1 parent 42cbf2d commit 2c53ffb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>1.6.7</version>
<version>1.6.8</version>
<author>
<name>Thelia</name>
<email>info@thelia.net</email>
Expand Down
4 changes: 2 additions & 2 deletions Listener/APIListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ protected function createPickupLocationAddressFromResponse($response)
->setZipCode((string)$response->ZIPCODE)
->setPhoneNumber('')
->setCellphoneNumber('')
->setCompany('')
->setCompany((string)$response->NAME)
->setCountryCode('FR') /** DPD Pickup only delivers in France as of 23/06/2020 */
->setFirstName('')
->setLastName('')
->setIsDefault(0)
->setLabel('')
->setLabel((string)$response->NAME)
->setAdditionalData([])
;

Expand Down

0 comments on commit 2c53ffb

Please sign in to comment.