Skip to content

Commit 1604844

Browse files
committed
MC-35653:MyAccount :: Order Details :: Payments Methods, shipping address, billing address by Order Number
- Added suffix and prefix changes on address
1 parent f1a585e commit 1604844

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/SalesGraphQl/Model/Order/OrderAddress.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ private function formatAddressData(
6262
'lastname' => $orderAddress->getLastname(),
6363
'middlename' => $orderAddress->getMiddlename(),
6464
'postcode' => $orderAddress->getPostcode(),
65-
'prefix' => $orderAddress->getFirstname(),
66-
'suffix' => $orderAddress->getFirstname(),
65+
'prefix' => $orderAddress->getPrefix(),
66+
'suffix' => $orderAddress->getSuffix(),
6767
'street' => $orderAddress->getStreet(),
6868
'country_code' => $orderAddress->getCountryId(),
6969
'city' => $orderAddress->getCity(),

0 commit comments

Comments
 (0)