I am using Woocommerce for my ecommerce site and need help moving things around. I have the Storefront parent theme with the Homestore child theme. I am loading any additional functions/css/js in the plugin called Theme Customisations recommended by Woocommerce so they are not overwritten.
I would like to move the "Cart" box up to the top right beside the Search box. What function do I use to do this? I have tried multiple things such as:
add_action('storefront_after_header', 'cart_second_nav_bar');
function cart_second_nav_bar() {
remove_action( 'storefront_after_header', 'storefront_header_cart',60 );
add_action( 'storefront_after_header', 'storefront_header_cart', 10 );
}
Any help would be greatly appreciated.
Thanks!