Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The product catalog page shows duplicate categories when Shop page display is set to Show categories on Atomic sites #1909

Open
2 tasks done
shohanhossainnab opened this issue Feb 15, 2022 · 9 comments
Labels
priority: normal The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: bug The issue is a confirmed bug.

Comments

@shohanhossainnab
Copy link

Describe the bug

On the WordPress.com site, when Shop page display is set to show categories, the category items get duplicated indefinitely due to infinite scrolling.

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

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

To Reproduce

Steps to reproduce the behavior:

Make sure to test this on WPCOM site

  1. Go to appearance> customize > WooCommerce > product catalog.
  2. Set shop page display to show categories
    Markup 2022-02-15 at 15 17 19
  3. Hit save, close the customizer and check the shop page.
    Markup 2022-02-15 at 16 00 36
  4. If you keep scrolling, it will keep generating duplicates.
    Markup on 2022-02-15 at 16:02:19
    Markup 2022-02-15 at 16 03 17

Screenshots

Screenshots provided above

Expected behavior

The category items shouldn't be duplicated and on appear once.

Browser Environment

Can be reproduced on any browser and version.

WordPress Environment

Atomic site

@shohanhossainnab
Copy link
Author

Initial report: 4776497-zen

@frontdevde frontdevde added priority: normal The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: bug The issue is a confirmed bug. labels Feb 18, 2022
@wyter
Copy link

wyter commented Feb 18, 2022

Also reported in 34255055-HC

@wyter
Copy link

wyter commented Feb 18, 2022

Hi @shohanhossainnab,

I was also able to replicate this on my atomic site. It seems to be connected to Jetpack's Infinite Scroll setting.

The workaround now is to change Jetpack → Writing → Infinite Scroll to "Load more posts using the default theme behavior"

It has worked on my site, and it also worked in 34255055-HC.

@joashrajin
Copy link

joashrajin commented Apr 5, 2022

This is a duplicate of Automattic/jetpack#21929
I'll leave this open in case the Storefront devs are able to resolve it or have any feedback :)

@starrecording
Copy link

starrecording commented Apr 5, 2022 via email

@nagpai
Copy link

nagpai commented Jul 12, 2022

Can we check if the issue recurs, if we change Infinite Scroll settings within
Jetpack > Settings > Writing > Theme enhancement to Load more posts using the default theme behavior ?

36044439-hc - Dara theme, issue resolved after changing setting to load more posts using the default theme behavior

@sverleis
Copy link

35094574-hc has the same issue. @nagpai's workaround is a fix on the Storefront theme as well.

@cuemarie
Copy link

Encountered this issue here: 36702488-hc Theme: Dara

Deactivated Jetpack's infinite-scroll module to resolve the issue before finding this bug report, but I see that now the user's Jetpack > Settings > Writing > Theme enhancements > Infinite Scroll selection is set to the load more posts using the default theme behavior option as recommended above, so perhaps these actions are one in the same.

@maxlaf
Copy link
Member

maxlaf commented May 23, 2024

Just noting that this recently affected a merchant and was discussed by HEs in Slack: p1716484460909389-slack-C03TY6J1A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: normal The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

9 participants