- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2017
02:08 PM
11-14-2017
02:08 PM
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.
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2017
06:18 AM
11-15-2017
06:18 AM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2017
03:00 AM
11-19-2017
03:00 AM
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