PDFInvoice HTMLTemplate

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
Hi all

Just wantet to share som code I am using on one of my nopcommerce sites, its a change to PDFService.cs, so it takes a HTMLTemplate and parses it to PDF.

So now I can "add/design" the invoice pdf as I see fit :)

PDFService.cs
http://tagwall.net/nopCommerce/pdfservice.txt

Working version for 2.70:
http://tagwall.net/nopCommerce/NopCommerce.PDFInvoice.Template.zip

Just unzip, and copy new nop.services.dll to bin folder and copy "PrintOrdersToPdf.html" to Content/templates/

eks of pdf invoice made from html template:
http://tagwall.net/nopCommerce/order_1_fromhtml.pdf

remember its a work in progress, any questions just shoot :)

Hope nopCommerce gets inspired to add something like that to maybe version 2.80 :)
11 years ago
Thats a great idea!

Looking forward to checkin it out
11 years ago
Does this really work?
11 years ago
Jackluv wrote:
Does this really work?


Hi Jackluv, it work just fine, you should try it out :)
10 years ago
Does it work with NOP 2.6 version, i have a store and need customization to tax field when we print the bills for Customers
10 years ago
Hi, I dont know if it will work with 2.6 you can try i out.
10 years ago
great idea yar thkz  tune up pc
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.