- Posts: 640
- Thank you received: 16
Make pagination zone disappear if there's less products shown
- PeterChain
-
Topic Author
- Offline
Less
More
7 years 5 months ago #306606
by PeterChain
Please Log in or Create an account to join the conversation.
7 years 5 months ago #306622
by nicolas
Replied by nicolas on topic Make pagination zone disappear if there's less products shown
Hi,
In product/listing_div.php you can change the code:
to:
In product/listing_div.php you can change the code:
Code:
if(in_array($pagination, array('bottom', 'both')) && $this->params->get('show_limit') && $this->pageInfo->elements->total && !$infinite_scroll) {
Code:
if(in_array($pagination, array('bottom', 'both')) && $this->params->get('show_limit') && $this->pageInfo->elements->total > count($this->rows) && !$infinite_scroll) {
The following user(s) said Thank You: PeterChain
Please Log in or Create an account to join the conversation.
Time to create page: 0.044 seconds