This question has been flagged
2 Replies
1668 Views

Hi, 


Instead of only having pagination at the bottom part of the webshop, I would also like to have it at the top. 
Any ideas?

Avatar
Discard
Author

Thanks a lot for the answer!

Best Answer

Hello



Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015
    

Avatar
Discard

<template id="top_pagger" inherit_id="website_sale.products" customize_show="True" name="Top Pagger">
<xpath expr="//div[hasclass('products_pager')]" position="attributes">
<attribute name="class">d-none</attribute>
</xpath>
<xpath expr="//div[hasclass('oe_website_sale')]" position="before">
<div class="products_pager form-inline justify-content-center py-3">
<t t-call="website.pager"/>
</div>
</xpath>
</template>

Best Answer

Hi

Please refer the below link : https://www.cybrosys.com/blog/how-to-add-pagination-odoo-website

Hope it helps

Avatar
Discard