Skip to content

quote

Auto Added by WPeMatico

i am fetching the data from database and display in magento admin grid, and the grid display blank

I have tried all of my thinking, I don’t understand why the grid displays a blank Controller namespace StateDrivesRequestQuoteControllerAdminhtmlBulkquote; use MagentoBackendAppAction; use MagentoBackendAppActionContext; use MagentoFrameworkViewResultPageFactory; use StateDrivesRequestQuoteModelRequestQuoteFactory; use MagentoFrameworkRegistry; class Index extends Action { protected $_resultPageFactory; protected $_requestQuoteFactory; protected $_registry;… Read More »i am fetching the data from database and display in magento admin grid, and the grid display blank

Magento 2 How to update quote totals information from admin

Magento 2.4.5-p1 version using. We want to give custom discount via our custom module Using this code – <?php namespace NamespceModulenameControllerAdminhtmlQuote; use MagentoBackendAppActionContext; use MagentoFrameworkControllerResultFactory; use MagentoQuoteApiDataShippingAssignmentInterface; use MagentoQuoteApiDataTotalItemInterface; use MagentoSalesRuleModelRuleFactory; use MagentoSalesRuleApiRuleRepositoryInterface; use MagentoQuoteModelQuoteAddressTotal; use MagentoFrameworkAppResourceConnection; use MagentoFrameworkDBTransactionFactory; class… Read More »Magento 2 How to update quote totals information from admin

Magento 2 : Save quote

What is the Difference between $this->quoteRepository->save($quote); & $quote->save(); In below code public function aroundApply_shipping( StripeIntegrationPaymentsApiService $subject, callable $proceed, $address, $shipping_id = null ) { if (empty($this->checkoutSession) || empty($this->checkoutSession->getQuote()) || empty($this->checkoutSession->getQuote()->getId())) { $writer = new ZendLogWriterStream(BP . ‘/var/log/methodcallcheck.log’); $logger = new… Read More »Magento 2 : Save quote

Magento 2 : Graphql setShippingAddressesOnCart default query duplicates the addresses in quote_address table

I’m using Magento version 2.4.5-p1 And I’m trying to setShippingAddressesOnCart using graphql for logged-in customers. This is the default Magento query I’m using but it’s duplicating the data for the shipping address in quote_address, For Example, If I setShippingAddressesOnCart query… Read More »Magento 2 : Graphql setShippingAddressesOnCart default query duplicates the addresses in quote_address table