cancel
Showing results for 
Search instead for 
Did you mean: 

directory_country get the iso3_code

SOLVED

directory_country get the iso3_code

Hello all,

I can't find an way to get the iso3_code from the directory_country table by country_id.

I need this info in my custom made module.

Thank you in advance.

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: directory_country get the iso3_code

Found the solution my self, added information for somebody that has the same issue.

 

$country->getData('iso3_code') works

$country->getIso3Code() does not work

Only why, I dont know.

View solution in original post

1 REPLY 1

Re: directory_country get the iso3_code

Found the solution my self, added information for somebody that has the same issue.

 

$country->getData('iso3_code') works

$country->getIso3Code() does not work

Only why, I dont know.