From 025222ac180be40ad894fe64ee007cd833e16cd1 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 22 Mar 2018 13:59:20 -0600 Subject: [PATCH] Add product_name Add product_name to array, as per new Woo files; --- woocommerce/cart/cart.php | 1 + 1 file changed, 1 insertion(+) diff --git a/woocommerce/cart/cart.php b/woocommerce/cart/cart.php index 97f5dc4..51a8276 100644 --- a/woocommerce/cart/cart.php +++ b/woocommerce/cart/cart.php @@ -108,6 +108,7 @@ do_action( 'woocommerce_before_cart' ); ?> 'input_value' => $cart_item['quantity'], 'max_value' => $_product->get_max_purchase_quantity(), 'min_value' => '0', + 'product_name' => $_product->get_name(), ), $_product, false ); }