Skip to content

Commit bc24746

Browse files
committed
MAGETWO-70852: Import/Export with sample does not work correctly
- fix bundle required attributes
1 parent adb9859 commit bc24746

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ protected function prepareProduct($product, $data)
7777
->setCanSaveBundleSelections(true)
7878
->setPriceType(0)
7979
->setShipmentType(0)
80-
->setSkuType(1)
81-
->setWeightType(1);
80+
->setSkuType(0)
81+
->setWeightType(0)
82+
->setPriceView(0);
8283
$bundleOptionsData = $product->getBundleOptionsData();
8384
$options = [];
8485
foreach ($bundleOptionsData as $key => $optionData) {

0 commit comments

Comments
 (0)