• Resolved laracroftofficial

    (@laracroftofficial)


    I can’t find an options in setup how I can achieve it and allow mini cart for checkout & basket pages.

    I can do this with changes in source code for wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/MiniCart.php in several places, like this:

    	protected function enqueue_data( array $attributes = [] ) {
    
    		if ( is_cart() || is_checkout() ) {
    		//	return;
    		}

    This approach is working perfect, but I’ll prefer don’t change a source code.
    Is it possible?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Allow mini cart for checkout & basket pages.’ is closed to new replies.