We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e0e558 commit 71492c2Copy full SHA for 71492c2
app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Cart.php
@@ -272,7 +272,9 @@ protected function getQuote()
272
{
273
if (null === $this->quote) {
274
$customerId = $this->getCustomerId();
275
- $storeIds = $this->_storeManager->getWebsite($this->getWebsiteId())->getStoreIds();
+ $websiteId = $this->getWebsiteId() ?:
276
+ $this->_storeManager->getDefaultStoreView()->getWebsiteId();
277
+ $storeIds = $this->_storeManager->getWebsite($websiteId)->getStoreIds();
278
279
try {
280
$this->quote = $this->quoteRepository->getForCustomer($customerId, $storeIds);
0 commit comments