Pagination random product
7 years 1 month ago - 7 years 1 month ago #311401
by m.fontana
Pagination random product was created by m.fontana
-- 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
-- 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: 7 years 1 month ago by m.fontana.
Please Log in or Create an account to join the conversation.
7 years 1 month ago #311405
by nicolas
Replied by nicolas on topic Pagination random product
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.
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.
7 years 1 month ago #311445
by m.fontana
Replied by m.fontana on topic Pagination random product
Hi,
I remove the code but products are disappeared.
Thanks so much
Matteo Fontana
I remove the code but products are disappeared.
Thanks so much
Matteo Fontana
Please Log in or Create an account to join the conversation.
7 years 1 month ago #311448
by nicolas
Replied by nicolas on topic Pagination random product
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.
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.075 seconds