Skip to content

Commit 7e9dedf

Browse files
committed
Merge remote-tracking branch 'github-magento2ce/MAGETWO-69959' into EPAM-PR-12
2 parents dccdbad + 4249d9a commit 7e9dedf

File tree

1 file changed

+4
-0
lines changed
  • app/code/Magento/Bundle/Block/Catalog/Product/View/Type

1 file changed

+4
-0
lines changed

app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ public function getJsonConfig()
188188
$configValue = $preConfiguredValues->getData('bundle_option/' . $optionId);
189189
if ($configValue) {
190190
$defaultValues[$optionId] = $configValue;
191+
$configQty = $preConfiguredValues->getData('bundle_option_qty/' . $optionId);
192+
if ($configQty) {
193+
$options[$optionId]['selections'][$configValue]['qty'] = $configQty;
194+
}
191195
}
192196
}
193197
$position++;

0 commit comments

Comments
 (0)