I need to replace the cart icon for 'CART' word + amount of products in cart (CART (2))

Topic summary

A user is seeking to customize their store’s cart display by replacing the default cart icon with text that reads “CART” followed by the number of items in parentheses (e.g., “CART (2)”). They’ve provided a reference image showing their desired implementation. The discussion appears to be awaiting responses on how to achieve this customization.

Summarized with AI on November 8. AI used: claude-sonnet-4-5-20250929.

Is there a way to replace the cart icon for the CART word just like this example below:

2025-11-08_15-08-47

1 Like

hi @majgza :waving_hand: Keep others in mind when communicating we aren’t mind readers.
Which exact url, or theme NAME is this about.
Not all themes are the same and not everyone has your EXACT setup.

Also per guidelines SEARCH first: cart icon text, price, theme name, etc etc etc
https://community.shopify.com/search?q=cart+icon+text+price

Hi @majgza

Go to Theme Code

Online Store → Themes → Edit code

Open:

snippets/icon-cart.liquid

(or snippets/cart-icon.liquid depending on version)

Replace Cart Icon Code

Comment everything in the file and add this:

<span style="font-weight:600; font-size:14px; letter-spacing:0.05em;">
  CART
</span>

Best regards,
Devcoder :laptop:

1 Like

Hi,
Could you share which theme you’re using on your store so we can check it and guide you in detail?”

Thank you!

In Horizon theme the snippet is → cart-icon-component.liquid

replace the code as said and adjust fint size as needed.

Thanks again!!!

1 Like

Hi @majgza

Thank you for your response. It’s good to know that it’s worked for you. Kindly feel free to get back to me if you need any further assistance. If helpful, please like all posts. :white_check_mark:

Best regards,
Devcoder :laptop:

Thank you!

I do have one follow-up question… I can see the word ‘CART’ now but I cannot see in parentheses the amount of products in the cart… can you help me get that part too?

Thanks in advance!