Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
902 stars 357 forks source link

Luxury: "Load more posts in page with a button" doens't work for products #3392

Open Robertght opened 3 years ago

Robertght commented 3 years ago

Steps to replicate

  1. Create several products
  2. Set the Infinite scroll method to be as Load more posts in page with a button.
  3. Make sure you are loading less products than total amount of products so the "More products" button is visible.
  4. Clicking on it, will only result in a loop spinning icon and some JS errors.

Result

Before I press the button there are 2 JS errors related to the theme's integration with Woo:

image

After I press the button there are 2 more:

image

Expected

To load the products correctly without a problem.

Note: the blog posts load correctly. Workaround: I recommended using Load more posts using the default theme behavior instead.

arunsathiya commented 3 years ago

I see a similar issue when Load more posts as the reader scrolls down is chosen as well. In this case, scrolling down does not show more products. 4319877-zen.