Home › Forums › WoodMart support forum › Search results infinite loading Search results infinite loading This topic has 5 replies, 2 voices, and was last updated 6 years, 9 months ago by Artem Temos. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts January 30, 2018 at 8:08 am #36071 jalinmediaParticipant Hi, We’ve in our store infinite loading. We also want this in the search results. Could you please tell us how we can do that? Thanks a lot! Kind regards, Jasper January 30, 2018 at 8:21 am #36079 Artem TemosKeymaster Hi, Unfortunately, WooCommerce doesn’t allow us to make ajax loading on the search page. Technically, it is not possible. Regards February 2, 2018 at 9:30 am #36960 jalinmediaParticipant Hi, Thanks for your reaction! Can we set amount of search results on 36 per page? Like to hear from you soon! Kind regards, Jasper February 2, 2018 at 10:08 am #36965 Artem TemosKeymaster Hi, Try to add the following PHP code snippet to the child theme functions.php file to do this function woodmart_shop_products_per_page() { $per_page = 12; $number = apply_filters('woodmart_shop_per_page', woodmart_get_products_per_page() ); if( is_numeric( $number ) ) { $per_page = $number; } if ( is_search() ) { $per_page = 36; } return $per_page; } add_filter( 'loop_shop_per_page', 'woodmart_shop_products_per_page', 20 ); February 2, 2018 at 10:32 am #36971 jalinmediaParticipant Is this only in the search results? Because we’ve infinit loading in the shop. Thanks! February 2, 2018 at 10:33 am #36972 Artem TemosKeymaster Yes, it is for the search page only. Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to create new topics. Login / Register