xanti 0 Posted April 9, 2009 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 Share this post Link to post Share on other sites
dodo 0 Posted July 8, 2009 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 ^^ Share this post Link to post Share on other sites
Laurent71 0 Posted July 8, 2009 Posted July 8, 2009 c'est précisemment, ce que je cherche à faire...Affaire à suivre... Share this post Link to post Share on other sites
dodo 0 Posted October 5, 2009 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 Share this post Link to post Share on other sites
DrÿSs' 23 Posted October 5, 2009 Posted October 5, 2009 Déplacé dans le forum Graphisme. Share this post Link to post Share on other sites
ethicolours 0 Posted October 5, 2009 Posted October 5, 2009 merci pour l'infoxanti Share this post Link to post Share on other sites
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