Elementor – Changing where the Woocommerce Cart messages appear

Elementor – Changing where the Woocommerce Cart messages appear

Updated: 02 Feb 2020 – additions at bottom

This is something that has frustrated me a LOT with Elementor (and god I LOVE Elementor) and I think they should include the cart message as a widget when building product pages. It cant be too difficult.

With this nice simple fix, you will be able to move the position of the “X product successfully added to cart” message when using Woocommerce and Elementor.

Step 1 – Let’s get started. This is what it looks like by default when you have created your store, added products and then you add one of your products to the cart. See where the message appears

Image temporarily unavailable

See how it a) places itself above the main page header i have in place, above ALL content on the page. It looks so unsightly and quite frankly, awful. So, lets do something to fix that eh?!

First thing to do, is to unhook the message completely from automatically appearing. To do that, we use this little snippet. Place this in the functions.php file in your child theme (please use child themes!).

// REMOVE ADD TO CART MESSAGE
remove_action( 'woocommerce_before_single_product', 'woocommerce_output_all_notices', 10 );

Step 2 – Now that we’ve removed the default message, if you add an item to your cart, you will see no message at all. So now we need to re-insert the message where we want.

You will need this shortcode:

[shop_messages]

Now, open up the “single product” template that you have created for your individual product pages. If you havent created one, do it. This next part is personal, but for the sake of this tutorial, I have added the message just above the product itself, containing it within the standard content width. See below:

Image temporarily unavailable

Now, save the product template, and you won’t see any difference in layout. However, if you add a product to the cart, look where the message now appears 👇 (yes I know its small – soz but GIF’s get large)

Image temporarily unavailable

If you have any comments or questions, drop them below. If you need any Elementor help, get in touch.

Update – Feb 2020

I’ve had a few comments and emails about the “cart” page and it not working on that page. That is simply because the message is in a different hook. If you want it to appear somewhere else on the cart page, you need to do 2 things.
1. Remove
2. Re-add

Both done via actions. Super simple to do. Let’s see…this piece of code will remove the cart notice.

// REMOVE UPDATED CART MESSAGE
remove_action( 'woocommerce_before_cart', 'woocommerce_output_all_notices', 10 );

You can of course just leave it with only the code above and it will just not show a message at all, but simply update the totals (works nicely in my opinion).

Then, you have options as to where you want to re-insert. This fantastic article by Rodolfo Melogli shows you where you can re-insert.
https://www.businessbloomer.com/woocommerce-visual-hook-guide-cart-page/

Simply look at this code and look for the hook (at the start of the brackets). You can see that in my demo it is “woocommerce_after_cart_table”. You can choose any location on that article to put the message using this code.

// RELOCATE UPDATED CART MESSAGE
add_action( 'woocommerce_after_cart_table', 'woocommerce_output_all_notices', 10 );

So a nice, simple, plugin-free way to move the cart message when using Elementor.

If you need any Elementor based help, feel free to drop us a message via the contact form here and we will try our best to help!

← All posts Next: Dolohen, PV Clouds, CLK Site and…
Let's create something great

Got a project brewing? Let's talk it over a coffee.

Whether it's a fresh build, a redesign or an ongoing helping hand — we'd love to hear what you're working on. No jargon, no pressure, just honest advice from a Newquay studio.

Start a project 07427 414851
5 ★★★★★ · 10+ reviews on Google
★★★★★

Hi Shaun - just to say this is such a lovely design and a huge improvement on where we were. Thanks so much for the video and handling all of that too - they are brilliant.

Sarah @ TreloyMar 2026
★★★★★

Working with Shaun has been fantastic. A proper pro, always on hand to help sort things out and provide advice and guidance when needed. And not forgetting his design skills, creativity and knowledge of building websites making them work and run as smoothly as possible - a 1st class service.

Matt LidburyMay 2026
★★★★★

Shaun at Innuvo has produced an outstanding site for me. He took time to understand what I needed and explained how things would work, and has blown me — and many of my customers — away with the resulting stunning website. He's been very patient with edits and was on-hand when I went live. The payment system worked without a glitch, and I'm sure it was thanks to the site being so clean and engaging that I sold out of my product within 48 hours. Thank you so much.

Frances Houghton MBE
★★★★★

We used the services of Innuvo to build our new website for our architectural company. As we're design based, we had really strong ideas of how this should look and feel. Shaun interpreted our requirements perfectly and spent a lot of time ensuring we got exactly what we wanted. His professionalism and patience throughout the whole process were outstanding. We definitely made the right choice and would not hesitate in recommending their services. Thanks again Shaun.

Lee Crease
★★★★★

Shaun has produced an absolutely first class website for my new company. I was after a very specific look and feel and Shaun captured that vision perfectly and turned it into reality. His patience and understanding throughout the process were exceptional — even though I kept wanting to make changes, nothing was too much trouble. His knowledge of web design is exemplary and his pricing very reasonable for the quality. I'd definitely recommend Innuvo and Shaun to anybody.

Andrew White
★★★★★

As a superyacht, medical and premier automotive design consultancy, the pressure was on for Shaun. Challenge accepted — high-end results achieved in line with my minimal aesthetic. Great work Innuvo, highly recommended.

Morpheus7
★★★★★

I've been absolutely astounded by the amazing support given by Shaun at Innuvo. He really knows his stuff and never fails to solve any issues I come across very quickly. It's not often I feel the need to rave about customer service, but this guy has surpassed all expectations. I have absolute confidence in his abilities — he's like a WordPress wizard!

Sally Harwood
★★★★★

Working with Shaun of Innuvo to develop my business website was a really positive experience. I explained my vision and site concept and he developed some possible looks. I have no hesitation in recommending Innuvo to prospective customers.

Miles K
★★★★★

Top class web design service. Shaun really knows his stuff when it comes to building websites. Nothing is too difficult, and the more technical bits like CSS or PHP are second nature to him. Experienced and very knowledgeable in all areas, and the after-support once the site was built has been fantastic. Worth his weight in gold — thanks again!

Chris Sweet
★★★★★

We hired Innuvo to build our new website and are extremely happy with the results. Professional, responsive and a pleasure to work with from start to finish.

Jam Press
★★★★★

Shaun at Innuvo formed my website for my start-up company. Following an initial conversation he instantly understood the ethos of the company and translated that into the layout and imagery of the website — it needed very little amending from the first draft. Shaun delivered on creativity and the right site to attract my target market. His ability to respond and deliver very quickly impressed me, and he was always helpful and willing. I thoroughly enjoyed working with him.

Natasha Stevens
★★★★★

Really pleased with the work and cannot recommend Shaun enough.

Sean Johnston