WebSite X5Help Center

 
Fred Sadowick
Fred Sadowick
User

Country Code Edit  en

Auteur : Fred Sadowick
Visité 1460, Followers 1, Partagé 0  

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

Posté le
9 RéPONSES
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

Lire plus
Posté le de Paul M.
Fred Sadowick
Fred Sadowick
User
Auteur

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

Lire plus
Posté le de 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

Lire plus
Posté le de Paul M.
Fred Sadowick
Fred Sadowick
User
Auteur

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

Lire plus
Posté le de 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?

Lire plus
Posté le de Paul M.
Fred Sadowick
Fred Sadowick
User
Auteur

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

Lire plus
Posté le de Fred Sadowick
Fred Sadowick
Fred Sadowick
User
Auteur

I only put in 

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

Lire plus
Posté le de Fred Sadowick
Fred Sadowick
Fred Sadowick
User
Auteur

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

Lire plus
Posté le de Fred Sadowick
Paul M.
Paul M.
Moderator

Many thanks for highlighting this issue.

Paul

Lire plus
Posté le de Paul M.