Le voilà en français pour ceux que cela intéresse!
Avec petite correction css!
PrestaShop Forum
The best place in the world to ask questions about PrestaShop and get advice from our passionate community!
$name=$categories[$index[$cat]]['name'];
foreach ($result AS $row)
{
$name = preg_replace('/^[0-9]+\./', '', $row['name']);
$cats[] = array('id' => $row['id_category'], 'id_parent' => $row['id_parent'], 'name' => $name);
}
$result='<select name="cat_'.$num_sel.'">' ."\n";
$result .= '<option value="0"'.$id.'"'.($id==$id_sel ? ' selected="selected"' : '').">--</option>\n";