solidusio-contrib / solidus_importer

Solidus importer extension to migrate data from other eCommerce systems
BSD 3-Clause "New" or "Revised" License
15 stars 30 forks source link

Import inventory quantities for variants #77

Closed vdanciu closed 3 years ago

vdanciu commented 3 years ago

This fix takes into account the quantities specified on variant rows and imports them on the default location. If multiple stock locations are used we'll need a convention in the import file to specify those locations. This change does not deal with that situation.

kennyadsl commented 3 years ago

@vdanciu thanks, it looks legit but can you please explain better why we need this and what happens without it?

vdanciu commented 3 years ago

@vdanciu thanks, it looks legit but can you please explain better why we need this and what happens without it?

What this fixes is the importing of stock quantities at variant level. In absence of this, the variants are imported without their quantities specified in the file (they are imported backorder-able with quantity 0).