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

#   Pagination random product

##

- **[m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile")**
- [![m.fontana's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35027.png)](/forum/user/35027-m-fontana "View m.fontana's Profile") Topic Author
- [ Offline](/forum/user/35027-m-fontana)
- Matteo Fontana

Less More

- Posts: 121
- Thank you received: 1
-
-
-
- [](http://www.apiceweb.it)
-

7 years 1 month ago -  7 years 1 month ago [\#311401](#311401) by [m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile")  *[Pagination random product](/forum/26-product-category-display/898364-pagination-random-product#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")* was created by *[m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile")*

-- url of the page with the problem -- : [ www.vignaiolitreviso.com](https://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: 7 years 1 month ago by [m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile").

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

7 years 1 month ago [\#311405](#311405) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Pagination random product](/forum/26-product-category-display/898364-pagination-random-product#311405 "-- 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")*

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:
&amp;&amp; $this-&gt;params-&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTgzNjQtcGFnaW5hdGlvbi1yYW5kb20tcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile")**
- [![m.fontana's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35027.png)](/forum/user/35027-m-fontana "View m.fontana's Profile") Topic Author
- [ Offline](/forum/user/35027-m-fontana)
- Matteo Fontana

Less More

- Posts: 121
- Thank you received: 1
-
-
-
- [](http://www.apiceweb.it)
-

7 years 1 month ago [\#311445](#311445) by [m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile")  Replied by *[m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile")* on topic *[Pagination random product](/forum/26-product-category-display/898364-pagination-random-product#311445 "-- 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")*

Hi,
I remove the code but products are disappeared.

Thanks so much
Matteo Fontana

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

7 years 1 month ago [\#311448](#311448) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Pagination random product](/forum/26-product-category-display/898364-pagination-random-product#311448 "-- 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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTgzNjQtcGFnaW5hdGlvbi1yYW5kb20tcHJvZHVjdD90bXBsPW1hcmtkb3du) 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.049 seconds

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