Add product_name

Add product_name to array, as per new Woo files;
This commit is contained in:
Unknown 2018-03-22 13:59:20 -06:00 committed by zachary
parent 84df459b29
commit 025222ac18
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ do_action( 'woocommerce_before_cart' ); ?>
'input_value' => $cart_item['quantity'], 'input_value' => $cart_item['quantity'],
'max_value' => $_product->get_max_purchase_quantity(), 'max_value' => $_product->get_max_purchase_quantity(),
'min_value' => '0', 'min_value' => '0',
'product_name' => $_product->get_name(),
), $_product, false ); ), $_product, false );
} }