woocommerce / woocommerce-blocks

(Deprecated) This plugin has been merged into woocommerce/woocommerce
https://wordpress.org/plugins/woo-gutenberg-products-block/
GNU General Public License v3.0
403 stars 218 forks source link

Mini Cart does not display anything after adding products on AT sites #6874

Closed namiokuzono closed 1 year ago

namiokuzono commented 2 years ago

Describe the bug

When the Mini Cart block is added to Atomic site, the floating cart area is empty.

But this does not mention it being on Atomic site.

To reproduce

Steps to reproduce the behavior:

Expected behavior

You should be able to see a list of product being added.

Screenshots

https://cln.sh/v3wDoD Image link: https://cln.sh/v3wDoD

Environment

Any atomic site hosted on WordPress.com

Check this staging site example: https://funwallpaperart.blog/product/woman-accesaries29/

namiokuzono commented 2 years ago

5466590-zd

danielwrobert commented 2 years ago

@namiokuzono I can’t seem to reproduce it but I do see the issue present on the site linked. I tested on an atomic site of mine using both TT2 and Kerr themes.

That said, I am getting some super odd styling going on…

Kerr theme - cart with item: CleanShot 2022-08-25 at 15 13 56

TT2 theme - empty cart: CleanShot 2022-08-25 at 15 17 10

We will have to investigate further and follow up!

jamiepalatnik commented 2 years ago

Adding that I came across another user report for this issue, but we are not able to recreate it on their site: 5532232-zd-woothemes

Editing to add that I can recreate this when unproxied. Advised user to use the default cart page instead of the mini cart block as a workaround.

jamiepalatnik commented 1 year ago

Another report of odd styling in the mini cart: 37393630-hc

Advised user to use the default cart page instead of the mini cart block as a workaround.

kaushikasomaiya commented 1 year ago

5676862-zen

Previously I had identified Page Optimize plugin was causing this issue.

Ref: 5680237-zen

Aljullu commented 1 year ago

Hey there, I think this was fixed in https://github.com/woocommerce/woocommerce-blocks/pull/7794, which was released in WC Blocks 8.7.6 and WC core 7.1.1.

Do you think we can close this issue, or have any users been able to reproduce it since then?

danielwrobert commented 1 year ago

@Aljullu yes, it looks like this issue is resolved now.

I tested and confirmed it is no longer present on an atomic test site of mine with TT2 and Kerr themes. I also tested the site linked in the issue above (running the Kerr theme) to confirm that everything is working as expected there.

WRT the drawer styling issues I mentioned above, I was able to pinpoint the problem to the CoBlocks plugin.

With the CoBlocks plugin activated:

CleanShot 2023-03-14 at 15 10 25@2x

With the CoBlocks plugin disabled:

CleanShot 2023-03-14 at 15 11 14@2x

I'm going to go ahead and close this. Thanks!

Aljullu commented 1 year ago

Thanks, @danielwrobert!

I guess the issue in Drawer styles with the CoBlocks plugin would be fixed with https://github.com/woocommerce/woocommerce-blocks/issues/8606.