xanti Posted April 9, 2009 Share Posted April 9, 2009 Bonjourje cherche à modifier le file d'ariane pour ne plus voir apparaitre le nom du produit, juste les catégories et sous catégories.j'aimerais savoir qu'elle fichier php il faut modifier. cela est-il dans le répertoire classes/.en attente de vos réponses Link to comment Share on other sites More sharing options...
dodo Posted July 8, 2009 Share Posted July 8, 2009 Salut,je suis également en train de chercher comment modifier le breadcrumb. Dans mon cas je cherche a masquer certaines catégories.J'ai jeté un coup d'oeil dans le breadcrumb.tpl (prestashop/themes/monTheme/) qui affiche un {$navigationPipe|escape:htmlall:'UTF-8'}Je n'ai pas encore trouvé comment modifier cette variable ni comment elle est construite.Si tu as des infos je suis preneur, sinon dès que j'ai le temps de me pencher dessus je te fais part de mes découvertes ^^ Link to comment Share on other sites More sharing options...
Laurent71 Posted July 8, 2009 Share Posted July 8, 2009 c'est précisemment, ce que je cherche à faire...Affaire à suivre... Link to comment Share on other sites More sharing options...
dodo Posted October 5, 2009 Share Posted October 5, 2009 pour enlever le nom du produit :Dans le fichier /dossierPrestashop/product.phpvers la ligne 200 tu as : $smarty->assign(array( 'return_link' => (isset($category->id) AND $category->id) ? Tools::safeOutput($link->getCategoryLink($category)) : '[removed] history.back();', 'path' => (isset($category->id) AND $category->id) ? Tools::getPath(intval($category->id), $product->name) : Tools::getPath(intval($product->id_category_default), $product->name) )); il faut supprimer la variable $product->name pour pathce qui donne : $smarty->assign(array( 'return_link' => (isset($category->id) AND $category->id) ? Tools::safeOutput($link->getCategoryLink($category)) : '[removed] history.back();', 'path' => (isset($category->id) AND $category->id) ? Tools::getPath(intval($category->id)) : Tools::getPath(intval($product->id_category_default)) )); et normalement plus de nom de produit.@tte Link to comment Share on other sites More sharing options...
DrÿSs' Posted October 5, 2009 Share Posted October 5, 2009 Déplacé dans le forum Graphisme. Link to comment Share on other sites More sharing options...
ethicolours Posted October 5, 2009 Share Posted October 5, 2009 merci pour l'infoxanti Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now