woocommerce / storefront

Official theme for WooCommerce
https://wordpress.org/themes/storefront/
972 stars 471 forks source link

Storefront duplicate products on category page with Jetpack infinite scroll #2002

Open daniyalahmadk opened 2 years ago

daniyalahmadk commented 2 years ago

Describe the bug

The storefront theme duplicates the products with Jetpack Infinite scroll options on the product archive page. When Jetpack tries to load the next set of products via Infinite scroll it displays the same products, those that appeared on the first page.

Isolating the problem (mark completed items with an [x]):

[x] I have deactivated other plugins and themes and confirmed this bug occurs when only WooCommerce + Storefront theme are active. [x] I can reproduce this bug consistently using the steps below.

To Reproduce

Steps to reproduce the behavior:

Screenshots

If applicable, add screenshots to help explain your problem.

Expected behavior

The products shouldn't be duplicated on the page scroll and should load the next set of products.

Browser Environment

Can be reproduced on any browser and version.

WordPress Environment

AT site

daniyalahmadk commented 2 years ago

Ref: 5335685-zd

danieldudzic commented 2 years ago

Thank you for reporting.

I'll mark this as:

Duplicate of #1909