WebSite X5Help Center

 
Fred Sadowick
Fred Sadowick
User

Country Code Edit  en

Author: Fred Sadowick
Visited 1455, Followers 1, Shared 0  

How do I edit the country code drop-down list located in the email forms, etc.

Posted on the
9 ANSWERS
Paul M.
Paul M.
Moderator

Hello Fred,

Could you possibly post a screenshot illustrating to which 'country code drop-down list' you refer?

Or alternatively a direct link to a webpage showing the email form in question?

Many thanks!

Paul

Read more
Posted on the from Paul M.
Fred Sadowick
Fred Sadowick
User
Author

Step 2 Customer data in the shopping cart checkout... country code dropdown starts with Afganistan... want to default to a different country

Read more
Posted on the from Fred Sadowick
Paul M.
Paul M.
Moderator

Go to Step 1 General Settings...  look to the extreme right of the 'Content Language' field...  you will see a small icon to the right of the arrow for the drop-down menu...  click on this icon.

In the new screen which opens scroll down until you get to the entry 'country_names' in the 'ID content' field...  you will be able to directly edit the country names to suit your preferences using the field to the right of this (see my screenshot attached).

Once finished be sure to click 'Close' to save your changes...  do NOT click the red cross at the top-right of the dialogue box.

Then upload your project to the server and test.

Kind regards,

Paul

Read more
Posted on the from Paul M.
Fred Sadowick
Fred Sadowick
User
Author

ok did that, now my cart has gone bad... the formatting has disappeared!!!! How do i recover the cart screen format now?

Read more
Posted on the from Fred Sadowick
Paul M.
Paul M.
Moderator

Have you made other changes to your project?  Editing the country names shouldn't have any bearing on the formatting of the cart, which is defined in Step 4 Advanced Settings.

Have you taken ALL the country names out of the drop-down list?  I've just visited your site and no entries are showing in the list when I go through checkout?

Read more
Posted on the from Paul M.
Fred Sadowick
Fred Sadowick
User
Author

I just did a recovery... will start again.

Read more
Posted on the from Fred Sadowick
Fred Sadowick
Fred Sadowick
User
Author

I only put in 

[array]USA,Canada,Australia and now it shows up blank in the dropdown

Read more
Posted on the from Fred Sadowick
Fred Sadowick
Fred Sadowick
User
Author

You forgot to mention that the country names array HAVE to match the country codes array.

Read more
Posted on the from Fred Sadowick
Paul M.
Paul M.
Moderator

Many thanks for highlighting this issue.

Paul

Read more
Posted on the from Paul M.