Removing Cart Icon From Header on Homepage (Pipeline Theme)

How can I remove the cart icon from my homepage using the Pipeline theme?

https://www.samarashuter.com/

Thank you

1 Like

Hey @SamShuter

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

worked perfectly, thank you!

1 Like

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

Hello @SamShuter

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find header.liquid file

This is screenshot:- https://prnt.sc/CyZCnqzTLZEn

{%- comment -%}   
 
          {% if cart == empty %}
            {{'icon-cart-empty.svg' | inline_asset_content }}
          {% else %}
            {{'icon-cart.svg' | inline_asset_content }}
          {% endif %}
        {{ 'templates.cart.cart' | t }}
        {%- if cart != empty -%}
          

            {%- if cart.item_count < 100 -%}
              {{ cart.item_count }}
            {%- endif -%}
            {{ 'sections.header.cart_count' | t: count: cart.item_count }}
          

        {%- endif -%}
      
      {%- endcomment -%}