I have a custom module that works with the default Magento quote factory. Here, I am fetching the quote data using the,
In my controller, I am trying to get the quote details using my quote id as below,
$quote = $this->quoteFactory->create()->load($quoteId); $subTotal = $quote['subtotal']; $total = $quote['grand_total'];
This is working as expected, however in case where magento is having multiple store views, the above is returning empty values. The above code is working fine and the quote details are returning properly only in the Default Store View but not in other store views.
Note that the we are getting the quote id in all the store views but the quote is empty.
Is there anything else that I should do to get the quote details in other store views as well.
Please can anyone help?