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.
5 anos atrás
Hi,

I want to change the pdf file in the message that will be sent to the costumer when the order is completed.
5 anos atrás
Hi,

edit message template in this page:

http://admin-demo.nopcommerce.com/Admin/MessageTemplate/List
5 anos atrás
If you mean the PDF invoice then you need to customize the code.


5 anos atrás
wooncherk wrote:
If you mean the PDF invoice then you need to customize the code.






How to customize the code?
5 anos atrás
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)
5 anos atrás
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?
5 anos atrás
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.