I have creat a custom module that adds a custom field to checkout. It is the input text field. I save this value to quote table and to the sales_order
table. But now I want to display this value in admin panel Sales->Order
, under Shipping Method information. How can I do this?
Thanks in advance for all the tips.
Best Answer
you can achieve this by adding your template file to sales_order_view.xml ,
and in your template file you can get the relevant information . for this you have to create 1.one block 'Learning\RewriteSales\Block\Adminhtml\Order\View\Custom' 2.one template 'order/view/custom.phtml' 3.and the changes to sales_order_view.xml as mentioned above ,
for more information you can refer this link enter link description here
if you face any problem , let me know , i will help :)