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.
Il y a 5 ans
Hi,

I want to change the pdf file in the message that will be sent to the costumer when the order is completed.
Il y a 5 ans
Hi,

edit message template in this page:

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


Il y a 5 ans
wooncherk wrote:
If you mean the PDF invoice then you need to customize the code.






How to customize the code?
Il y a 5 ans
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)
Il y a 5 ans
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?
Il y a 5 ans
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.