diff --git a/htdocs/fourn/product/fiche.php b/htdocs/fourn/product/fiche.php index 30ba800a93f..234d6ae9aa6 100644 --- a/htdocs/fourn/product/fiche.php +++ b/htdocs/fourn/product/fiche.php @@ -252,20 +252,8 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer) } print ''; print '
| '; + $cat = new Categorie ($db); + $way = $cat->print_primary_way($product->id," > ",'fourn/product/liste.php'); + if ($way == "") + { + print "Ce produit n'appartient à aucune catégorie"; + } + else + { + print $langs->trans("Categorie")." : "; + print $way; + } + print ' | '; + print '||
| '.$langs->trans("Ref").' | '.$product->ref.' | '; print ''; |