[Skip to main content](#vessel-content)

#   Article suivant...

##

- **[sudkarting](/forum/user/23503-sudkarting "View sudkarting's Profile")**
- [![sudkarting's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar23503.png)](/forum/user/23503-sudkarting "View sudkarting's Profile") Topic Author
- [ Offline](/forum/user/23503-sudkarting)

Less More

- Posts: 436
- Thank you received: 20
-
-

12 years 8 months ago [\#150026](#150026) by [sudkarting](/forum/user/23503-sudkarting "View sudkarting's Profile")  *[Article suivant...](/forum/5-support-en-francais-french-support-/866997-article-suivant#150026 "-- url of the page with the problem -- :   www.sudkarting.fr/boutique  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message Bonjour,  Depuis la version 2.3.0 il y a la possibilité dans la vue article de la boutique de passer à l'article suivant ou l'article précédent (Très bonne idée en tous les cas!), mais on passe à l'article d'une autre catégorie... Ex: si on regarde le 1er article d'un catégorie, si on fait suivant on passe au 1er article de la catégorie suivante et si on fait précédent on passe au 1er article de la catégorie précédente...  Est il possible de &quot;naviguer&quot; uniquement dans la même catégorie? Si oui comment?  Merci")* was created by *[sudkarting](/forum/user/23503-sudkarting "View sudkarting's Profile")*

-- url of the page with the problem -- : [ www.sudkarting.fr/boutique](http://www.sudkarting.fr/boutique)
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 2.5.19
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
Bonjour,

Depuis la version 2.3.0 il y a la possibilité dans la vue article de la boutique de passer à l'article suivant ou l'article précédent (Très bonne idée en tous les cas!), mais on passe à l'article d'une autre catégorie...
Ex: si on regarde le 1er article d'un catégorie, si on fait suivant on passe au 1er article de la catégorie suivante et si on fait précédent on passe au 1er article de la catégorie précédente...

Est il possible de "naviguer" uniquement dans la même catégorie? Si oui comment?

Merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY2OTk3LWFydGljbGUtc3VpdmFudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 7 months ago [\#150241](#150241) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Article suivant...](/forum/5-support-en-francais-french-support-/866997-article-suivant#150241 "-- url of the page with the problem -- :   www.sudkarting.fr/boutique  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message Bonjour,  Depuis la version 2.3.0 il y a la possibilité dans la vue article de la boutique de passer à l'article suivant ou l'article précédent (Très bonne idée en tous les cas!), mais on passe à l'article d'une autre catégorie... Ex: si on regarde le 1er article d'un catégorie, si on fait suivant on passe au 1er article de la catégorie suivante et si on fait précédent on passe au 1er article de la catégorie précédente...  Est il possible de &quot;naviguer&quot; uniquement dans la même catégorie? Si oui comment?  Merci")*

Bonjour,

Merci d'éditer le fichier "components/com_hikashop/views/product/view.html.php", dans la fonction "show()" ajoutez: Code:

$filters['category'] = 'a.category_id = '.(int)$category_id;

Après (dans le "if"): Code:

if(empty($category_id)){ $query='SELECT a.category_id FROM '.hikashop_table('product_category').' AS a WHERE a.product_id='.(int)$product_id.' ORDER BY a.product_category_id ASC'; $database-&gt;setQuery($query); $category_id = $database-&gt;loadResult();

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY2OTk3LWFydGljbGUtc3VpdmFudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sudkarting](/forum/user/23503-sudkarting "View sudkarting's Profile")**
- [![sudkarting's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar23503.png)](/forum/user/23503-sudkarting "View sudkarting's Profile") Topic Author
- [ Offline](/forum/user/23503-sudkarting)

Less More

- Posts: 436
- Thank you received: 20
-
-

12 years 7 months ago [\#150300](#150300) by [sudkarting](/forum/user/23503-sudkarting "View sudkarting's Profile")  Replied by *[sudkarting](/forum/user/23503-sudkarting "View sudkarting's Profile")* on topic *[Article suivant...](/forum/5-support-en-francais-french-support-/866997-article-suivant#150300 "-- url of the page with the problem -- :   www.sudkarting.fr/boutique  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message Bonjour,  Depuis la version 2.3.0 il y a la possibilité dans la vue article de la boutique de passer à l'article suivant ou l'article précédent (Très bonne idée en tous les cas!), mais on passe à l'article d'une autre catégorie... Ex: si on regarde le 1er article d'un catégorie, si on fait suivant on passe au 1er article de la catégorie suivante et si on fait précédent on passe au 1er article de la catégorie précédente...  Est il possible de &quot;naviguer&quot; uniquement dans la même catégorie? Si oui comment?  Merci")*

Top!!!

Merci beaucoup.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY2OTk3LWFydGljbGUtc3VpdmFudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.056 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
