title: Adding a custom text on WooCommerce's minicart
body: <p>I'm trying to add a custom text on the minicart icon on our site's header, when no product is on the cart.</p>
  
  <p>I tried this and it works for a second, but something inmediately replaces the custom text for a “0”…</p>
  
  <p>What could be happening here? I heard there's something called "fragments" that could be interfering but I'm not sure where to look for it.</p>
  
  <pre><code>&lt;div class="header-cart-count"&gt;
      &lt;?php
      if ( ! WC()-&gt;cart-&gt;is_empty() ) { 
        echo WC()-&gt;cart-&gt;get_cart_contents_count();
      }else{
        echo "SUPER COOL CUSTOM TEXT";
      }
      ?&gt;
  &lt;/div&gt;
  </code></pre>