Skip to content

Commit e1407c3

Browse files
committed
MAGETWO-62627: [Backport] - Gift message appearing at product level when gift message is disable - for 2.0
1 parent 6f83a10 commit e1407c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/GiftMessage/Model/GiftMessageConfigProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ public function getConfig()
120120
$configuration['baseUrl'] = $store->isFrontUrlSecure()
121121
? $store->getBaseUrl(UrlInterface::URL_TYPE_LINK, true)
122122
: $store->getBaseUrl(UrlInterface::URL_TYPE_LINK, false);
123+
123124
return $configuration;
124125
}
125126

@@ -161,6 +162,7 @@ protected function isQuoteVirtual()
161162
protected function getOrderLevelGiftMessages()
162163
{
163164
$cartId = $this->checkoutSession->getQuoteId();
165+
164166
return $this->cartRepository->get($cartId);
165167
}
166168

0 commit comments

Comments
 (0)