File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
app/code/Magento/BundleImportExport
setup/src/Magento/Setup/Fixtures Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 3
3
"description" : " N/A" ,
4
4
"require" : {
5
5
"php" : " ~5.5.0|~5.6.0" ,
6
- "magento/module-catalog" : " 0.74.0-beta11 " ,
7
- "magento/module-import-export" : " 0.74.0-beta11 " ,
8
- "magento/module-catalog-import-export" : " 0.74.0-beta11 " ,
9
- "magento/module-bundle" : " 0.74.0-beta11 " ,
10
- "magento/module-eav" : " 0.74.0-beta11 " ,
11
- "magento/framework" : " 0.74.0-beta11 " ,
6
+ "magento/module-catalog" : " 0.74.0-beta12 " ,
7
+ "magento/module-import-export" : " 0.74.0-beta12 " ,
8
+ "magento/module-catalog-import-export" : " 0.74.0-beta12 " ,
9
+ "magento/module-bundle" : " 0.74.0-beta12 " ,
10
+ "magento/module-eav" : " 0.74.0-beta12 " ,
11
+ "magento/framework" : " 0.74.0-beta12 " ,
12
12
"magento/magento-composer-installer" : " *"
13
13
},
14
14
"type" : " magento2-module" ,
15
- "version" : " 0.74.0-beta11 " ,
15
+ "version" : " 0.74.0-beta12 " ,
16
16
"license" : [
17
17
" OSL-3.0" ,
18
18
" AFL-3.0"
Original file line number Diff line number Diff line change @@ -624,7 +624,7 @@ public function execute()
624
624
$ pathSize = count ($ structure );
625
625
if ($ pathSize > 1 ) {
626
626
$ path = [];
627
- for ($ i = 0 ; $ i < $ pathSize ; $ i ++) {
627
+ for ($ i = 1 ; $ i < $ pathSize ; $ i ++) {
628
628
$ path [] = $ category ->load ($ structure [$ i ])->getName ();
629
629
}
630
630
array_shift ($ path );
@@ -645,7 +645,7 @@ public function execute()
645
645
return $ result [$ index % count ($ result )][0 ];
646
646
};
647
647
$ productCategory = function ($ index ) use ($ result ) {
648
- return $ result [$ index % count ($ result )][1 ];
648
+ return $ result [$ index % count ($ result )][2 ] . ' / ' . $ result [ $ index % count ( $ result )][ 1 ];
649
649
};
650
650
651
651
/**
You can’t perform that action at this time.
0 commit comments