Jump to content

Help with importing


Recommended Posts

I have to import 28000 products for which I have only Name, I'll use that name for short description, description, etc.

my problem is regarding this page: http://www.prestashop.com/wiki/Importing_Product_Data/

there we have: after the - are my comments


Categories (x,y,z…) - id of category or name of category?

Price tax excl. or Price tax incl. - first, should I use $100, or just 100? second, if tax incl, then I should use tax rate 19% and if tax not incl I should use tax rate 0 ?

Tax rate - id of percent?

Supplier - id or name?

Manufacturer - id or name?

Image URLs (x,y,z…) - how should a image url look like? (4000 images have the same image)

Link to comment
Share on other sites

HI Shutzu

You use the ID for every thing you have listed except for the tax one i'm not sure with that one as i did not use it.

for the images i used the full URL of the image then presta grabs it and re-names them and makes all the sizes...

hope that helps

Link to comment
Share on other sites

  • 2 weeks later...

Hey, Shutzu
For v1.1 the tax should be put as value, ex. 19.5. This will be mapped to existing tax ID with the same value.

You can easily check it in AdminImport.php
// Find id_tax corresponding to given values for product taxe
if (isset($product->tax_rate))
$product->id_tax = intval(Tax::getTaxIdByRate(floatval($product->tax_rate)));

Link to comment
Share on other sites

×
×
  • Create New...