State field missing from user prompts

islandrob

No avatar

2008-01-19 06:57

Hi forum,

I noticed that there isn't a prompt for STATE when filling out the shopper's information. I see CITY, Address, Zipcode, but no State. Was this left out on purpose? is there any help in getting that put in? or is that going to be in the next release?

» Quick.Cart v2.x

Robert

treewood (OpenSolution)

Avatar: treewood

2008-01-21 08:45

islandrob - i dont from where You are but for example in Poland or in Czech etc. there is no nessesery to have STATE field

Shaihulud

No avatar

2008-02-12 21:22

here in the US it IS required though, any suggestions??
also for internationl orders I'd like to be able to know what country I'm sending the order to, is there a fix for either of these??

idaryl

Avatar: idaryl

2008-02-13 04:40

Yes - you have to edit a few files though - and its pretty straightforward - I have added 5 extra fields this way - do a global search through the files for a field with the name sStreet (thats the name of the street field in the ordersDelivery.

You will notice that there are variables **(not only in this file but others as well - they will all have to be addressed) - the js checkForm and also don't forget to add them in the lang.php list as well too - and some in the admin. Simply copy the sName and create one called sState copy paste them into the strings right after the city - and there you go - a new field that works - I re-arranged mine to street, city, state, zip - removed the company one altogether (actually renamed that one to state made - it easier to find all the instances that way ;-)

Let me know how it went - OK? I have asked the guys here to help me with validation of field error messages, and when I get an easy tutorial - I'll post it under Tricky Dicky stuff.

Back to top
about us | contact