Hi, I’m not sure if this is a GeneratePress Error or Woocommerce.
On the GeneratePress standard Woocommerce basket page.
Change cart Quantity of any Product to Zero and click Update gives the following PHP error about using a deprecated hook.
Deprecated: Hook woocommerce_before_cart_item_quantity_zero is deprecated since version 3.7.0! Use woocommerce_remove_cart_item instead. in /var/www/html/wordpress/wp-includes/functions.php on line 5754
You can see for yourself – add something to shopping cart – then go to shopping cart – then change quantity to zero – then click update.
When you click update to change quantity to zero in cart then I will get the PHP error:
Deprecated: Hook woocommerce_before_cart_item_quantity_zero is deprecated since version 3.7.0! Use woocommerce_remove_cart_item instead. in /var/www/html/wordpress/wp-includes/functions.php on line 5754