Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 ASP (Windows server) versions
 (Cart issue) Province vs State, Postal Code vs Zip
Author « Topic »  

cciknives
Advanced Member

Canada
224 Posts

Posted - 12/04/2018 :  15:19:22  
Hello, can anyone help me regarding text field description in the Cart checkout page.

Currently on our Canadian site the Cart checkout says State and Zip in the text field and it should be Province and Postal Code.

I cannot find any help on this.

Thanks, Peter

CCI - Tools for the Discriminating Chef

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 12/04/2018 :  19:09:14  
Hi Peter

Have a look in /vsadmin/inc/languagefile_en.asp for the wordings. On the site I am looking after there are 12 instances of State and 6 of Zip.
The lines you are looking for look like this - $GLOBALS['xxZip']='[blue]Zip[/blue]';

Change the wording between the ' ' and then copy the relevant line(s) and add it in to the include.asp file. Doing so prevents any further updaters overwriting changes to the languagefile_en.asp

Will - Bolton Manchester UK


Edited by - V45 on 12/04/2018 19:10:56

dbdave
ECT Moderator

USA
10242 Posts

Posted - 12/04/2018 :  19:26:53  
When Canada is selected as the country, that should change.
Try it on the demo store - http://www.ectdemostore.com add an item to cart, go to checkout step 2.

David

Vince
Administrator

42425 Posts

Posted - 12/06/2018 :  02:08:42  
I tried the canadian site from your profile and it seems to say Postal Code and Province in checkout. Is it fixed now or is it another site going wrong?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

cciknives
Advanced Member

Canada
224 Posts

Posted - 12/06/2018 :  08:55:42  
Hi,

$GLOBALS['xxZip']='Zip'; does not exist in the /vsadmin/inc/languagefile_en.asp

Canada is selected as the country

Vince, this issue is not being able to select the province, it is to the left of the selection box is says "State" and should say "Province". Also the field where you put Postal Code it says "Zip". The description on the cart form is incorrect for Canada.

Any ideas how to fix? Would this fix need to be added to the includes file?

Thanks, Peter

CCI - Tools for the Discriminating Chef

cciknives
Advanced Member

Canada
224 Posts

Posted - 12/06/2018 :  08:58:15  
The problem can be seen if you click "View Basket" before proceeding to checkout.

CCI - Tools for the Discriminating Chef

Andy
ECT Moderator

95440 Posts

Posted - 12/06/2018 :  08:59:57  
I think you were given a PHP example for ASP that would be this added to includes.asp

xxZip="Postcode"
xxAllSta="Province"

Andy

Please feel free to review / rate our software

cciknives
Advanced Member

Canada
224 Posts

Posted - 12/06/2018 :  09:52:33  
Perfect Andy, problem solved.

Thank you.

CCI - Tools for the Discriminating Chef

dbdave
ECT Moderator

USA
10242 Posts

Posted - 12/06/2018 :  10:46:51  
quote:
problem solved


As long as you do not ship to the US.

cciknives
Advanced Member

Canada
224 Posts

Posted - 12/06/2018 :  11:32:05  
Correct Dave, except in our case we run two separate websites and databases so issue would not apply.

If it was the same website for both countries then I would probably put:

xxZip="Postal Code/ZIP"
xxAllSta="Province/State"

Thanks, Peter

CCI - Tools for the Discriminating Chef

Vince
Administrator

42425 Posts

Posted - 12/07/2018 :  01:43:25  
quote:
The problem can be seen if you click "View Basket" before proceeding to checkout.
I see what you mean now and this should all happen automatically like in the customer details form (switching between state/province/county depending on the country selected) on checkout. I've made the changes so it does so and I'll get that included in the next updater.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000