-
Notifications
You must be signed in to change notification settings - Fork 218
Twenty Twenty-Two & Quadrat: the image for a product variation does not get filtered after selecting variation #5329
Description
Please provide us with the information requested in this bug report. Without these details, we won't be able to fully evaluate this issue.
Bug reports lacking detail, or for any other reason than to report a bug, may be closed without action.
Prerequisites (mark completed items with an [x]):
- I have carried out troubleshooting steps and I believe I have found a bug.
- I have searched for similar bugs in both open and closed issues and cannot find a duplicate.
Describe the bug
When using the Twenty Twenty-Two, on a variable product's page, when I select the variations, the gallery does not show the corresponding image.
Expected behavior
By default WooCommerce will swap the main variation image in the gallery when you select a product variation.
Actual behavior
When selectin variations, the gallery does not update, and all images all shown.
Steps to reproduce the bug (We need to be able to reproduce the bug in order to fix it.)
- Make sure you have WP 5.9.0 beta and choose the Twenty Twenty-Two theme (use Beta tester for updating WP )
- Add the WC sample products for testing
- Go to a variable product page (V-Neck T-Shirt)
- Select options for the product (Color: red & size: Large)
- Look at the gallery and notice that all images are shown when only the red T-shirt should be visible
Screenshots
If applicable, add screenshots to help explain your problem.
Isolating the problem (mark completed items with an [x]):
- I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
- This bug happens with a default WordPress theme active, or Storefront.
- I can reproduce this bug consistently using the steps above.
WordPress Environment
We use the WooCommerce System Status Report to help us evaluate the issue.
Without this report we won't be able to fully evaluate this issue.