I don’t need any shopping cart functionality – how can i prevent this from loading and wasting necessary server resources?
Hey AntonNovikov!
Add this code into the enfold/functions.php file to remove the cart:
add_action('init','avia_child_theme_setup');
function avia_child_theme_setup(){
remove_action( 'ava_main_header', 'avia_woocommerce_cart_dropdown', 10);
}
Best regards,
Peter
Thank you.