Skip to content

Commit 0a480d7

Browse files
committed
ACP2E-1784: update qty from wishlist to pdp for configurable.
1 parent bdfb03e commit 0a480d7

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/Wishlist/Helper

1 file changed

+1
-2
lines changed

app/code/Magento/Wishlist/Helper/Data.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,7 @@ public function getProductUrl($item, $additional = [])
679679
*/
680680
private function getFragmentByProductType(DataObject $buyRequest): array
681681
{
682-
$fragment = $buyRequest->getSuperAttribute() ?? [];
683-
$fragment = $buyRequest->getSuperGroup() ?? [];
682+
$fragment = $buyRequest->getSuperAttribute() ?? $buyRequest->getSuperGroup() ?? [];
684683
if ($buyRequest->getBundleOption()) {
685684
$fragment['bundle_option'] = $buyRequest->getBundleOption() ?? [];
686685
$fragment['bundle_option_qty'] = $buyRequest->getBundleOptionQty() ?? [];

0 commit comments

Comments
 (0)