Hot answers tagged

4

When the order is placed, the quote is deactivated. The field is_active is set to 0. There is a cron that removes all the inactive quotes that are older than X days. The cron is sales_clean_quotes and it maps to Magento\Sales\Cron\CleanExpiredQuotes::execute(). What happens to order if associated quote removed and vice versa? Nothing. The order is valid if ...


1

After set the shipping address in quote use below code to set shipping method programatically $shippingAddress = $quote->getShippingAddress(); $shippingAddress->setCollectShippingRates(true) ->collectShippingRates() ->setShippingMethod('shippingMethod') //shipping method ->setShippingDescription('shipping method ...


1

There is no way. It only works by using xdebug or extensions like ChromePhp.


Only top voted, non community-wiki answers of a minimum length are eligible