This article applies to: X-Cart 5.6.0 and later
File Format
A CSV file for inventory data import must have the name inventory-xxxxxx.csv, where the part -xxxxxx can be anything you want or even be omitted.
Examples of correct product CSV file names:
inventory.csv;
inventory-13-01-01.csv;
inventory-test.csv
Fields Reference
Required fields are marked with an asterisk (*):
Each product line must include its SKU and at least one location code column corresponding to an existing location in your store.
CSV file field name | What this field describes | |
sku* | Unique identifier of the product. | String, |
<locationCode = String, Max. length: 32>* | Quantity of the product in this location
Quantity value syntax: N = Overwrite stock with N +N = Increase stock by N -N = Decrease stock by N
| Integer
|
* Required field.
** See CSV Field Notices for more info.
Tips:
If you are going to import data into X-Cart and do not wish to update certain X-Cart fields during the import process, you should not include these fields in your CSV file for import. Instead, simply remove the respective column(s) from the file.
Can't find answers you're looking for?
Email us at support@x-cart.com. We will be happy to help!
Related articles
