Skip to content

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