WooCommerce: Remove “Get the app” Ad @ Admin Order Emails

Here’s a quick snippet to disable those (annoying) WooCommerce ads that show in the footer of the “New Order” email (which goes to admins): “Process your orders on the go. Get the app.

The code is a little different from what you find online, let me know if it works!

The “Process your orders on the go” ad is automatically placed by WooCommerce in the New Order admin email footer. Here’s how to hide it.

PHP Snippet: Disable “Process your orders on the go. Get the app” Text Ad @ WooCommerce New Order Emails

/**
 * @snippet       Hide "Get the app" Ads @ WooCommerce Emails
 * @how-to        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli
 * @compatible    WooCommerce 8
 * @community     https://businessbloomer.com/club/
 */ 

add_action( 'woocommerce_email_footer', 'bbloomer_remove_get_the_app_ad', 8 );

function bbloomer_remove_get_the_app_ad() {
   $object = WC()->mailer();
   remove_action( 'woocommerce_email_footer', array( $object, 'mobile_messaging' ), 9 );
}

Where to add custom code?

You should place custom PHP in functions.php and custom CSS in style.css of your child theme: where to place WooCommerce customization?

This code still works, unless you report otherwise. To exclude conflicts, temporarily switch to the Storefront theme, disable all plugins except WooCommerce, and test the snippet again: WooCommerce troubleshooting 101

Related content

  • WooCommerce: Add Content to a Specific Order Email
    Customizing WooCommerce emails via the WordPress dashboard is not easy and – sometimes – not possible. For example, you can’t edit or add content to them unless you’re familiar with code. Well, here’s a quick example to learn how to add content to any WooCommerce default order email. In this case study, our goal is […]
  • WooCommerce: How to Add a Custom Checkout Field
    Let’s imagine you want to add a custom checkout field (and not an additional billing or shipping field) on the WooCommerce Checkout page. For example, it might be a customer licence number – this has got nothing to do with billing and nothing to do with shipping. Ideally, this custom field could show above the […]
  • WooCommerce Visual Hook Guide: Emails
    WooCommerce customizers: the Visual Hook Guide is back! Here’s a visual HTML hook guide for the WooCommerce Emails. This visual guide belongs to my “Visual Hook Guide Series“, that I’ve put together so that you can find WooCommerce hooks quickly and easily by seeing their actual locations. Let me know in the comments if this […]
  • WooCommerce: Add To: Cc: Bcc: Email Recipients
    The WooCommerce Email Settings allow you to add custom recipients only for New Order, Cancelled Order, Failed Order and all admin-only emails. But what if you want to add an email recipient to a customer email e.g. the Completed Order one? For example, you need to send it to your dropshipper. Also, you might want […]
  • WooCommerce: Remove Link to Product @ Order Table
    There is a slightly annoying thing on the WooCommerce Thank-You Page and WooCommerce emails. Users looking at the order table can actually click on the Products they just purchased and abandon the page before taking the action you want them to take (see image below). So, I coded a simple PHP snippet to remove such […]

Rodolfo Melogli

Business Bloomer Founder

Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as an independent WooCommerce freelancer since 2011. His goal is to help entrepreneurs and developers overcome their WooCommerce nightmares. Rodolfo loves travelling, chasing tennis & soccer balls and, of course, wood fired oven pizza. Follow @rmelogli

23 thoughts on “WooCommerce: Remove “Get the app” Ad @ Admin Order Emails

  1. Did not work for WP 6.1.1. Shucks!

      1. Hook does not work anymore. It used to.

        WP Versio 6.3.1 and Jetpack Versio 12.5

        https://snipboard.io/IrVsOM.jpg

        1. Hello, that’s not inside the WooCommerce plugin, so it must be a Jetpack plugin thing. Other than that, I confirm the “jetpack_just_in_time_msgs” filter does not exist any longer in WooCommerce, so I will publish an update here asap

  2. Update – I had the code in my functions.php already and it has been working, but now the Jetpack ads have returned with a vengeance. This time it is an “Connect Jetpack to activate WooCommerce Shipping & Tax”

    1. Ouch. Do you use the “WooCommerce Services” plugin? If not, simply disable it. If yes, I’m sure there is a way of hiding that, let me know

      1. Still seeing this on my end as well with the snippet in functions.php. We DO NOT have the Jetpack plugin installed either, which makes it a bit odd…

        1. Can you do a test with https://wordpress.org/plugins/disable-dashboard-for-woocommerce/? If it works with that plugin, I can reverse-engineer which function you should use

  3. Yes it worked fine. I placed at the bottom of the PHP file, well below the <?.

    Stephen

    1. Nice!

  4. Hi,
    it seems that it´s not working anymore in woocommerce 3.7.
    Anyway to fix this ? Also, is it not enough to deactivate “Woocommerce Services” ?

    Thanks,
    Jorge Correia

    1. Was it working on previous versions for you? I don’t see any JP ads on my end on 3.7

  5. Great suggestion – thank you for making this easier for me – it is driving my clients mad seeing these and creating confusion. Clients think they need this or that added every time they get into the back end of their site. I’m all for simplicity and a streamlined flow.

    1. Nice!

  6. Looks like with Jetpack 7.5.3 this no longer works – I see a pinterest ad right now.

    1. Not sure… I don’t think Jetpack has anything to do with Pinterest?

  7. This is apparently working in general, but does not seem to stop the ads in Opera browser.
    Perhaps it handles the PHP differently?

    1. I don’t think so… try clearing Opera cookies/cache

  8. Would be nice with an article about why JetPack should be used at all. It’s been reported over and over pretty much everywhere that it slows your site down. I would never even go near it.

    1. Hey Jessica, thanks for your message! I use it on this same website, and by activating only the “modules” I need, it does not slow it down. JetPack is totally fine to use and because it’s Automattic’s property, they’re also very responsive with support. Give it a go 🙂

  9. Why not just click the little x on the right hand side? Works for me.

    1. Good point John, but I noticed even if I click on “x” the ads and future ads keep coming back after a while 🙂

    2. Because then after a week a new one can pop up.
      Using the suggested code above you’ll never see annoying ads like this again… (until they change the code/filter/function)

Questions? Feedback? Customization? Leave your comment now!
_____

If you are writing code, please wrap it like so: [php]code_here[/php]. Failure to complying with this, as well as going off topic or not using the English language will result in comment disapproval. You should expect a reply in about 2 weeks - this is a popular blog but I need to get paid work done first. Please consider joining the Business Bloomer Club to get quick WooCommerce support. Thank you!

Your email address will not be published. Required fields are marked *