ojojoo7 Posted October 28, 2012 Share Posted October 28, 2012 Bonjour, Je souhaiterai ajouter des liens précédent et suivant dans les categories. Je crois qu'il existe la même chose pour les produits. En utilisant le code suivant j'arrive à passer d'une catégorie à une autre grace à l'ID. cependant je galère à rester dans la même categorie. <a href="{$link->getCategoryLink($currentCategoryPosition+1, $currentCategoryPosition.link_rewrite)|escape:'htmlall':'UTF-8'}">Suivant</a> <a href="{$link->getCategoryLink($currentCategoryPosition-1, $currentCategoryPosition.link_rewrite)|escape:'htmlall':'UTF-8'}">Precedent</a> En bref mon problème est que je souhaite categorie suivante ou precedente dans la même catégorie parente. Merci Link to comment Share on other sites More sharing options...
SoluNeXT Posted October 29, 2012 Share Posted October 29, 2012 Bonjour, Il n'y a pas de solution simple à ton problème... Tu vas devoir jouer avec la base de données. Retrouvez-moi sur http://solunext.fr ou sur https://www.facebook.com/solunext.sas 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