Updation of Address field asking for country specific field.

4 posts / 0 new
Last post
sakar
sakar's picture
Updation of Address field asking for country specific field.

On checkout procedure user is expected to full-fill the billing information.

Previously whichever the country user will select fields are constant;
now as i am selecting Hong Kong as country , user is expected to fill details about district and area fields.

Area fields is compulsory field.
And only 3 area's are available to select, i want to add more areas to existing one.

As its a update and previously it was not the case.

i need to close this issue on very urgent basis.

Please look forward to this and give me the best solution which u can.

support
support's picture
Hi there Sakar:

Hi there Sakar:

After reading a little bit about it (https://www.drupal.org/project/addressfield) I've seen they describe that:

Standardized storage of international postal addresses based on the xNAL standard (the same format used by Google Maps for geocoding)
Per-country edit form and formatting of addresses
Proper formatting of address forms and output on a country by country basis as they are added to the module; see the address formats issue queue for pending country support

Not pretty sure where they specifically set the formatting , but I have found some US states and postal codes in the folder sites/all/modules/addressfield/plugins/format

Just a start point.. not pretty sure if it will be exactly what you need.

Anyway, please let me know.

Best!!!

sakar
sakar's picture
I have gone through all the

I have gone through all the required files of area field module. But no whenever I can find the data regarding HongKong country.

From where area field is fetching the data?

can u please go into the detail level and let me know how can i reslove this issue.

Client requirement is on high priority.
Please do reply.

support
support's picture
Hi there Sakar:

Hi there Sakar:

I've been searching a lot and as the module is based on the xNAL standard, they do not describe how to customize it to add new fields... is ther eany way you can request your customers to just add it to the Address fields 1 and 2?? I have tried HongKong and it shows 2 addresses fields...

Let me know.

Best!!!

Log in to post comments