Merge pull request #22360 from woocommerce/fix/orderagainnotice

Correct calculation for notification when items are unable to be reordered
This commit is contained in:
Mike Jolley 2019-01-08 10:54:22 +00:00 committed by GitHub
commit 2843f1d6e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -364,10 +364,10 @@ final class WC_Cart_Session {
_n(
'%d item from your previous order is currently unavailable and could not be added to your cart.',
'%d items from your previous order are currently unavailable and could not be added to your cart.',
$num_items_added,
$num_items_in_original_order - $num_items_added,
'woocommerce'
),
$num_items_added
$num_items_in_original_order - $num_items_added
),
'error'
);