woocommerce-blocks
woocommerce-blocks copied to clipboard
Single Product block - Storefront theme: When it is added a product with this block, the Storefront Mini Cart doesn't update
Describe the bug
With the Storefront theme activated, when it is added a product with the Single Product
block, the Storefront Mini Cart doesn't update.
To reproduce
Steps to reproduce the behavior:
- Active Storefront theme.
- Create a post/page with the
Single Product
block. Save it. - Go on the created post/page.
- Add a product and check that the Storefront Mini Cart doesn't update.
Expected behavior
The Storefront Mini Cart should be updated.
Screenshots
https://user-images.githubusercontent.com/4463174/153460431-673520d0-5ef8-425b-825e-24e5646707da.mov
Environment
WordPress (please complete the following information):
- Core version: 5.9
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.
Internal: After 10 days with no activity this issue will be automatically be closed.
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.
Internal: After 10 days with no activity this issue will be automatically be closed.
@gigitux I think this issue refers to the old version of the Single Product block, no? Can it be closed? i just tested it and the Add to Cart button causes a page refresh.
@Aljullu Theoretically, there is an issue with the page refresh https://github.com/woocommerce/woocommerce-blocks/issues/8771. We are planning to work on it. Do you think that we should wait and fix this issue when we integrate the Interactivity API?
cc @thealexandrelara
Oh, ok. That makes sense. We can either keep this issue open and test it again once #8771 is fixed or close it now and reopen it if it's reproducible again after #8771 is fixed. Whatever makes more sense to you. :upside_down_face:
Let's keep this issue. I will add in the #8054 epic. I think that it makes sense to keep the priority low, so it isn't necessary to spend a lot of time on it. What do you think?
What do you think?
Sounds good to me. :+1:
This issue has been fixed with https://github.com/woocommerce/woocommerce-blocks/issues/8771