WordPress.org

Forums

WooCommerce - excelling eCommerce
[resolved] What happened to the woocommerce_add_to_cart_message Filter? (6 posts)

  1. Aaron Brazell
    Member
    Posted 1 year ago #

    Your docs do not reflect the current version of WC (2.1.2). Docs still list this filter as being in woocommerce-functions.php which doesn't exist any longer and there is no indication where the stuff that was in there was moved to.

    We use that filter and I can't find it via global search.

    Is there a recommended alternative?

    https://wordpress.org/plugins/woocommerce/

  2. Aaron Brazell
    Member
    Posted 1 year ago #

    Nevermind, though the docs are still outdated with little developer direction.

  3. Paul
    Member
    Posted 1 year ago #

    Aaron-

    Did you find a solution to this? My old function is not working as of WC 2.1.2

    Just wondering if you figured this out or not.

  4. Devin Walker
    Member
    Posted 1 year ago #

    Yes, it would be better to share the solution rather than nevermind. I'm struggling to use this filter 2.1+ right now. I'll post back if I find out anything of use.

  5. Devin Walker
    Member
    Posted 1 year ago #

    Ok, so in WC 2.1+ the filter is now called wc_add_to_cart_message

  6. Paul
    Member
    Posted 1 year ago #

    That's great! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.