cancel
Showing results for 
Search instead for 
Did you mean: 

Print out of Magento 2 Sales Order

Print out of Magento 2 Sales Order

How can I customize print out of Magento 2 sales order ? 

I am getting site Header and Footer when I am printing Orders.

2 REPLIES 2

Re: Print out of Magento 2 Sales Order

copy blank theme print.less file in your theme web folder 
(vendor/magento/theme-frontend-blank/web/css/print.less file into 
<your_theme_folder>/web/css/print.less and add 
lines after @media print {
 header,

footer {display: none}
or something like that Smiley Happy 

Re: Print out of Magento 2 Sales Order

Thank @ChuckY for your reply. You solution is not working. I need a better solution using PHP or XML. Thanks