Hi,
Whenever a category is displayed, the arrangement of items is like this:
1. Products in that category
2. Category Description
3. Pagination if products are more than 100
What I am trying to do is shift this pagination to top, so pagination shows first and then all the products and then description. I have searched for code in category.tpl and product.tpl but till now, have not found anything concrete.
Please help, what to do if I want to shift pagination to top or copy pagination so that it displays on bottom as well as top.
Opencart version 2.2
File: catalog/view/theme/default/template/product/category.tpl
Code: Select all
<div class="row">
<div class="col-sm-6 text-left"><?php echo $pagination; ?></div>
<div class="col-sm-6 text-right"><?php echo $results; ?></div>
</div>
I've put the file above and code for what it will look like. This is for version 2.x and lower that don't use the twig template system. For 2.x and above using the twig template system the file location is the same except the extension of the file is .twig instead of .tpl
King981010 wrote: ↑Sat Jul 23, 2022 6:03 pmI have the same problem with facing same issue but no response from anyone and couldn't find this topic troubleshooting in search engine.
Who is online
Users browsing this forum: No registered users and 11 guests