How to hide an empty shopping cart with drupal commerce

  1. Find the "Shopping cart block" view
  2. Create a new block display
  3. Edit the"Commerce Order:Order ID" contextual filter
  4. Set it to Provide default value > Type = Current user's cart order ID
  5. Then use that new block you have just created in your site. It will not show if the cart is empty
Taxonomy: 

Drupal themes to be compared