How can I hide cart count until a product is added on a Warehouse theme?

Hi

Pls can u provide a solution to hide cart count until a product is added to cart (attached example below)

my store:

URL: appliancesclub.com

Theme: Warehouse

wanted result:

Cheers

Hi @bennyhenders For hiding empty cart counter just follow below steps-

  1. Go to Online Store

  2. Edit Code

  3. Find and open header.liquid file

  4. Find for this code

{{ cart.item_count }}
  1. Just replace above code with below code
{% unless cart.item_count <= 0 %}
                    {{ cart.item_count }}
                        {% endunless %}
  1. Just Save and check it’s Done!

Please let me know when works and like and mark as solve!