Skip to content

Commit bec8711

Browse files
author
Magento Team
committed
Merge branch '2.2-develop' of https://github.com/magento/magento2-sample-data into develop
2 parents 7e29194 + 4f378c4 commit bec8711

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/Magento/BundleSampleData/Model/Product.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ protected function prepareProduct($product, $data)
7575
$product
7676
->setCanSaveConfigurableAttributes(true)
7777
->setCanSaveBundleSelections(true)
78-
->setPriceType(0);
78+
->setPriceType(0)
79+
->setShipmentType(0)
80+
->setSkuType(0)
81+
->setWeightType(0)
82+
->setPriceView(0);
7983
$bundleOptionsData = $product->getBundleOptionsData();
8084
$options = [];
8185
foreach ($bundleOptionsData as $key => $optionData) {

0 commit comments

Comments
 (0)