Pagination random product

  • Posts: 121
  • Thank you received: 1
5 years 5 months ago #311401

-- url of the page with the problem -- : www.vignaiolitreviso.com
-- HikaShop version -- : 4.2.1

Hi,
I must display the pagination when I've display products on random mode. How can I do this?
Is very important make this.

Thanks so much
Matteo Fontana

Last edit: 5 years 5 months ago by m.fontana.

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

  • Posts: 83411
  • Thank you received: 13503
  • MODERATOR
5 years 5 months ago #311405

Hi,

There is no system for that.
You could of course force that by changing the code.
In the file "listing_div" of the view "product", you can remove the code:
&& $this->params->get('show_limit')
(2 places)
and that will display the pagination even if the random option is activated.
However, note that each page of the pagination will display random products. So if you go from the first to the last page, you might see some products several times and you might not see others.

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

  • Posts: 121
  • Thank you received: 1
5 years 5 months ago #311445

Hi,
I remove the code but products are disappeared.

Thanks so much
Matteo Fontana

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

  • Posts: 83411
  • Thank you received: 13503
  • MODERATOR
5 years 5 months ago #311448

Hi,

This change is only in the pagination area. It would change anything for the products listing.
So I don't see why products would be removed.
I can only recommend to remove your override and redo it.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum