Want to change the cart icon in the header section ( Shopify Dawn Theme )

Topic summary

A user wants to replace the default cart icon in Shopify’s Dawn theme with a custom shopping bag icon.

Solutions Provided:

  • Method 1: Locate the cart icon SVG code in header.liquid (under Sections folder) and replace it with the desired SVG code.

  • Method 2: Upload custom icon files (icon-bag.svg and icon-bag-empty.svg) to the Assets folder, then reference these files in header.liquid and cart-icon-bubble.liquid.

Current Issue:

After implementing the changes, the custom cart icon appears oversized in the header. One responder reports the icon displays at normal size on their end and questions why other header icons (user, search) are missing from the original poster’s view.

Status: The discussion remains ongoing as the user reports the sizing issue persists when testing on another theme, with participants now trying to identify which specific theme is being used for troubleshooting.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

Hello Everyone!

I am using Shopify dawn. I want to change the cart icon in the header section. I want to keep the cart icon as shown in the image below. I want to keep this exact icon as the cart icon. Please help me. Thank you.

Store: https://blue-chic-clothes.myshopify.com/

Password: Admin

Hi @dreamtechzone_5 ,

To update the cart icon on your Shopify store (Dawn theme), please follow these steps:

  1. Navigate to Online Store > Themes, then click on Edit code for your active theme.

  2. In the left sidebar, open the header.liquid file located under the Sections folder, depending on your theme structure.

  3. Within this file, search for the block of code responsible for displaying the cart icon. As shown in the attached image, this section contains the existing SVG code for the cart icon.

  4. Replace the current SVG with your desired cart icon SVG.

Make sure to save your changes once the update is complete.

Hi @dreamtechzone_5

Let go to assets upload 2 files icon-bag.svg & icon-bag-empty.svg

replace it on header.liquid & cart-icon-bubble.liquid

1 Like

I have added the cart icon as per your instructions, but the cart icon size looks too big. How can I fix this?

I see the cart icon size normally, how can I see like you? My side list icon include user & search, why not at your side?

1 Like

I tried this on another theme but the cart icon looks big.

which theme can I try?

1 Like