|
Import of X-Cart data can be performed using the 'Import data' section of your store's back end.
To access this section:
| 1. | Go to the 'Import/export data' section of your store's back end: |
If you are an X-Cart GOLD administrator/provider or an X-Cart PRO administrator:
Click the link Import/Export in the Administration menu.
If you are an X-Cart PRO provider:
Click the link Import/Export in the Products menu.
| 2. | In the 'Import/export data' section menu, click the link Import data. |
The 'Import data' section looks like this (with the reservation that the section [+] Select provider is available only to X-Cart PRO administrators, and the set of data types available for importing varies depending on the type of user account being used):

To import data into X-Cart:
| 1. | Prepare a CSV file for import. Make sure it contains all the necessary required fields (For a list of fields that are required for a specific data type, refer to the table in the 'Import options' section of the 'Import data' dialog box (accessible by clicking the link [+]Import options). Make sure the types of data you are going to import are listed in the table (If not, ensure that the modules/add-ons that use these types of data are enabled). |
| 2. | Use the settings of the 'Import data' dialog box to specify, what data you wish to be imported and how you wish that to be done: |
| a) | (If you are an X-Cart PRO administrator) Certain types of X-Cart data (like PRODUCTS, SHIPPING RATES, TAX RATES, etc) are not displayed and cannot be imported without an indication of which provider they belong to. If you are importing provider-specific data, be sure to specify the username of their owner: expand the 'Select provider' subsection of the 'Import data' dialog box by clicking the [+] Select provider link, enter the username of the provider into the appropriate field and click the Go button. |
| b) | Use the 'CSV delimiter' drop-down box to select a delimiter that is used in the CSV file which you are going to import (Semicolon, Comma, Tab). |
| c) | Specify the source of the import file: |
| i. | Select the appropriate radio button to specify, whether the CSV file is located on the server where your X-Cart is installed, on your local machine or some web-accessible location (Server, Home computer, URL). |
| ii. | Depending on the location selected, provide a file path or a URL. |
| d) | Expand the section 'Import options' by clicking the [+] Import options link and adjust the settings in this section: |
| i. | If you are importing users, specify, whether customer passwords are encrypted (Yes/No). |
| ii. | If you are importing products, set the Default category (a category where your products will go if you did not specify a category in the 'Category' column. Just leave this field alone if you have specified a category in your CSV file). |
| iii. | If your CSV file contains mention of subcategories (for example, if some of the products being imported will go to subcategories), make sure the Category path separator for "category" field specified in the 'Import options' section is exactly the same as the separator used in your CSV file. |
| iv. | If you are importing images (thumbnail images, product images, category icons, etc) and wish to import them from a single directory, specify this directory as Directory where images are located. |
| v. | If your store database already contains data of the types that you are going to import, and you wish to drop this data before importing data from your spreadsheet, select the DROP check boxes next to the names of data types that need to be dropped. (If you do not select any check boxes, the data from your spreadsheet will simply be added to the database). |
| 2. | Click the Import button at the bottom of the 'Import data' dialog box. X-Cart should start importing the data. |
As soon as the import process is completed, you should see an Information box with a confirmation message.
|