Cart item key added to order item meta action

This commit is contained in:
Manos Psychogyiopoulos 2013-05-15 16:19:06 +03:00
parent 73fac5ffdd
commit dd3ea63f89
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ class WC_Checkout {
woocommerce_add_order_item_meta( $item_id, apply_filters( 'woocommerce_backordered_item_meta_name', __( 'Backordered', 'woocommerce' ), $cart_item_key, $order_id ), $values['quantity'] - max( 0, $_product->get_total_stock() ) );
// Allow plugins to add order item meta
do_action( 'woocommerce_add_order_item_meta', $item_id, $values );
do_action( 'woocommerce_add_order_item_meta', $item_id, $values, $cart_item_key );
}
}