How to get country code on 2 digits for e-Commerce
Author: Axel
Visited 989,
Followers 2,
Shared 0
Hello Incomedia,
An answer since 12-2020 ???
https://helpcenter.websitex5.com/en/post/235991
Enjoy!
Axel
Posted on the
... very simple; ... correct the contents of the Array in the "country_names" key of the content language...
ciao
.
Author
Hello KolAsim
No .... because for the customer it is better to have the full country name into the form.
It should be interesting to have a field with the associated ISO code which is filled automatically into the form to use it after with some custom payment.
Because some custom payments it is mandatory to retrieve the country ISO code !!!
Enjoy!
Axel
Hello Axel
As of now, the fields available for the Ecommerce are:
[ORDER_NO]*
[PRICE]*
[SHIPPING_ID]
[COMPANY]*
[NAME]*
[LASTNAME]*
[ADDRESS1]*
[ADDRESS2]*
[ZIPPOSTALCODE]*
[CITY]*
[STATEREGION]*
[COUNTRY]*
[COUNTRYCODE]*
[EMAIL]*
[PHONE]*
[MOBILE]*
[FAX]*
[VAT]*
[CUSTOMERID]*
[ADVERTS]*
[NOTE]*
[<CUSTOM FIELD NAME>]
If none of these return the wanted data, I'm afraid that as of now there is no way to retrieve this information
Can you try with the Country Code and see if it does the trick?
Thank you
Stefano
Author
Hey Stefano,
I will check, but where did you get this list... Nothing into the documentation
On page 42 there is just only this one and nothing more about e-Commerce variables. Does it really normal ?
It should be very nice to update your documentation for us...
Update Protection is also for that !!!!
Enjoy!
Axel
Author
Hey Stefano.
The field [COUNTRYCODE] works fine to get the country iso code into an order.
Waiting answer about variables list !
Enjoy
Axel
Hello Axel
Thank you for your feedback, I'm glad the field was helpful
We're currently preparing the updated version of the guide that will include this information too
Stefano