Wanted to share how to delete the word "cart" in minimal theme

julisartcafe
Tourist
10 0 0

I deleted the code below from my minimal header.liquid file. This effectively leaves the cart icon alone and still functioning.

 

 

<div class="header-bar__module">
            <a href="{{ routes.cart_url }}" class="cart-page-link">
              {{ 'layout.cart.title' | t }}{% unless cart.item_count == 0 %}:{% endunless %}
              <span class="cart-count header-bar__cart-count{% if cart.item_count == 0 %} hidden-count{% endif %}">{{ cart.item_count }}</span>
            </a>
          </div>

 

 

 Capture.PNG

0 Likes
Anthony_David_
Trailblazer
222 29 87

Share store url

Shopify Expert - Theme customization | Design | Marketing | Product Sales
Hire Me: anthonyuidesigner@gmail.com
Whatsapp ( Click on number )- +33 6 28 93 62 05
0 Likes