how to change the message that will be sent to the costumer when the order is completed?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 5 años
Hi,

I want to change the pdf file in the message that will be sent to the costumer when the order is completed.
Hace 5 años
Hi,

edit message template in this page:

http://admin-demo.nopcommerce.com/Admin/MessageTemplate/List
Hace 5 años
If you mean the PDF invoice then you need to customize the code.


Hace 5 años
wooncherk wrote:
If you mean the PDF invoice then you need to customize the code.






How to customize the code?
Hace 5 años
You have the source code version and can use Visual Studio ?

See the file \nopCommerce_4.00_Source\Libraries\Nop.Services\Common\PdfService.cs

Edit the routine

public virtual string PrintOrderToPdf(Order order, int languageId = 0, int vendorId = 0)
Hace 5 años
Yidna wrote:
You have the source code version and can use Visual Studio ?

See the file \nopCommerce_4.00_Source\Libraries\Nop.Services\Common\PdfService.cs

Edit the routine

public virtual string PrintOrderToPdf(Order order, int languageId = 0, int vendorId = 0)



where can i find the code that send this message?
Hace 5 años
Best you learn how to use Search in VS

Look in \nopCommerce_4.00_Source\Libraries\Nop.Services\Orders\OrderProcessingService.cs

protected virtual void SendNotificationsAndSaveNotes(Order order)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.