Skip to content

Commit

Permalink
add import sample file for stock sources
Browse files Browse the repository at this point in the history
  • Loading branch information
ulopezrojo committed Nov 5, 2017
1 parent 6ecb984 commit 64bdba6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source_id,sku,status,quantity
1,sku1,1,10
2,sku2,1,10
3,sku3,1,10
4,sku4,1,15
7 changes: 7 additions & 0 deletions app/code/Magento/InventoryImportExport/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,11 @@
</argument>
</arguments>
</type>
<type name="Magento\ImportExport\Model\Import\SampleFileProvider">
<arguments>
<argument name="samples" xsi:type="array">
<item name="stock_sources" xsi:type="string">Magento_InventoryImportExport</item>
</argument>
</arguments>
</type>
</config>

0 comments on commit 64bdba6

Please sign in to comment.