PDF Invoice

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Hello everyone. I want to change my invoice pdf without using any plugins. For example, the pdf logo loaded from the admin panel is at the top and on the edge. I want the logo to cover the top of the page. What is the file path that the invoice was designed for? Is it possible to add other interests besides the information that is available? Thanks in advance.
4 years ago
You need to change in PdfService.cs file.

For change in order invoice see method
PrintOrdersToPdf(Stream stream, IList<Order> orders, int languageId = 0, int vendorId = 0)


You can override PrintOrdersToPdf method in your plugin and make changes in the file.
4 years ago
Maybe these setting can help
https://docs.nopcommerce.com/user-guide/configuring/settingup/mainstore/pdf-settings.html
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.