• Hi, I have a little problem on this website: https://sklep.korwin-mikke.pl/.

    I’ve created promotion with rule: when you have two t-shirts in the cart, third t-shirt is for free.

    However when condition is met, it opens the mini cart on each page. Just add three t-shirts to the cart and reload page, it will open mini cart automatically which can be annoying.

    Any ideas how to avoid it?

    • This topic was modified 5 years, 5 months ago by Zyggmunt.
Viewing 1 replies (of 1 total)
  • Plugin Author algol.plus

    (@algolplus)

    Could you add this code to functions.php and test ?
    I’m sorry for late reply.

    add_filter( 'wdp_exclude_hooks_when_add_to_cart_calculated_items', function ( $hooks ) {
    	$hooks[] = 'woocommerce_add_to_cart';
    	return $hooks;
    } );
    • This reply was modified 5 years, 5 months ago by algol.plus.
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin opens mini cart on each page’ is closed to new replies.