Skip to main content

Remove pagination for a specific page

11 years 1 month ago #215476 by picht
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.6

Hi

Is it possible to remove the pagination for a specific page ?

Regards
Picht

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

11 years 1 month ago #215482 by Jerome
Hi,

What pagination ? What specific page ?

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

11 years 1 month ago #215515 by picht
I have a page where i show some specific products and only want to show the first 3 i a row.
But on the page there is the pagination at the bottom to show more products.

I can remove pagination in the configuration, but this will also remove the pagination for all pages where it is actually needed.

For other reasons (template reasons) i cant use a module in stead.

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

11 years 1 month ago #215527 by Xavier
Hi,

To remove the pagination on a specific listing, you can potentially edit the view "product / listing_div" and add the code:
Code:
if($this->params->get('id',0) == 'X'){ $pagination = 'none'; }
Right after:
Code:
$pagination = $this->config->get('pagination','bottom');

And replace 'X' by the id of the menu / module in question.

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

5 years 2 weeks ago #336526 by SEKME
Hi,
Could you please tell me how to hide pagination only in product pages?
I wish to see pagination in category and subcategory listings, but in product (all product) page I wish to hide the pagination.

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

5 years 2 weeks ago #336533 by Mohamed Thelji
Hello,

The solution provided above should actually do the job for what you need.

If you have some questions regarding the application of that solution, feel free to ask us.

Kind regards,
Mohamed.

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

Time to create page: 0.118 seconds
Powered by Kunena Forum