mbrookshire wrote
Gilles,
Thanks for the information on the Language Resources.
In the Resource Name: OrderItems.Text entry (within EmailPayment.ascx) there are a few wildcard fields entered ({0} x {1} @ {2}). These turn out to be Quantity, Model Name and Unit Price. How would I go about adding additional information about the order? Specifically I'd like to get the model number into the email. Does it have a wild card number associated with it or does that need to be defined elsewhere.
Again, thanks for the contributions and help,
Marc
Hi Marc,
You can't do what you want with resources, you have to modify source code. Look inside the file PaymentControlBase.cs, line 190 you will find :
textLine = String.Format(_Message, item.Quantity, item.ModelName, item.UnitCost.ToString("C", LocalFormat));
Replace it by something like :
textLine = String.Format(_Message, item.Quantity, item.ModelNumber, item.UnitCost.ToString("C", LocalFormat));
Or may be :
textLine = String.Format(_Message, item.Quantity, item.ModelNumber + ' ' + item.ModelName, item.UnitCost.ToString("C", LocalFormat));
Gilles