VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 final email output (help needed)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

10 Posts

Posted - June 28 2002 :  16:23:35  Show Profile  Visit klynch_gdd's Homepage  Reply with Quote
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 :-)

Starting Member

46 Posts

Posted - December 21 2003 :  13:50:14  Show Profile  Visit bretneal's Homepage  Reply with Quote

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
If ucase(Getsess("emailformat"))="HTML" then

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.

Go to Top of Page

Starting Member

2 Posts

Posted - January 12 2004 :  17:39:02  Show Profile  Reply with Quote
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.

[email protected]

Go to Top of Page

Starting Member

16 Posts

Posted - May 17 2004 :  09:20:48  Show Profile  Visit printas's Homepage  Reply with Quote

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"

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000