Missing "Next Page" and "Previous Page" arrows

  • Posts: 42
  • Thank you received: 5
6 months 2 weeks ago #361253

-- url of the page with the problem -- : www.steelumo.de/shop/alle-produkte.html
-- HikaShop version -- : 5.0.4
-- Joomla version -- : 5.1.0
-- PHP version -- : 8.3.6
-- Browser(s) name and version -- : Firefox 126

productview for one category: "Next Page" and "Previous Page" arrows on the following product pages are well
ex.
www.steelumo.de/shop/kubus-33/produkt/zw...gory_pathway-23.html
BUT:
productview for all categories: "Next Page" and "Previous Page" arrows on the following product pages missing
ex.
www.steelumo.de/shop/alle-produkte.html

Config in the menues exactly the same

???

Please Log in or Create an account to join the conversation.

  • Posts: 83007
  • Thank you received: 13398
  • MODERATOR
6 months 2 weeks ago #361254

Hi,

Please check the "pagination" setting under the Display tab of the HikaShop configuration.
I think you have this option turned off.

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 5
6 months 2 weeks ago #361256

Hi Nicolas,

setting is: "Display both" - now I git a disturbing "Show9"
and still no next/previous in the "Alle Produkte"

I changed in the "show_default" the place for next/previous - but for me, it should be the same template
so how can "productview" be different?

Please Log in or Create an account to join the conversation.

  • Posts: 4760
  • Thank you received: 647
  • MODERATOR
6 months 2 weeks ago #361262

Hello,

The next/previous button from product view is different from the classic item menu, it's not the same Html and system to navigate.

Now, maybe the override view from your current template (for a reason or another) prevent the next/previous item menu to be displayed?
In order to learn more about it, process a test with a default template (Cassiopeia) in order to see if your classic pagination is displayed with this template.
If it appear, then there a good chance that your template create override view that don't allow pagination displaying, then you have to contact the Template support, to solve this issue.

Regards

Last edit: 6 months 2 weeks ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 5
6 months 2 weeks ago #361286

No, that's not the template

With cassiopeia the buttons are gone as well.

If I choose a single category for the menue "product view" buttons showing up in all my 4 categories.
If I copy one of these menue items and change only form a subcategory to the main category - no other changes are made - the buttons are gone in the single product view - which should always use the "show-default"

Please Log in or Create an account to join the conversation.

  • Posts: 4760
  • Thank you received: 647
  • MODERATOR
6 months 2 weeks ago #361288

Hello,

Please, provide these elements :
- An url link to your backend (administrator)
- Backend user references (with maximum ACL)

Note : Use our Contact us form to provide these elements, and don't forget to add an Url link to this topic in your message.
Regards

Last edit: 6 months 2 weeks ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 83007
  • Thank you received: 13398
  • MODERATOR
6 months 2 weeks ago #361302

Hi,

Thank you for your backend access.
As I said in my first message to you, the issue is that the "pagination" setting is set to "no" in the HikaShop configuration.
With this, you won't have pagination on the listings.
I can see you still have that setting turn off, so it's normal that you still don't get a pagination.

Also, I can see that you configured your products listing menu to display 12 rows of 3 columns, which means 36 products per page:
i.imgur.com/Ws04lql.png
However, you only created 23 products so far. So there is no reason for HikaShop to display previous and next buttons on this listing page. That's why it only displays the dropdown to select the number of products per page. If you want the pagination to appear, you need to either create more products, or reduce the number of rows per page in your menu item.

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 5
6 months 2 weeks ago #361319

Hi Nicolas

thanks for help.

Sorry that I was not clear. I don't need the pagination in the productslisting - this works well

I am missing the prev/next Buttons on the following productpage

Depends witch menue item I follow
- they show up: www.steelumo.de/shop/kubus-33/produkt/zw...gory_pathway-23.html

or they don't show up: www.steelumo.de/shop/kubus-33/produkt/zw...egory_pathway-2.html

I don't understand

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83007
  • Thank you received: 13398
  • MODERATOR
6 months 2 weeks ago #361320

Hi,

The next and previous buttons on the product details page will display based on the category from which the customer accessed it.
You can see the "category_pathway" parameter in your two URLs. The 23 and 2 after them correspond to the id of the category from which you access these products.
The next and previous buttons allow you to access other products in that category.
If you don't see the buttons when the category_pathway is "2", it means that there are no other products directly linked to that category.
I think that's because you're in a special case:
- you products are not linked to the main category
- you've configured a products listing menu item with its "sub elements filter" set to "group by category"
- you've turned off the "simplified category" setting
Because of all this, the category_pathway takes on the id of the main category of the menu item, instead of one of the categories of the product.
If you turned back on the "simplified category" setting, then the category_pathway parameter would be removed from the URL, and HikaShop would base itself on the main (first) category of the product to look for next and previous products and display the buttons on the product details page.
If you add the main category in the list of categories of your products, then you would also get the back and next buttons as all the products would be linked to it.
Another option is to not change anything in the settings, and instead make a view override of product / listing via the menu Display>Views and add the code:

$this->category_pathway = '&category_pathway='.$category['category']->category_id;
after the line:
$this->params->set('main_div_name', $main_div_name.'_'.$category['category']->category_id);
This way, on a products listing grouped by category, the category_pathway parameter will be overridden to get the id of the category being used for the grouping instead of the using the main category of the listing. This means that HikaShop won't generate the URL with the category_pathway with the value 2 on the listing.
In fact, I'm thinking about adding something along those lines on our end so that it reflects more precisely the situation on a "group by category" menu item.

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 5
6 months 2 weeks ago #361325

Hi Nicolas,

I haven't found "simplified category" setting so i just change the code as you mentioned.

Now everything is well

thanks for this great help!!

The following user(s) said Thank You: Philip

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum