Welcome, Guest ( Customer Panel | Login )




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

bengreen1980
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:

Customer:
Joe Blogs
9 Somewhere Court
Bristol
Avon
BS1 6FD
UK

Thanks in advance...

carfin
VP-CART 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.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

bengreen1980
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
0 Item(s)
$0.00