Merge pull request #4819 from rahulshukla-webkul/development

Issue #4818 fixed
This commit is contained in:
Glenn Hermans 2021-04-23 12:00:59 +02:00 committed by GitHub
commit 5524df3518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -963,7 +963,7 @@ class Cart
}
if (! $wishlistItem->additional) {
$wishlistItem->additional = ['product_id' => $wishlistItem->product_id];
$wishlistItem->additional = ['product_id' => $wishlistItem->product_id, 'quantity' => 1];
}
request()->merge($wishlistItem->additional);