Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

woo-infinite-scroll

Display infinite products on product listing pages without Pagination.

=== Woo Infinite Scroll ===
Contributors: rajdipsinharoy
Tags: scroll, pagination, infinite, woocommerce
Requires at least: 5.0
Tested up to: 5.4.2
Requires PHP: 7.0
Stable tag: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Display infinite products on product listing pages without Pagination.

== Description ==
Display infinite products on product listing pages without Pagination. 
Instead of showing additional pages or prompting the user to manually load more products, infinite scroll is a method where additional products automatically load when the user scrolls near the bottom of the page. As products load, the user can continue to scroll until no more products are available to display.

The plugin does not change any core files or database.
If you're facing any issues:-
Deactivate the plugin through the ‘Plugins’ screen in WordPress.

== Installation ==
1. Upload the plugin files to the '/wp-content/plugins' directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. That's All. This plugin works automatically so don't need to configure anything.

This requires you to have your shop page display, which can be found in customizer view under WooCommerce > Product catalog set to "Show products".

== Frequently Asked Questions ==
Does this work for WordPress < 5.0 ?
If you are using a version before 5.0, It'll work but recommended to use latest Wordpress and WooCommerce.

Does this work only in the WooCommerce ?
Yes, this only works with WooCommerce.

== Changelog ==
1.0
Initial release.

== Upgrade Notice ==
1.0
Initial release.