How can I remove 'H2 item added to cart' from my store's HTML?

Can someone tell me how to delete “

item added to cart” in my store’s HTML?

@Jarmitz Hi,

Can you share your website?

Dusty Cove

@Jarmitz

Can you mark which H2 you want to be deleted in your website?

It’s the first

tag … “

item added to cart”. I believe the h1 tag should be first

Thanks for your help!

@Jarmitz

Is it in the first page or product page?

It’s on all the product pages

@Jarmitz

I was able to find it in the cart-notification. Please follow instructions below

Please duplication your theme prior to doing the steps below

Go to your online store > themes > then click Action > Edit code

Find the Asset fold, and look for the component-cart-notification.css

Open the file and paste the code below:

cart-notification__heading {
display: none !important;
}

The code simply hide the

element. Let me know if it helps.

I pasted that code at the bottom and then the top. I’m using SEO meta 1 click Chrome extension and it still shows up as the first header.

@Jarmitz

I see what you mean. The think the only way to delete it is to go to the liquid file and delete it manually from the html. I was able to find it in the cart-notification but it is hard to tell which folder it is though.

@made4Uo I found it finally. It’s in the cart-notification.liquid. I took out the line of code :

{%- render 'icon-checkmark' -%} {{ 'general.cart.item_added' | t }}

1 Like

Does it fix it?

Yep … fixed the problem.

Cool (",) Can you mark this inquiry as resolved. Thank you

Hi, I want to do this too! but when i access the code for my site I can’t find this particular file…under assets I have a component-cart-notification.css and I have a cart-notification.js I’m really frustrated because the edit code options I’m seeing on my site aren’t matching up with anything I’ve read about. It’s like I can’t actually access the html. I know VERY little about coding but have been doing lots of research to try to make some simple changes but can’t seem to find the right place to implement them.