Author |
Topic |
|
klynch_gdd
Starting Member
USA
10 Posts |
Posted - June 28 2002 : 16:23:35
|
I am not a professional ASP programmer and I need a little help. I have read through the MASSIVE code and documentation and am officialy confused. I know that when the emails are sent that the [Add_OItems] is for displaying the items information that was purchased. I can see that shopfileio.asp referes to this and then referes to Handle_OItems which is in the same file.
I need to customize the output of [Add_OItems] to show as follows:
Quantity | ItemName | Allow User Text | Total
In other words I need to kill the Item Description and format the output of the sale line by line in a table and not one item taking up 4 lines.
Thanks :-)
|
|
bretneal
Starting Member
USA
46 Posts |
Posted - December 21 2003 : 13:50:14
|
Klynch
You may have alredy figured this out, bot for any one who has not, maduko was right!
And for all of you who will not hel unless paid..... I hope you never need a little guidance!
You will see the following in shopfileio.asp referes to this and then referes to Handle_OItems
'******************************************************* ' Template format order items ' expects myconn to be open as open connection '******************************************************** Dim Isql, deliveryaddress, deliveryarray dim orderid Dim rsitems Dim Dbc, recordid Dim CR, itemname recordid=parsearray(pidvalue) If ucase(Getsess("emailformat"))="HTML" then CR="<br>"
The CR="<br>" will be changed to CR="<TO>"
It is not a perfect fix. but it is better than what you have now. If I come up with mor, I will share.
|
|
|
integ115
Starting Member
2 Posts |
Posted - January 12 2004 : 17:39:02
|
I was just told how to do this by vpasp support. in your email template file, replace [add_oitem] with [add_oitemstemplate]. then you can format tmp_oitems.txt.
Adam [email protected]
|
|
|
printas
Starting Member
16 Posts |
Posted - May 17 2004 : 09:20:48
|
Hi,
I don't think is as easy as replacing [add_oitem] with [add_oitemstemplate] in the tmp_customeremail.htm. I tried doing that and altering the tmp_oitems.txt, it still doesn't work they I wanted.
This is what Support says:
"The add_oitemstemplate was our concept of trying to give some control of the formtting without having to go into the ASP code.
It will never match the format of the printed invoice because we still have to do things in code (there is no way to do totals in the template)
So the only way to achieve extrenely fine tuning is to actually go in and write the ASP code that formats the informat exactly the way you want. The code is in shopfileio.asp"
|
|
|
|
Topic |
|