You are on page 1of 3

Import Bulk Product using “.

Csv” file

For Developer:

File in use: “productimport.php” and “product.php”;


File Location:”\app\code\core\Mage\Catalog\Model\Convert\Adapter\”

 Create a folder “import” inside “www\var\”


 Create a folder “import” inside “www\media\”
 Create a folder “download-documents” inside “www\import\”

 Put the image files (.jpg) related to the product inside “www\media\import\”
folder.
 Put the downloadable file (.mp3) related to the product inside
“www\media\import\download-documents” folder.
 Now put the “importporduct.csv” file inside the “www\var\import\“ folder.
(N.B. the csv file name should not change in any condition if so then change the
filename in the .xml file line # 4: <var name="filename"><!
[CDATA[filename.csv]]></var>).

 After import save the file with date in another location for backup. But magento
can only import the “importproduct.csv “ not any other name. and the file must be
in the “download-document” folder

For user (bestkaraoke admin)


Add Product Detail in the csv file.
One “demoimportproduct.csv” file is already present in the
“www\media\import\download-documents” folder for reference.
(N.B: Do not delete the 1st row of the csv file as it contains the Field Name)
Now delete the Demo records and put new records as per the field name suggest.
Fields:
 SKU : must be a unique number.
NB: Don’t leave the above field Blank.
 Category_ids : contains the “Category Number”.
If you know the category numbers then
fill the cell with comma separated number
Ex: 35,84,635 where 35=M and 84 = New
products

 Name : (Song/Album Name)


 Image : put image name
Downloadable Product Details:
(Sans Choeurs)
Downloadable file:
Set the Title Name (if necessary) other wise leave the Cell Blank.
N.B: put the title as defined (Don’t use other title except the prescribed one).
 Sans_Transpostion : Sans choeurs,+1,+2,-1,-2
Here
 +1 : Sans choeurs +1 demi-ton
 +1/2 : Sans choeurs +2 demi-tons
 -1 : Sans choeurs -1 demi-ton
 -1/2 : Sans choeurs -2 demi-tons
N.B.: please check that the above Sans_Transpostion_Title field is empty while editing the
product (if downloadable files are same).

 Sans_Downloadable_File :dd.mp3

 Sans_Downloadable_File_+1 :dd1.mp3
 Sans_Downloadable_File_+1/2 :dd2.mp3
 Sans_Downloadable_File_-1 :dd-1.mp3
 Sans_Downloadable_File_-1/2 :dd-2.mp3

 Sans_Sample_Transpostion_File :ss.mp3
 Sans_Sample_Transpostion_File_+1 :ss1.mp3
 Sans_Sample_Transpostion_File_+1/2 :ss2.mp3
 Sans_Sample_Transpostion_File_-1 :ss-1.mp3
 Sans_Sample_Transpostion_File_-1/2 :ss-2.mp3
 Sans_Downloadable_File :dd.mp3

 Avec_Downloadable_File_+1 :kk1.mp3
 Avec_Downloadable_File_+1/2 :kk2.mp3
 Avec_Downloadable_File_-1 :kk-1.mp3
 Avec_Downloadable_File_-1/2 :kk-2.mp3

 Avec_Sample_Transpostion_File :hh.mp3
 Avec_Sample_Transpostion_File_+1 :hh1.mp3
 Avec_Sample_Transpostion_File_+1/2 :hh2.mp3
 Avec_Sample_Transpostion_File_-1 :hh-1.mp3
 Avec_Sample_Transpostion_File_-1/2 :hh-2.mp3

Process to import the products


Login to Admin
Upload required files (mp3, csv, jpg,):-
Select Upload Files->Manage Items->upload files
Select one file at a time and select Browse to again to select 2nd file.
After selecting files(max 100mb) -> Save file;
NB:Upload maximum 100 MB file at once.
Run the import script :-
Select System -> Import/Export -> Advance Profiles
Select Productimport (user defined profile) from Profile name.
Select Run Profile (left window)
Select Run Profile in Popup (right window)
NB: Check the number of rows you have inserted in the csv file and the
number of rows found.
Wait for “success message”
Now the products are uploaded and you can verify form
Admin -> Catalog -> Manage Products
Delete files:
Select upload files -> manage Items
Select the check box and set action as delete to delete the imported files form folder.

You might also like