WebSite X5Help Center

 
Fred Sadowick
Fred Sadowick
User

Country Code Edit  en

Autore: Fred Sadowick
Visite 1461, Followers 1, Condiviso 0  

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

Postato il
9 RISPOSTE
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

Leggi di più
Postato il da Paul M.
Fred Sadowick
Fred Sadowick
User
Autore

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

Leggi di più
Postato il da 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

Leggi di più
Postato il da Paul M.
Fred Sadowick
Fred Sadowick
User
Autore

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

Leggi di più
Postato il da 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?

Leggi di più
Postato il da Paul M.
Fred Sadowick
Fred Sadowick
User
Autore

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

Leggi di più
Postato il da Fred Sadowick
Fred Sadowick
Fred Sadowick
User
Autore

I only put in 

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

Leggi di più
Postato il da Fred Sadowick
Fred Sadowick
Fred Sadowick
User
Autore

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

Leggi di più
Postato il da Fred Sadowick
Paul M.
Paul M.
Moderator

Many thanks for highlighting this issue.

Paul

Leggi di più
Postato il da Paul M.