Skip to content

Commit cbd2928

Browse files
ENGCOM-6127: #15959 Extension attributes of quote on checkout page #24771
- Merge Pull Request #24771 from skylineop/magento2:fix-15959 - Merged commits: 1. 2826f74 2. e818039 3. 0c7844e
2 parents abbfa03 + 0c7844e commit cbd2928

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/Checkout/Model/DefaultConfigProvider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,9 @@ private function getQuoteData()
397397
if ($this->checkoutSession->getQuote()->getId()) {
398398
$quote = $this->quoteRepository->get($this->checkoutSession->getQuote()->getId());
399399
$quoteData = $quote->toArray();
400+
if (null !== $quote->getExtensionAttributes()) {
401+
$quoteData['extension_attributes'] = $quote->getExtensionAttributes()->__toArray();
402+
}
400403
$quoteData['is_virtual'] = $quote->getIsVirtual();
401404

402405
if (!$quote->getCustomer()->getId()) {

0 commit comments

Comments
 (0)