Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.41k stars 1.99k forks source link

WooCommerce Cart Icon Disappears from the Menu in all FSE Themes #61660

Closed masperber closed 2 years ago

masperber commented 2 years ago

Quick summary

The WooCommerce shopping cart icon does not appear in the menu if an FSE theme is active.

With Hever active:

Screen Shot 2022-03-04 at 10 19 49 AM

With Attar active:

Screen Shot 2022-03-04 at 10 20 11 AM

Steps to reproduce

  1. Create a site and install a non-FSE theme (example: Hever)
  2. Install the WooCommerce plugin and set up the shop/
  3. Add all WooCommerce pages to the menu.
  4. Observe that the shopping cart icon appears in the menu.
  5. Switch to an FSE theme (example: Attar)
  6. Observe that the shopping cart icon disappears.

What you expected to happen

The shopping cart icon should remain when switching to an FSE theme.

What actually happened

The shopping cart icon disappears.

Context

Customer report: 34492453-hc

Simple, Atomic or both?

Atomic

Theme-specific issue?

This issue is related to all FSE themes.

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

Most (> 50%)

Available workarounds?

No but the platform is still usable

Workaround details

There's no workaround that I was able to find other than switching to a non-FSE theme.

masperber commented 2 years ago

Opened followup ticket with customer so that we can let them know when this is resolved: 4831752-zen

Robertght commented 2 years ago

Thank you for the report, @masperber !

This is not a theme limitation because there is a need for an additional block from WooCommerce in order to the cart displayed:

https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/4138

@Aljullu are there further updates on the Mini Cart block?

Aljullu commented 2 years ago

@Aljullu are there further updates on the Mini Cart block?

We are currently targeting WC Blocks 7.3.0 and WC core 6.5.0 for public release. That's March 21st in WC Blocks and May 10th in WC core.

Robertght commented 2 years ago

This shouldn't be an issue anymore so I'm closing it.

Ref: https://woocommerce.com/document/mini-cart/

csabarakasz commented 2 years ago

user looking for this:

Told them to use https://woocommerce.com/document/mini-cart-for-woocommerce/ Thanks.

github-actions[bot] commented 2 years ago

Support References

This comment is automatically generated. Please do not edit it.