#62623 Delete pagination from product page.
Landing › Forums › JupiterX WordPress Theme › Delete pagination from product page.
-
AuthorPosts
-
recep-698f44be 3 years, 4 months ago
Hello,
On my product page, we have an Archive products with all the the products we have on the store, it is displayed in a pagination style (1-2-3), we want to show all the products, no need for the pagination. I contacted woo-commerce support, we managed to find a solution, which is this code:
/** * Change number of products that are displayed per page (shop page) */ add_filter( ‘loop_shop_per_page’, ‘new_loop_shop_per_page’, 20 ); function new_loop_shop_per_page( $cols ) { // $cols contains the current number of products per page based on the value stored on Options -> Reading // Return the number of products you wanna show per page. $cols = -1; return $cols; }
But the problem, as far as they said, is that the theme itself keeps overriding these changes, and they suggest to contact you.
Please let me know how can i fix this.
Thank you.
Danish Iqbal 3 years, 4 months agoHello Recep,
There is already an in-built option to do this in the theme. For now, I have set it for you.
You can do this in Jupiter -> Customizer -> Shop -> Product List and set the pagination to NONE.
Here is a screenshot https://tinyurl.com/ydy9h47d
Please get back to us in case, you face anymore issues.
Regards.
Fred 3 years, 3 months agoI’m sorry but I don’t see that section on my Shop customizer…
Is this Jupiter normal or Jupiter X?
I am running on Jupiter normal and it doesn’t show.
Thank you!
Tatyana Hutsol 3 years, 3 months agoHello,
I don’t see pagination on the page now https://take.ms/M43w2 .
Have you already removed it?
Looking forward to your reply.
Regards.
-
AuthorPosts