Showing results for 
Search instead for 
Did you mean: 

Magento 2.4.7 Order Attribute

Magento 2.4.7 Order Attribute

Hi All,


I have created a custom order attribute and used for sales_order_after_save event. Admin order creation page has the data in phtml but after submit the create order button the custom attribute value is not coming in the observer function. 


Used the below link for the reference:


Re: Magento 2.4.7 Order Attribute




phtml data not pass at order creation level in the file OrderSaveAfter.php put the log what data you get in the observer file if you get that data than it save properly in order attribute.


Thank You!

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.