Skip to content

sales-order

Auto Added by WPeMatico

Get Custom Data in the observer to set in the quote

This is my custom controller : <?php namespace VednorModuleControllerCustomer; use MagentoFrameworkControllerResultFactory; use PsrLogLoggerInterface; class Addtocart extends MagentoFrameworkAppActionAction { protected $logger; /** * @var MagentoCheckoutModelCart */ protected $cart; /** * @var MagentoCatalogModelProduct */ protected $product; /** * @var MagentoFrameworkObjectManagerInterface */ protected… Read More »Get Custom Data in the observer to set in the quote

Set Custom Field Data in the Order

I created a observer : <?php namespace VendorModuleObserver; use MagentoFrameworkEventObserver; use MagentoFrameworkEventObserverInterface; use MagentoFrameworkAppRequestInterface; use PsrLogLoggerInterface; class SaveRefToQuote implements ObserverInterface { protected $logger; protected $request; /** * Constructor * * @param LoggerInterface $logger * @param RequestInterface $request */ public function… Read More »Set Custom Field Data in the Order

Adminhtml sales order payment information section in magento 2.4.6

Adminhtml sales order payment information section add custom filed custom payment thorw how to do i try this way but it not working code working but Payment information sction not show sales_order_view.xml <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <body> <referenceBlock name=”order_payment”>… Read More »Adminhtml sales order payment information section in magento 2.4.6