importing from csv

  • Posts: 6
  • Thank you received: 0
13 years 1 month ago #26544

Hello
Im wanting to import a hole bunch of items to my online shop. with the following information.

product name, product code, price, currency, image, category


can someone let me know if i can import these from a csv and how to go about it

thank you
jimmi

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
13 years 1 month ago #26561

Yes you can.
You CSV should look like this (in a text editor like notepad++):

product_name,product_code,price_value,price_currency_id,images,categories
My product name;my_product_code;10,45;EUR;path/to/image.jpg;category name
My product name 2;my_product_code_2;20,80;USD;path/to/image2.png;category name 2

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
13 years 1 month ago #26614

so the deliminator should be a ; and not a ,


can i ask also in regards to the price what do the 2 figures equal? ie 10,45

thanks again for your help with this

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
13 years 1 month ago #26615

That's one price. 10 euros and 45 cents
prices have have either a comma or a dot, it depends on the country.
You can also use comma as delimiter. However, the price will have to be with a dot in that case or inside double quotes.

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
13 years 1 month ago #26691

cheers

one last question, when i added all the products it defaulted all the quantitys to 0.

i tried setting them to unlimited (see below) but it didnt change anything.

product_name,product_code,price_value,price_currency_id,categories,images,product_quantity
Apply food & beverage skills in the workplace,SITHFAB020A,20.00,AUD,12,thumbnail_212x150/Apply food & beverage skills in the workplace.jpg,Unlimited
Apply Hospitality skills in the workplace,SITHINDOO2A,20.00,AUD,12,thumbnail_212x150/Apply Hospitality skills in the workplace.jpg,Unlimited


plz help!!

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
13 years 1 month ago #26696

You should put -1 in that column of your CSV.

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
13 years 1 month ago #26752

it worked! thank you for your help.

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum