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

#   Button Next Product Missing

##

- **[didero](/forum/user/1276-didero "View didero's Profile")**
- [![didero's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1276.jpg)](/forum/user/1276-didero "View didero's Profile") Topic Author
- [ Offline](/forum/user/1276-didero)

Less More

- Posts: 66
- Thank you received: 3
-
-
-
- [](http://www.1968dewinkel.nl)
-

13 years 11 months ago -  13 years 11 months ago [\#77816](#77816) by [didero](/forum/user/1276-didero "View didero's Profile")  *[Button Next Product Missing](/forum/3-bug-report/75995-button-next-product-missing#77816 "Hi,  On some product pages I am missing the next button. Example link:  It happens when the products are set for different Hikashop categories. As I read from the documentation that is a feature of Hikashop or am I missing something here?  What happens is if product X in this example is followed by product Y from another category the right next button is missing. Is this a bug that has been solved in version 2.0.0?  See example. This product is followed by another product that has been assigned to more Hikashop product categories.  (Note: as I am reading my post I see that I have made the wrong screen prints - it is actually happening after product 5 in the row - screenprint no. 2 but hope my questions is still clear)")* was created by *[didero](/forum/user/1276-didero "View didero's Profile")*

Hi,

On some product pages I am missing the next button. Example link: [ ](http://www.1968dewinkel.nl/tilda/overige/product/100-houten-klossen)[ www.1968dewinkel.nl/tilda/overige/product/100-houten-klossen](http://www.1968dewinkel.nl/tilda/overige/product/100-houten-klossen)

It happens when the products are set for different Hikashop categories. As I read from the documentation that is a feature of Hikashop or am I missing something here?

What happens is if product X in this example is followed by product Y from another category the right next button is missing. Is this a bug that has been solved in version 2.0.0?

See example. This product is followed by another product that has been assigned to more Hikashop product categories.

(Note: as I am reading my post I see that I have made the wrong screen prints - it is actually happening after product 5 in the row - screenprint no. 2 but hope my questions is still clear)

[ ![button&#95;next&#95;product&#95;missing.jpg](/forum/attachment/7078) ](/forum/attachment/7078 "...ct&#95;missing.jpg")

[ ![button&#95;next&#95;product&#95;missing-2.jpg](/forum/attachment/7079) ](/forum/attachment/7079 "...&#95;missing-2.jpg")

[ ![button&#95;next&#95;product&#95;missing-3.jpg](/forum/attachment/7080) ](/forum/attachment/7080 "...&#95;missing-3.jpg")

[ ![button&#95;next&#95;product&#95;missing-4.jpg](/forum/attachment/7081) ](/forum/attachment/7081 "...&#95;missing-4.jpg")

---

[ ](http://www.didero.nl)[ www.didero.nl](http://www.didero.nl)

- [ ![button&#95;next&#95;product&#95;missing.jpg](/forum/attachment/7078) ](/forum/attachment/7078 "...ct&#95;missing.jpg") [ ](/forum/attachment/7078?download=1 "...ct&#95;missing.jpg")
- [ ![button&#95;next&#95;product&#95;missing-2.jpg](/forum/attachment/7079) ](/forum/attachment/7079 "...&#95;missing-2.jpg") [ ](/forum/attachment/7079?download=1 "...&#95;missing-2.jpg")
- [ ![button&#95;next&#95;product&#95;missing-3.jpg](/forum/attachment/7080) ](/forum/attachment/7080 "...&#95;missing-3.jpg") [ ](/forum/attachment/7080?download=1 "...&#95;missing-3.jpg")
- [ ![button&#95;next&#95;product&#95;missing-4.jpg](/forum/attachment/7081) ](/forum/attachment/7081 "...&#95;missing-4.jpg") [ ](/forum/attachment/7081?download=1 "...&#95;missing-4.jpg")

Last edit: 13 years 11 months ago by [didero](/forum/user/1276-didero "View didero's Profile"). Reason: note added

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NTk5NS1idXR0b24tbmV4dC1wcm9kdWN0LW1pc3Npbmc/dG1wbD1tYXJrZG93bg==) 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)
-

13 years 11 months ago [\#77866](#77866) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Button Next Product Missing](/forum/3-bug-report/75995-button-next-product-missing#77866 "Hi,  On some product pages I am missing the next button. Example link:  It happens when the products are set for different Hikashop categories. As I read from the documentation that is a feature of Hikashop or am I missing something here?  What happens is if product X in this example is followed by product Y from another category the right next button is missing. Is this a bug that has been solved in version 2.0.0?  See example. This product is followed by another product that has been assigned to more Hikashop product categories.  (Note: as I am reading my post I see that I have made the wrong screen prints - it is actually happening after product 5 in the row - screenprint no. 2 but hope my questions is still clear)")*

Hi,

Yes, there is a problem here. Could you give us a backend access ?
Or try to edit the file "components/com_hikashop/views/product/view.html.php" and in the function "show()" the request to have the next and previous products is there.

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

- **[didero](/forum/user/1276-didero "View didero's Profile")**
- [![didero's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1276.jpg)](/forum/user/1276-didero "View didero's Profile") Topic Author
- [ Offline](/forum/user/1276-didero)

Less More

- Posts: 66
- Thank you received: 3
-
-
-
- [](http://www.1968dewinkel.nl)
-

13 years 11 months ago [\#77904](#77904) by [didero](/forum/user/1276-didero "View didero's Profile")  Replied by *[didero](/forum/user/1276-didero "View didero's Profile")* on topic *[Button Next Product Missing](/forum/3-bug-report/75995-button-next-product-missing#77904 "Hi,  On some product pages I am missing the next button. Example link:  It happens when the products are set for different Hikashop categories. As I read from the documentation that is a feature of Hikashop or am I missing something here?  What happens is if product X in this example is followed by product Y from another category the right next button is missing. Is this a bug that has been solved in version 2.0.0?  See example. This product is followed by another product that has been assigned to more Hikashop product categories.  (Note: as I am reading my post I see that I have made the wrong screen prints - it is actually happening after product 5 in the row - screenprint no. 2 but hope my questions is still clear)")*

Xavier, thank you. I will set up a backend access and send you the details by email.
I only changed that view to show dutch translations for "next" and "previous" products.

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 1.6.0
* @author hikashop.com
* @copyright (C) 2010-2012 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
* ===============================================================
* views - product - show - "VORIG" en "VOLGEND ARTIKEL"
* ===============================================================
*/
defined('_JEXEC') or die('Restricted access');
?&gt;
&lt;div id="hikashop_product_&lt;?php echo @$this-&gt;element-&gt;product_code; ?&gt;_page" class="hikashop_product_page"&gt;
&lt;?php
$app = &amp; JFactory :: getApplication();
if (empty ($this-&gt;element)) {
$app-&gt;enqueueMessage(JText::_('PRODUCT_NOT_FOUND'));
} else {
if(!empty($this-&gt;links-&gt;previous))
echo "&lt;a alt='Vorige Artikel' title='Vorig Artikel' href='".$this-&gt;links-&gt;previous."'&gt;&lt;span class='hikashop_previous_product'&gt;&lt;/span&gt;&lt;/a&gt;";
if(!empty($this-&gt;links-&gt;next))
echo "&lt;a alt='Volgende Artikel' title='Volgend Artikel' href='".$this-&gt;links-&gt;next."'&gt;&lt;span class='hikashop_next_product'&gt;&lt;/span&gt;&lt;/a&gt;";
echo "&lt;div class='clear_both'&gt;&lt;/div&gt;";
?&gt;

---

[ ](http://www.didero.nl)[ www.didero.nl](http://www.didero.nl)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NTk5NS1idXR0b24tbmV4dC1wcm9kdWN0LW1pc3Npbmc/dG1wbD1tYXJrZG93bg==) 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)
-

13 years 11 months ago [\#78091](#78091) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Button Next Product Missing](/forum/3-bug-report/75995-button-next-product-missing#78091 "Hi,  On some product pages I am missing the next button. Example link:  It happens when the products are set for different Hikashop categories. As I read from the documentation that is a feature of Hikashop or am I missing something here?  What happens is if product X in this example is followed by product Y from another category the right next button is missing. Is this a bug that has been solved in version 2.0.0?  See example. This product is followed by another product that has been assigned to more Hikashop product categories.  (Note: as I am reading my post I see that I have made the wrong screen prints - it is actually happening after product 5 in the row - screenprint no. 2 but hope my questions is still clear)")*

Hi,

I can't reproduce the problem on my end and the problem come from the file "components/com_hikashop/views/product/view.html.php".
Could you give us a FTP access ?

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

- **[didero](/forum/user/1276-didero "View didero's Profile")**
- [![didero's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1276.jpg)](/forum/user/1276-didero "View didero's Profile") Topic Author
- [ Offline](/forum/user/1276-didero)

Less More

- Posts: 66
- Thank you received: 3
-
-
-
- [](http://www.1968dewinkel.nl)
-

13 years 11 months ago [\#78115](#78115) by [didero](/forum/user/1276-didero "View didero's Profile")  Replied by *[didero](/forum/user/1276-didero "View didero's Profile")* on topic *[Button Next Product Missing](/forum/3-bug-report/75995-button-next-product-missing#78115 "Hi,  On some product pages I am missing the next button. Example link:  It happens when the products are set for different Hikashop categories. As I read from the documentation that is a feature of Hikashop or am I missing something here?  What happens is if product X in this example is followed by product Y from another category the right next button is missing. Is this a bug that has been solved in version 2.0.0?  See example. This product is followed by another product that has been assigned to more Hikashop product categories.  (Note: as I am reading my post I see that I have made the wrong screen prints - it is actually happening after product 5 in the row - screenprint no. 2 but hope my questions is still clear)")*

Xavier, thank you again. I will send you the details by email.

---

[ ](http://www.didero.nl)[ www.didero.nl](http://www.didero.nl)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NTk5NS1idXR0b24tbmV4dC1wcm9kdWN0LW1pc3Npbmc/dG1wbD1tYXJrZG93bg==) 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)
-

13 years 11 months ago -  13 years 11 months ago [\#78418](#78418) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Button Next Product Missing](/forum/3-bug-report/75995-button-next-product-missing#78418 "Hi,  On some product pages I am missing the next button. Example link:  It happens when the products are set for different Hikashop categories. As I read from the documentation that is a feature of Hikashop or am I missing something here?  What happens is if product X in this example is followed by product Y from another category the right next button is missing. Is this a bug that has been solved in version 2.0.0?  See example. This product is followed by another product that has been assigned to more Hikashop product categories.  (Note: as I am reading my post I see that I have made the wrong screen prints - it is actually happening after product 5 in the row - screenprint no. 2 but hope my questions is still clear)")*

Hi,

I solved the problem for this product. But I think that it will happen for other products too.
The problem is that the product has many categories affected, and this system take the first returned category, and for this product the first returned category wasn't the category with the id 118.
But the category 77, and in the category 77 it's the last product, that's why there wasn't the next button.

What you can do is order the categories affected to the product on the product edition page, to be sure that it will link to the product of his main category.

Last edit: 13 years 11 months ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

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

- **[didero](/forum/user/1276-didero "View didero's Profile")**
- [![didero's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1276.jpg)](/forum/user/1276-didero "View didero's Profile") Topic Author
- [ Offline](/forum/user/1276-didero)

Less More

- Posts: 66
- Thank you received: 3
-
-
-
- [](http://www.1968dewinkel.nl)
-

13 years 11 months ago [\#78427](#78427) by [didero](/forum/user/1276-didero "View didero's Profile")  Replied by *[didero](/forum/user/1276-didero "View didero's Profile")* on topic *[Button Next Product Missing](/forum/3-bug-report/75995-button-next-product-missing#78427 "Hi,  On some product pages I am missing the next button. Example link:  It happens when the products are set for different Hikashop categories. As I read from the documentation that is a feature of Hikashop or am I missing something here?  What happens is if product X in this example is followed by product Y from another category the right next button is missing. Is this a bug that has been solved in version 2.0.0?  See example. This product is followed by another product that has been assigned to more Hikashop product categories.  (Note: as I am reading my post I see that I have made the wrong screen prints - it is actually happening after product 5 in the row - screenprint no. 2 but hope my questions is still clear)")*

Hi Xavier,

Thank you. Indeed there are other products where the same happens e.g. products assigned to two or more categories followed by a product from yet another category. I already thought that is causing this to happen.
How did you solve it?

---

[ ](http://www.didero.nl)[ www.didero.nl](http://www.didero.nl)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NTk5NS1idXR0b24tbmV4dC1wcm9kdWN0LW1pc3Npbmc/dG1wbD1tYXJrZG93bg==) 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)
-

13 years 11 months ago [\#78438](#78438) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Button Next Product Missing](/forum/3-bug-report/75995-button-next-product-missing#78438 "Hi,  On some product pages I am missing the next button. Example link:  It happens when the products are set for different Hikashop categories. As I read from the documentation that is a feature of Hikashop or am I missing something here?  What happens is if product X in this example is followed by product Y from another category the right next button is missing. Is this a bug that has been solved in version 2.0.0?  See example. This product is followed by another product that has been assigned to more Hikashop product categories.  (Note: as I am reading my post I see that I have made the wrong screen prints - it is actually happening after product 5 in the row - screenprint no. 2 but hope my questions is still clear)")*

> What you can do is order the categories affected to the product on the product edition page, to be sure that it will link to the product of his main category.

Or, edit the file "components/com_hikashop/product/view.html.php"

And add the code: Code:

if($product_id == 108) $category_id = '223';

Before: 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=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NTk5NS1idXR0b24tbmV4dC1wcm9kdWN0LW1pc3Npbmc/dG1wbD1tYXJrZG93bg==) 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.078 seconds

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