Re: Changing the "Just Added to Your Cart" - H2 / Debut Theme

Solved

Changing the "Just Added to Your Cart" - H2 / Debut Theme

HGSR_2020
Excursionist
19 0 10

Going through the code, i've noticed that the cart popup displays a message "Just Added to your cart" - but this is h2.

Does anyone know how to adjust please? Looking to change to h4 or even P tag (using Debut theme)

HGSR_2020_2-1614553901852.png

 

 

 

Accepted Solution (1)
tewe
Shopify Partner
244 46 102

This is an accepted solution.

Hi @HGSR_2020,

you can change it in the snippet cart-popup.liquid. There replace  the tags h2 in the line reading

<h2 id="CartPopupHeading" class="cart-popup__heading">{{ 'cart.popup.added_to_cart' | t }}</h2>

to what ever you want. You will find the snippet if you go to your theme, choose the action Edit Code and look in the Snippets folder. It is advisable to make a backup of your theme before you modify it.

Please let me know if this did not help.

Regards
Thomas

• Was my reply helpful? Click Like to let me know!
• Was your question answered? Mark it as an Accepted Solution
• Check out our Price Updater App

View solution in original post

Replies 7 (7)

KetanKumar
Shopify Partner
37127 3647 12059

@HGSR_2020 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!😊
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
HGSR_2020
Excursionist
19 0 10

Hi Ketan, 

The website URL is MeltingPleasures.co.uk (p/w 123456)

Thanks

tewe
Shopify Partner
244 46 102

This is an accepted solution.

Hi @HGSR_2020,

you can change it in the snippet cart-popup.liquid. There replace  the tags h2 in the line reading

<h2 id="CartPopupHeading" class="cart-popup__heading">{{ 'cart.popup.added_to_cart' | t }}</h2>

to what ever you want. You will find the snippet if you go to your theme, choose the action Edit Code and look in the Snippets folder. It is advisable to make a backup of your theme before you modify it.

Please let me know if this did not help.

Regards
Thomas

• Was my reply helpful? Click Like to let me know!
• Was your question answered? Mark it as an Accepted Solution
• Check out our Price Updater App
HGSR_2020
Excursionist
19 0 10

Thanks so much - that's exactly what I was looking for, doh! 

Vanessa140
Visitor
3 0 0

Hey there, 

I tried this solution but it seems to not be working for my store. 

www.beerfans.com.au

The 'just added to cart' is still there and I do not know how to get rid of it as my H2.

Thank you for your help. 

Cheers

tewe
Shopify Partner
244 46 102

Hi @Vanessa140,

strange, when I look at your pages I can see that you use the Debut theme and from the output it looks as if you use the version where the patch should work. So I suspect that something else is wrong.  Did you update your theme by making the patched version the live one?

Regards
Thomas

• Was my reply helpful? Click Like to let me know!
• Was your question answered? Mark it as an Accepted Solution
• Check out our Price Updater App
Vanessa140
Visitor
3 0 0
Hey Thomas,
Yes i have been working on the live theme.