• Resolved infosws

    (@nicksws)


    Tried to update quantity from product page or cart page:

    Fatal error: Call to undefined function wc_add_notice() in wp-content/plugins/woocommerce-max-quantity/woocommerce-max-quantity.php on line 160

    or

    Fatal error: Call to undefined function wc_add_notice() in wp-content/plugins/woocommerce-max-quantity/woocommerce-max-quantity.php on line 193

    Using latest version of plugin and version 2.0.17 of WooCommerce.

    I know I only have 3.6.1 or WordPress but this shouldn’t matter should it? It’s a wc function that’s missing.

    Thanks.

    https://www.ads-software.com/plugins/woocommerce-max-quantity/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The wc_add_notice() function was introduced in WooCommerce 2.1.0. And it requires WordPress 3.8. Sorry for the inconvenience.

    Thread Starter infosws

    (@nicksws)

    Thanks. This was it. After upgrading WordPress (and WooCommerce, just to be sure) it worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘undefined function wc_add_notice’ is closed to new replies.