Khushil Posted June 18, 2009 Share Posted June 18, 2009 Hi all,I'm very new to PrestaShop but not to PHP/MySQL and I have a question:When importing products, do I have to have the categories already created or will PS do this for me? I am also a little confused by:Categories (x,y,z...)How exactly am I meant to indicate which category this product should be placed in?TIAKhush Link to comment Share on other sites More sharing options...
jhnstcks Posted June 18, 2009 Share Posted June 18, 2009 I would create your categories first, then use the category id to fill in the categories field of your csv. Multipule categories can be set by using a comma inbetween the ids e.g. 23,25 Link to comment Share on other sites More sharing options...
Khushil Posted June 21, 2009 Author Share Posted June 21, 2009 Thanks for responding jhnstcks. I've done that. Created one category - ID 5. Then created a simple CSV file with one line as follows:"LL-5002","LL-5002.jpg","Stretch Lace Halter Dress","Stretch lace halter dress with sheer knit body. Comes with matching thong.",23.99,500,5 Import seems to work as all is present but it doesn't assign to category 5 but just to "Home". I am setting that field (the last one) as the Category ID.What do you think I could be doing wrong? Link to comment Share on other sites More sharing options...
jhnstcks Posted June 22, 2009 Share Posted June 22, 2009 If you post your csv here I will take a look laterWhich version of presta are you usinng? Link to comment Share on other sites More sharing options...
Khushil Posted June 22, 2009 Author Share Posted June 22, 2009 I installed from prestashop_1.1.zip so I'm assuming 1.1 which is latest version? I didn't go to 1.2 as it's not marked stable as yet. Link to comment Share on other sites More sharing options...
barranco Posted June 29, 2009 Share Posted June 29, 2009 UPDATE [sOLVED]: My mistake, the error was due to th absence of english language (ID 1) while trying to understand how the app worked I had ereased both default languages, I restore them back up and I'm importing without a hasle, thanks. I would create your categories first, then use the category id to fill in the categories field of your csv. Multipule categories can be set by using a comma inbetween the ids e.g. 23,25 Hello,Sorry to jump-in but I tried what you've said, I all my categories are setup, I have one category ID 135 that I want a to add a producto to, I made a test.csv placa de merol;135 where I map 'placa de merol' to a name and 135 to a category, it gives me an error. attached some screenshots of the steps I go through...forgot to say that my install is Version 1.1.0.5[/b] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now