Jump to content

Trying To Import Products but Not Getting It


Recommended Posts

Hello,

 

Brand new to using Presta Shop and trying to import products into the software. I have imported categories fine but the products give me a lot of errors, it gives these errors, I have attached my sample text file while I convert to a CSV file.

 

Please really need help on this as have 3000 products to import.

 

18 errors

  1. Name* (ID id) Cannot be saved
  2. Product -> weight = Weight
  3. Allied Farms Mayonnaise (ID 52619-00207) Cannot be saved
  4. Product -> weight = 32 oz
  5. Allied Farms Vegetable (ID 52619-00200) Cannot be saved
  6. Product -> weight = 96oz
  7. Allied Farms Corn Oil (ID 52619-00201) Cannot be saved
  8. Product -> weight = 96oz
  9. Allied Farms Lemon Juice (ID 52619-00202) Cannot be saved
  10. Product -> weight = 32oz
  11. Allied Farms Vinegar (ID 52619-00203) Cannot be saved
  12. Product -> weight = 1 Gal
  13. Allied Farms Iodized Salt (ID 52619-00204) Cannot be saved
  14. Product -> weight = 26oz
  15. Allied Farms Corn Flakes (ID 52619-00205) Cannot be saved
  16. Product -> weight = 18oz
  17. Allied Farms Lime Juice (ID 52619-00206) Cannot be saved
  18. Product -> weight = 32 oz

Thanks for any help on this in advance.

products.txt

Link to comment
Share on other sites

Hi

 

Firstly, when you try to import are you ensuring you have ; as a separator as in this file

 

You cannot import images in that way, they have to be in the upload folder (in the root of your store, so www.mystore.com/upload or if you have installed presta in a sub foler www/mystore.com/presta/upload

 

Where are you getting the ID from? I think it may have to be an integer

Categories: You need the category ID number, not the name of the category

Weight should be numerical only (the units are set in the back office

Link to comment
Share on other sites

Thank you very much haylau,

 

Appreciate the help very much, yes I have ; as a separator. I will change the image to the upload folder.

 

I am using the product id from the manufacturer unless I have to put the id as 1, 2, 3, 3 etc.

 

Did not know I needed the category number, will change that and the weights.

 

Thanks again will try again.

Link to comment
Share on other sites

Wow this is really getting frustrating, I sent a new file up and now getting these errors:

 

18 errors

  1. Name* (ID id) Cannot be saved
  2. Product -> weight = Weight
  3. Allied Farms Mayonnaise (ID 5261900207) Cannot be saved
  4. Duplicate entry '4294967295' for key 'PRIMARY'
  5. Allied Farms Vegetable Oil (ID 5261900200) Cannot be saved
  6. Duplicate entry '4294967295' for key 'PRIMARY'
  7. Allied Farms Corn Oil (ID 5261900201) Cannot be saved
  8. Duplicate entry '4294967295' for key 'PRIMARY'
  9. Allied Farms Lemon Juice (ID 5261900202) Cannot be saved
  10. Duplicate entry '4294967295' for key 'PRIMARY'
  11. Allied Farms Vinegar (ID 5261900203) Cannot be saved
  12. Duplicate entry '4294967295' for key 'PRIMARY'
  13. Allied Farms Iodized Salt (ID 5261900204) Cannot be saved
  14. Duplicate entry '4294967295' for key 'PRIMARY'
  15. Allied Farms Corn Flakes (ID 5261900205) Cannot be saved
  16. Duplicate entry '4294967295' for key 'PRIMARY'
  17. Allied Farms Lime Juice (ID 5261900206) Cannot be saved
  18. Duplicate entry '4294967295' for key 'PRIMARY'

 

What is this "Primary"

 

Any help would be appreciated.

Link to comment
Share on other sites

The ID number is the presta shop database number of the product. Just a thought - what version of prestashop are you using? I was talking about 1.4: are you 1.5?

Link to comment
Share on other sites

×
×
  • Create New...