Skip to content

Commit e30509b

Browse files
committed
Add note to setCustomer on quote about quote addresses removal
1 parent e6e2dc3 commit e30509b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Quote/Model/Quote.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,8 @@ public function assignCustomerWithAddressChange(
984984

985985
/**
986986
* Define customer object
987+
*
988+
* Important: This method also copies customer data to quote and removes quote addresses
987989
*
988990
* @param \Magento\Customer\Api\Data\CustomerInterface $customer
989991
* @return $this

0 commit comments

Comments
 (0)