Automatically Hiding the “Product Added to Cart” Message in WooCommerce

In a recent Business Bloomer Club discussion, a member asked how to remove the “Product has been added to your cart” message after a few seconds rather than keeping it displayed indefinitely. This notification, while informative, can sometimes disrupt the shopping flow, especially when customers add multiple items to their cart.

Instead of permanently disabling it, an ideal approach is to automatically hide the message after a few seconds using JavaScript. Here’s a simple way to implement this timed message removal and improve the user experience in your WooCommerce store.

Continue reading Automatically Hiding the “Product Added to Cart” Message in WooCommerce

WooCommerce: Customize The “You cannot add another __ to your cart” Notification

If a WooCommerce product is set to “sold individually” (i.e. the “Limit purchases to 1 item per order” checkbox is checked in the edit product page) and is already in the cart, the “You cannot add another product to your cart.” notification will appear if you try to add it to cart again, which is fair.

This message appears by default in WooCommerce. There is a workaround to disable it completely, but you can also customize the wording (which is what we’re covering next).

In fact, this notification comes with a PHP filter, which means we can override the content and adapt it to our user base and/or brand tone. Enjoy!

Continue reading WooCommerce: Customize The “You cannot add another __ to your cart” Notification

WooCommerce “Inconsistent tax settings” error

Entering prices exclusive of tax while displaying the shop price inclusive of price brings on this notification “Inconsistent tax settings”. Is this really a problem if a shop mostly sells in their own country? Okay, there could be some very small rounding problems, i guess. But i guess it’s mostly safe to enter prices exclusive tax to avoid tax changes. How do you handle this?