• Resolved teamf

    (@teamf)


    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();
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • Stef

    (@serafinnyc)

    By default WC displays a message above the product title and main product image.

    It sound like the theme you’re using is hiding it or there’s some code in the theme breaking it. That code isn’t even correct. Not sure where you even got that.

    Also, most themes have a minicart display but most do not open after add to cart has been triggered

    Thread Starter teamf

    (@teamf)

    Thanks, I will check with the Theme folks and its settings.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show mini cart dropdown after item added to Cart’ is closed to new replies.