-
Notifications
You must be signed in to change notification settings - Fork 153
GraphQl-509 save address to address book #690
GraphQl-509 save address to address book #690
Conversation
…-book' of github.com:magento/graphql-ce into graphQl-509-save-address-to-address-book
@VitaliyBoyko please address small issues in static build. |
$this->assignBillingAddressToCart->execute($cart, $billingAddress, $useForShipping); | ||
|
||
if (!empty($addressInput) && !empty($addressInput['save_in_address_book']) && 0 !== $customerId) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (!empty($addressInput) && !empty($addressInput['save_in_address_book']) && 0 !== $customerId) { | |
if (0 !== $customerId && !empty($addressInput['save_in_address_book'])) |
$this->assignShippingAddressToCart->execute($cart, $shippingAddress); | ||
|
||
if (!empty($addressInput) && !empty($addressInput['save_in_address_book']) && 0 !== $customerId) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (!empty($addressInput) && !empty($addressInput['save_in_address_book']) && 0 !== $customerId) { | |
if (0 !== $customerId && !empty($addressInput['save_in_address_book'])) |
Hi @lenaorobei, thank you for the review. |
@VitaliyBoyko |
Hello @VitaliyBoyko , |
Hi @VitaliyBoyko, thank you for your contribution! |
Description (*)
Provided support of saving an address in an address book on quote address mutations.
Fixed Issues (if relevant)
save_in_address_book
has no impact on Address Book #509:save_in_address_book
has no impact on Address Book