Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added to cart notice layout is different when the Cart or Checkout blocks are used #4189

Closed
rodica-andronache opened this issue Jan 14, 2024 · 2 comments
Assignees
Labels
bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer. Priority-Medium Expected resolution time - up to 1 month. released Indicate that an issue has been resolved and released in a particular version of the product. small (1-3h) This label is used for issues that can be completed within 3 hours or less.

Comments

@rodica-andronache
Copy link
Contributor

Description

On the single product page, when you add the product in the cart you get a notice.
The layout/color of the notice looks different when the Cart/Checkout pages use either shortcodes or blocks.

Step-by-step reproduction instructions

  1. Install Neve and import a starter site that uses WooCommerce ( for example Pet Shot )
  2. In this case, the Cart and Checkout pages are using shortcodes ( [woocommerce_cart] and [woocommerce_checkout] ). => check the Added to cart notice on a single product page. The layout is correct
  3. Change the Cart or the Checkout page, by adding the corresponding Cart of Checkout blocks. => check the Added to cart notice on a single product page. The layout is different

Screenshots, screen recording, code snippet or Help Scout ticket

https://www.loom.com/share/9f66ad6169364c89a4a96504f4795e87?sid=75108e3c-07b3-4bcd-80ae-9ef6f47a305b

https://wordpress.org/support/topic/bizarre-behavior-after-latest-theme-update-add-to-cart-notice-is-not-in-theme/

Environment info

No response

Is the issue you are reporting a regression

No

@rodica-andronache rodica-andronache added the bug This label could be used to identify issues that are caused by a defect in the product. label Jan 14, 2024
@pirate-bot pirate-bot added the customer report Indicates the request came from a customer. label Jan 14, 2024
@vytisbulkevicius vytisbulkevicius added the Priority-Medium Expected resolution time - up to 1 month. label Jan 16, 2024
@preda-bogdan preda-bogdan added the small (1-3h) This label is used for issues that can be completed within 3 hours or less. label Jan 17, 2024
@preda-bogdan
Copy link
Contributor

A note here, this was caused by WooComerce v8.5.0 update that changed the HTML structure of the notices they are using.
It should be fixed with the linked PR. For users using WooCommerce v8.4.0, everything will look as before.

preda-bogdan added a commit that referenced this issue Jan 26, 2024
@pirate-bot
Copy link
Collaborator

🎉 This issue has been resolved in version 3.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer. Priority-Medium Expected resolution time - up to 1 month. released Indicate that an issue has been resolved and released in a particular version of the product. small (1-3h) This label is used for issues that can be completed within 3 hours or less.
Projects
None yet
Development

No branches or pull requests

4 participants