Shopify themes, liquid, logos, and UX
Hello,
Could anyone support with the following please - I would like to change cart icon and quantity bauble to text so it will show as for example CART (1). I would like it to be changed for both desktop and mobile. I would appreciate if anyone could help!
My store: https://iivq075qsobcx70p-78805696849.shopifypreview.com
Solved! Go to the solution
This is an accepted solution.
Hi @alant, You can try following steps. Remember to backup your theme before.
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file header.liquid
Step 3: Edit the code according to the following sample:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
This is an accepted solution.
Hi @alant,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
a#cart-icon-bubble {
width: auto !important;
text-decoration: none !important;
}
</style>
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
This is an accepted solution.
@alant , To change the cart go to icon-cart-bubble.liquid , replace the whole code with this :
<span class="">{{ 'templates.cart.cart' | t }}</span>
{%- if cart != empty -%}
<div class="">
{%- if cart.item_count < 100 -%}
<span aria-hidden="true">({{ cart.item_count }})</span>
{%- endif -%}
<span class="visually-hidden">{{ 'sections.header.cart_count' | t: count: cart.item_count }}</span>
</div>
{%- endif -%}
This is an accepted solution.
Hi @alant,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file cart-icon-bubble.liquid
Step 3: Edit the code according to the following sample:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
@alant , we will need to edit the header.liquid file , go to that file and search for this : header__icon , then send a screenshot of the result so I can tell you what to change
Hi there,
Thanks for that! Please see the screenshoot attached.
This is an accepted solution.
@alant , To change the cart go to icon-cart-bubble.liquid , replace the whole code with this :
<span class="">{{ 'templates.cart.cart' | t }}</span>
{%- if cart != empty -%}
<div class="">
{%- if cart.item_count < 100 -%}
<span aria-hidden="true">({{ cart.item_count }})</span>
{%- endif -%}
<span class="visually-hidden">{{ 'sections.header.cart_count' | t: count: cart.item_count }}</span>
</div>
{%- endif -%}
This is an accepted solution.
Hi @alant, You can try following steps. Remember to backup your theme before.
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file header.liquid
Step 3: Edit the code according to the following sample:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Thanks! That almost worked - is it a way for everything to be in one line and without the underline?
This is an accepted solution.
Hi @alant,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
a#cart-icon-bubble {
width: auto !important;
text-decoration: none !important;
}
</style>
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Worked! Amazing, thank you!
@alant, No problem. Have a good day 😁
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Can I just check - when I add a thing to the basket the icon changes to the bag instead of word CART. Could you support please?
This is an accepted solution.
Hi @alant,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file cart-icon-bubble.liquid
Step 3: Edit the code according to the following sample:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025