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

Widget Visibility Rule doesn't work for WooCommerce Shop page #71544

Closed
zdenys opened this issue Dec 28, 2022 · 3 comments
Closed

Widget Visibility Rule doesn't work for WooCommerce Shop page #71544

zdenys opened this issue Dec 28, 2022 · 3 comments
Labels
Block Widgets [Feature Group] Appearance & Themes Features related to the appearance of sites. [Platform] Atomic [Pri] High Address as soon as possible after BLOCKER issues [Type] Bug When a feature is broken and / or not performing as intended WooCommerce

Comments

@zdenys
Copy link
Contributor

zdenys commented Dec 28, 2022

Quick summary

Setting a visibility rule for a widget like this results in the widget not showing on Shop page. Removing the rule, makes it show fine.

cEWAtE.png

Screen.Recording.2022-12-28.at.13.33.11.mov

Steps to reproduce

  1. Start with an AT site that has WooCommerce installed and Shop page is assigned
  2. Add a widget to widget area that would be available on Shop page (e.g. footer)
  3. Set a visibility rule to show the widget if the page is Shop
    cEWAtE.png
  4. Preview the Shop page
  5. Remove the visibility rule you have just added
  6. Preview the Shop page

What you expected to happen

The widget should show if the rule is set like this

cEWAtE.png

What actually happened

The widget is not showing if the rule is set, but when removing the rule it shows fine.

Context

Noticed in 5816142-zd-woothemes where the user set a Social Icons widget to display on Shop page via a visibility rule.

Platform (Simple, Atomic, or both?)

Atomic

Theme-specific issue?

Tested with several Classic themes: Pique, Independent Publisher 2.

Browser, operating system and other notes

macOS Monterrey 12.6.1 with Google Chrome Version 108.0.5359.124 (Official Build) (x86_64)

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

No but the platform is still usable

Workaround details

No response

@zdenys zdenys added [Type] Bug When a feature is broken and / or not performing as intended [Feature Group] Appearance & Themes Features related to the appearance of sites. User Report WooCommerce Block Widgets labels Dec 28, 2022
@github-actions github-actions bot added [Platform] Atomic [Pri] High Address as soon as possible after BLOCKER issues labels Dec 28, 2022
@github-actions
Copy link

Support References

This comment is automatically generated. Please do not edit it.

  • 5816142-zen

@zdenys
Copy link
Contributor Author

zdenys commented Dec 28, 2022

I think this one is the same:

The workaround seems to be to set the rule like this:

@vajrasar
Copy link

Closing this in favor of Widget visibility: integrate with WooCommerce Shop Page #8343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Block Widgets [Feature Group] Appearance & Themes Features related to the appearance of sites. [Platform] Atomic [Pri] High Address as soon as possible after BLOCKER issues [Type] Bug When a feature is broken and / or not performing as intended WooCommerce
Projects
None yet
Development

No branches or pull requests

2 participants