-
481
-
2782
-
7/24/2010
-
India
I have simple requirment of adding few static text to PDF invoices, somebody please help..
-
1794
-
14506
-
10/7/2009
-
United Kingdom
where do you need the text to appear ?
-
481
-
2782
-
7/24/2010
-
India
Below the Date on the top right.
-
1794
-
14506
-
10/7/2009
-
United Kingdom
using Visual Studio
find PDFHelper.cs in
nopCommerce_1.80_Source\Libraries\Nop.BusinessLogic\Utils
and find the line you want and add the text in bold
ordRow[rownum].AddParagraph(SettingManager.StoreUrl.Trim(new char[] { '/' })).AddHyperlink(SettingManager.StoreUrl, HyperlinkType.Url);
ordRow[rownum].AddParagraph(String.Format(LocalizationManager.GetLocaleResourceString("PDFInvoice.OrderDate", languageId), DateTimeHelper.ConvertToUserTime(order.CreatedOn, DateTimeKind.Utc).ToString("D")));
ordRow[rownum].AddParagraph("your custom text");
if(File.Exists(PDFHelper.LogoFilePath))
{
ordRow[0].AddImage(PDFHelper.LogoFilePath);
}
You will need to recompile the solution for the change to take effect
- hayden