Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Twenty Twenty-Two & Quadrat: the image for a product variation does not get filtered after selecting variation #5329

Closed
5 tasks done
ralucaStan opened this issue Dec 7, 2021 · 0 comments · Fixed by #5346
Assignees
Labels
focus: FSE Work related to prepare WooCommerce for FSE. focus: template Related to API powering block template functionality in the Site Editor type: bug The issue/PR concerns a confirmed bug.
Milestone

Comments

@ralucaStan
Copy link
Contributor

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
  1. Go to a variable product page (V-Neck T-Shirt)
  2. Select options for the product (Color: red & size: Large)
  3. 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.

``` The System Status Report is found in your WordPress admin under **WooCommerce > Status**. Please select “Get system report”, then “Copy for support”, and then paste it here. ```
@ralucaStan ralucaStan transferred this issue from woocommerce/woocommerce Dec 7, 2021
@ralucaStan ralucaStan changed the title Twenty Twenty-Two: the image for a product variation does not get filtered after selecting variation Twenty Twenty-Two & Quadrat: the image for a product variation does not get filtered after selecting variation Dec 7, 2021
@Aljullu Aljullu added this to the 6.5.1 milestone Dec 9, 2021
@tjcafferkey tjcafferkey added focus: FSE Work related to prepare WooCommerce for FSE. type: bug The issue/PR concerns a confirmed bug. focus: template Related to API powering block template functionality in the Site Editor labels Dec 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
focus: FSE Work related to prepare WooCommerce for FSE. focus: template Related to API powering block template functionality in the Site Editor type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants