File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
CatalogImportExport/Model/Import
CatalogInventory/Model/ResourceModel/Stock Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1943,7 +1943,7 @@ protected function _saveStockItem()
1943
1943
$ row ['product_id ' ] = $ this ->skuProcessor ->getNewSku ($ rowData [self ::COL_SKU ])['entity_id ' ];
1944
1944
$ productIdsToReindex [] = $ row ['product_id ' ];
1945
1945
1946
- $ row ['website_id ' ] = $ this ->stockConfiguration ->getDefaultWebsiteId ();
1946
+ $ row ['website_id ' ] = $ this ->stockConfiguration ->getDefaultScopeId ();
1947
1947
$ row ['stock_id ' ] = $ this ->stockRegistry ->getStock ($ row ['website_id ' ])->getStockId ();
1948
1948
1949
1949
$ stockItemDo = $ this ->stockRegistry ->getStockItem ($ row ['product_id ' ], $ row ['website_id ' ]);
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public function setStockFilter($stock)
47
47
*/
48
48
public function setScopeFilter ($ scope )
49
49
{
50
- $ this ->data ['scope_filter ' ] = $ scope ;
50
+ $ this ->data ['website_filter ' ] = $ scope ;
51
51
return true ;
52
52
}
53
53
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function __construct($mapper = '')
29
29
*/
30
30
public function setScopeFilter ($ scope )
31
31
{
32
- $ this ->data ['scope_filter ' ] = $ scope ;
32
+ $ this ->data ['website_filter ' ] = $ scope ;
33
33
}
34
34
35
35
/**
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public function __construct($mapper = '')
27
27
*/
28
28
public function setScopeFilter ($ scope )
29
29
{
30
- $ this ->data ['scope_filter ' ] = $ scope ;
30
+ $ this ->data ['website_filter ' ] = $ scope ;
31
31
return true ;
32
32
}
33
33
You can’t perform that action at this time.
0 commit comments