Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Changing order in shopcustregister.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

elvis
VP-CART Super User

202 Posts

Posted - April 07 2009 :  07:26:56  Show Profile  Reply with Quote
When a customer register, he/she has to fill up first name, second name, etc.

In Norway, City comes after Zip Code.

I want to swap them. Could anyone tell me which file I need to tweak?

Thanks in advance.

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - April 07 2009 :  08:50:02  Show Profile  Reply with Quote
Hi,

if you open shopcustomerform.asp in a text or html editor and find line 48 approx:

CreateCustRow getlang("langCustPostCode"), "strpostcode", strpostcode,"Yes"

You can move this to immediately above line 38:
CreateCustRow getlang("langCustCity"), "strcity", strcity,"Yes"

Save a copy of the file before you make any changes.

Also if you want to change the order of city and postcode in the emails that you get when a customer registers open shopcustregister.asp and find line 251:

body=body & strCity & " " & strState & " " & strpostcode & vbcrlf

and change it to:

body=body & strpostcode & " " & strCity & " " & strState & vbcrlf
Hope this helps.

Carrol
www.deanston-electrical.co.uk

Edited by - carfin on April 07 2009 08:57:37
Go to Top of Page

elvis
VP-CART Super User

202 Posts

Posted - April 07 2009 :  09:32:17  Show Profile  Reply with Quote
Brilliant!
Thanks.
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