We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dccdbad + 4249d9a commit 7e9dedfCopy full SHA for 7e9dedf
app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php
@@ -188,6 +188,10 @@ public function getJsonConfig()
188
$configValue = $preConfiguredValues->getData('bundle_option/' . $optionId);
189
if ($configValue) {
190
$defaultValues[$optionId] = $configValue;
191
+ $configQty = $preConfiguredValues->getData('bundle_option_qty/' . $optionId);
192
+ if ($configQty) {
193
+ $options[$optionId]['selections'][$configValue]['qty'] = $configQty;
194
+ }
195
}
196
197
$position++;
0 commit comments