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
Username:
Password:
Save Password
Forgot your Password?

 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-ASP 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-ASP 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-ASP 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