woocommerce-blocks icon indicating copy to clipboard operation
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

Open gigitux opened this issue 3 years ago • 2 comments

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:

  1. Active Storefront theme.
  2. Create a post/page with the Single Product block. Save it.
  3. Go on the created post/page.
  4. 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

gigitux avatar Feb 10 '22 17:02 gigitux

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.

github-actions[bot] avatar Apr 12 '22 09:04 github-actions[bot]

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.

github-actions[bot] avatar Aug 02 '22 09:08 github-actions[bot]

@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 avatar Apr 17 '23 15:04 Aljullu

@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

gigitux avatar Apr 17 '23 19:04 gigitux

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:

Aljullu avatar Apr 18 '23 10:04 Aljullu

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?

gigitux avatar Apr 20 '23 08:04 gigitux

What do you think?

Sounds good to me. :+1:

Aljullu avatar Apr 20 '23 09:04 Aljullu

This issue has been fixed with https://github.com/woocommerce/woocommerce-blocks/issues/8771

gigitux avatar Jun 05 '23 15:06 gigitux