Hi there,
You could try to add it to the Secondary Navigation.
1. If there are no widgets in the Top Bar widget area, you need to add an empty one using the Custom HTML widget:
<!-- empty widget -->
2. If you don’t have a secondary navigation, you need to create an empty menu in “Appearance > Menus” and add it to the Secondary menu location.
3. Now we can tell the cart menu item to show up in the secondary navigation:
add_filter( 'generate_woocommerce_menu_item_location', function() {
return 'secondary';
} );
Let me know if this helps or not ๐