Fixed generic stock mapping

This commit is contained in:
Claudio Sanches 2017-05-30 13:04:16 -03:00
parent ffd248f19d
commit 73e34b583f
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ function wc_importer_generic_mappings( $mappings ) {
__( 'Product Title', 'woocommerce' ) => 'name',
__( 'Price', 'woocommerce' ) => 'regular_price',
__( 'Parent SKU', 'woocommerce' ) => 'parent_id',
__( 'Quantity', 'woocommerce' ) => 'stock',
__( 'Quantity', 'woocommerce' ) => 'stock_quantity',
);
return array_merge( $mappings, $generic_mappings );