Print order and emails in magento

Is it possible to print invoices and orders as html instead of pdf from admin? Magento sends the invoice in the form of html-email, so most of the work has already been completed.

thank

+3
source share
4 answers

I also wanted to do this. I was able to do this by creating my own custom module that took the order identifier as a parameter. With this parameter, I could pull the information from the order model and then paste it into the block that made a good HTML formatted invoice. Is that what you can encode?

- UPDATE -

, zip .
http://dl.dropbox.com/u/1177948/Magento%20HTML%20Invoices.zip

, , . , .

+1

:

http://yousite.net/sales/order/print/order_id/1/

"" .

0

magento "".

0

As you noticed from other answers, Magento wants you to use PDF files from the admin panel. I don’t know of any built-in way to generate HTML copies of orders from the administrator, but since joksnet said there is a print page for users with an interface. I would suggest cloning this page or looking for ways to access it as an administrator (without registering as this user).

0
source

Source: https://habr.com/ru/post/1776844/


All Articles