Jump to content

tatamimimi

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • First Name
    Keiko
  • Last Name
    ITO

Recent Profile Visitors

187 profile views

tatamimimi's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thank you shokinro for your quick reply! I tried to change the Country.php and put it in override foulder. As my version is 1.6.1.4, actually the code was not same. It was like below. if ($list_states) { $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('SELECT * FROM `'._DB_PREFIX_.'state` ORDER BY `name` ASC'); foreach ($result as $row) { if (isset($countries[$row['id_country']]) && $row['active'] == 1) { /* Does not keep the state if its country has been disabled and not selected */ $countries[$row['id_country']]['states'][] = $row; } } } return $countries; I changed the part of"name" to "iso_code". It works now perfectly! Thank you sooooooo much!!
  2. Hi!!! I'm making prestashop shopping site in Japanese. I want to change order of "states" in the page of address registration or change address . It's now in alphabetical order, but I want to make it order by ISO code. I can't find which file should I change... Please help me! Thank you in advance.
×
×
  • Create New...