You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on the new Single Product Details block woocommerce/woocommerce-blocks#8225, we have noticed the star ratings are duplicated when this block is used in the Single Product template alongside the classic template block:
After further discussion, the decision was to ship the block as-is if the fix requires a significant time investment. While there might be an easy workaround path to be explored, opening this issue so we can work on it independently.
Steps to Reproduce
Enable a block theme in your WordPress installation (go to Appearance > Themes, and select one of the block themes options, such as Twenty-Twenty-Three);
Once the theme is enabled, go to Appearance > Editor (Beta);
On the left side menu, click on Templates;
Select the Single Product template, and click Edit;
Using the Block Inserter, type: Single Product Details and add it to the Editor while still keeping the pre-existing WooCommerce Single Product Block that comes by default with the template.
Save the changes. Access your website and click on a product;
Make sure the Single Product Details block appears and contains the product description (Description tab), product attributes (Additional Information tab), and product reviews (Reviews tab).
On the product reviews tab, notice the star ratings are duplicated (as demonstrated on the screenshot on this issue).
The text was updated successfully, but these errors were encountered:
It seems we are also using the same id to another select element, and it is probably causing a conflict which makes the ratings stars to appear duplicated. Do you know if we can use some kind of hook to manipulate this behavior and change the id for that select element?
This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.
While working on the new Single Product Details block woocommerce/woocommerce-blocks#8225, we have noticed the star ratings are duplicated when this block is used in the Single Product template alongside the classic template block:
After further discussion, the decision was to ship the block as-is if the fix requires a significant time investment. While there might be an easy workaround path to be explored, opening this issue so we can work on it independently.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: