Opened 8 months ago
Closed 8 months ago
#60368 closed defect (bug) (invalid)
Twenty Twenty-Four theme - Problem with the Mini Cart on Mobile Devices
Reported by: | mattiaspl | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.0 |
Component: | Bundled Theme | Keywords: | |
Focuses: | javascript, template | Cc: |
Description
Hello!
I using the Twenty Twenty-Four theme (the latest version). I’m experiencing an issue with the mini cart in the mobile version. The X button (close button) often goes missing after opening the mini cart. The mini cart is added to the header. I’ve noticed that the problem with the cart occurs on WooCommerce pages that are built with blocks, for example, products displayed on the shop page via the Products Block (beta). I’ve also checked the ‘All Products’ block. No changes, the mini cart’s close button is still missing.
I reported this issue on the Woocommerce plugin forum (here's the link: https://wordpress.org/support/topic/problem-with-the-mini-cart-on-mobile-devices-2/). Ultimately, they confirmed the same problem that I am experiencing. Accordingly, I am submitting the issue as per the suggestion received on the forum. All the details are also available there.
I hope that we will be able to resolve this issue.
If you need any additional information, please feel free to ask.
best regards & have a good day! :)
Hi @mattiaspl
Thank you for taking the time to report this.
I understand that you were asked to open the issue here, but this is not a bug with the theme Twenty Twenty-Four.
As you wrote on the forum, it happens with other block themes too. I followed your instructions and tested it with my custom block themes and I see the same issue.
It seems to be a problem with the compatibility between WooCommerce and block themes.
That is why it works when it is tested with Storefront, which is a classic PHP based theme, not a block theme.
In block themes, it looks like nothing is rendered/output for the mobile version:
In classic themes:
I looked at the open issues for the MiniCart in the WooCommerce GitHub repository but I was unable to find any similar reports:
https://github.com/woocommerce/woocommerce/issues?q=is%3Aissue+label%3A%22block%3A+mini-cart%22+is%3Aopen
Because this is an issue with a third-party product, I will close this ticket.