Show mini cart dropdown after item added to Cart
-
Hi, we are using the Woocommerce plugin on our site. When a customer adds a product to cart, it adds fine but there is no feedback to the customer that the product has been added. We are told that this is standard Woocommerce functionality but dont think its great for customer experience. Ideally we want the Mini Cart dropdown to display for a few seconds to show that the product has been added to the Cart. We added the following hooks and code but this does not do anything. Appreciate any help.
add_action(‘woocommerce_add_to_cart’, ‘my_function’);
add_action( ‘woocommerce_after_add_to_cart_button’, ‘my_function’ );
function my_function(){
woocommerce_mini_cart();
}
- The topic ‘Show mini cart dropdown after item added to Cart’ is closed to new replies.