Product Variant Import

SmithCart > Integration > Import

The Product Variant Import function provides the ability to import an unlimited number of Variants and Conditional Variants from a .csv file.

Contents



Introduction

To access the Variant Import click the "Import" option from the Store Admin Menu.

There are several methods that can be used to Variant data into your store. No matter what method you use, you should export first so you can view the column headings and ensure your import data matches the proper format. This same file can then be modified and used as the import file.

When importing your Variants, the program will lookup Variants by ProductSku, VariantSku, VariantGroup and VariantName, if a record with the VariantSku, VariantGroup and VariantName currently exists in the database the import program will update the existing record and if the VariantSku, VariantGroup and VariantName does not exist, the import program will insert a new record in the database.

Note: Before importing Variants, be sure that Variant Groups have been added either manually or via the Variant Group Import and the correct GroupID associated with the Variant is populated in the GroupID column of the import file.

[up to contents]



Import Field Specification

  Click here to download sample CSV

Field Name Field Format Required
ProductSku String Yes
VariantSku String Yes
SortOrder Integer  
VariantGroupID Integer Yes
VariantName String Yes
VariantPrice Decimal  
VariantSalePrice Decimal  
PriceType String  
VariantWeightDif Decimal  
VariantLifecycle String  
VariantIconImage String  
VariantImage String  
VariantZoomImage String  
VariantDisplayType String Yes
VariantNote String  
VariantMemberRole String  
VariantMemberPrice Decimal  
VariantMemberSalePrice Decimal  
VariantMemberLifecycle String  
VariantQtyOnHand Integer  
ConditionalGroupID Integer  
Delete Boolean  

[up to contents]



Running the Variant Import

There are several steps you must take in order to successfully import your variant data file:

Please note that only .CSV files can be imported.

To import your data, navigate to the store admin menu in the BuyNow module and select "Import/Export" as follows:
 

Step 1: Select the Product Import tab at the top of the page.
 

 

Step 2: Find your file
 

From the Import Products tab click the Browse button.
 
 


 

Step 3: Select a File Name
 

Navigate to the excel file you want to import, and click Open.

 

 

Step 4: Select Import Type
 

Select the Variants Import Option.
 


 

Step 5: Import Now
 

To import the selected product spreadsheet, click the Import Now button to upload the file
 

 

When the import is complete, a message stating that the import was successful is displayed.

Note: This process may take several minutes, depending on the number of records to be imported. You should also allow time for the data to be processed: for example, it should take about half a minute to import 100 products, five minutes to import 1,000 and so on.

[up to contents]