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-ASP Shopping Cart Customer Forum

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

 All Forums
 VPCart Forum
 General help me questions
 Order Display
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

27 Posts

Posted - August 16 2011 :  06:09:19  Show Profile  Reply with Quote
Hi Forum,

Is there a quick way to edit the way an order is diplayed on shopa_formatorder.asp?oid=*

Currently the name and address is displayed field by field, with all field labels. This means when you copy and paste, into our label software for example, you get:

First Name Joe
Last Name Blogs
Address 9 Somewhere Court
Town / City Bristol
County / State Avon
Post Code / Zip Code BS1 6FD
Country UK

What we would like to do is lay this out without the field labels so you can copy and past cleanly:

Joe Blogs
9 Somewhere Court

Thanks in advance...

VP-ASP Expert

United Kingdom
948 Posts

Posted - August 16 2011 :  09:31:43  Show Profile  Reply with Quote
I'm hoping this is more or less the same for V7.0

Open and save a copy of shopformatorder.asp

Find Sub GetOrderData - (line 160 approx)
Change strofirstname = orders("ofirstname") to
strofirstname = orders("ofirstname") & " " & orders("olastname")
Comment out the next line
' strolastname = orders("olastname")

Then find Sub DoHeader_Order (mytext) - (line 450 approx)
Comment out this line:
' Response.write ForderFieldLeft & fieldname & FOrderFieldLeftEnd

Save the file and test.


Go to Top of Page

Starting Member

27 Posts

Posted - August 16 2011 :  09:52:38  Show Profile  Reply with Quote
Spot on.
Thanks for your help Carrol
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000