|  | @@ 52-54 (lines=3) @@ | 
                                                            
                                    | 49 |  |  * Add a default renderer for WooCommerce products within infinite scroll. | 
                                                            
                                    | 50 |  |  */ | 
                                                            
                                    | 51 |  | function jetpack_woocommerce_infinite_scroll_render() { | 
                                                            
                                    | 52 |  | 	if ( ! is_shop() && ! is_product_taxonomy() && ! is_product_category() && ! is_product_tag() ) { | 
                                                            
                                    | 53 |  | 		return; | 
                                                            
                                    | 54 |  | 	} | 
                                                            
                                    | 55 |  |  | 
                                                            
                                    | 56 |  | 	woocommerce_product_loop_start(); | 
                                                            
                                    | 57 |  |  | 
                                                                                
                                |  | @@ 73-75 (lines=3) @@ | 
                                                            
                                    | 70 |  |  * @return void | 
                                                            
                                    | 71 |  |  */ | 
                                                            
                                    | 72 |  | function jetpack_woocommerce_infinite_scroll_settings( $settings ) { | 
                                                            
                                    | 73 |  | 	if ( ! is_shop() && ! is_product_taxonomy() && ! is_product_category() && ! is_product_tag() ) { | 
                                                            
                                    | 74 |  | 		return $settings; | 
                                                            
                                    | 75 |  | 	} | 
                                                            
                                    | 76 |  | 	$settings['posts_per_page'] = absint( apply_filters( 'loop_shop_per_page', wc_get_default_products_per_row() * wc_get_default_product_rows_per_page() ) ); | 
                                                            
                                    | 77 |  | 	return $settings; | 
                                                            
                                    | 78 |  | } |