manpreet123 Posted August 21, 2013 Share Posted August 21, 2013 I am facing problem with my csv importing.products are not showing under Associated categories please help me.i shall be very thankfull to you. manpreet. Link to comment Share on other sites More sharing options...
Prestalia Posted August 21, 2013 Share Posted August 21, 2013 hello, you use the funztion of prestashop or a module? Link to comment Share on other sites More sharing options...
manpreet123 Posted August 21, 2013 Author Share Posted August 21, 2013 I am using prestashop function Link to comment Share on other sites More sharing options...
Prestalia Posted August 21, 2013 Share Posted August 21, 2013 version of prestashop? in csv you set the correct id of category? the prestashop function want all correct for do an import Link to comment Share on other sites More sharing options...
manpreet123 Posted August 21, 2013 Author Share Posted August 21, 2013 If you have any solution .please help me its very urgent for me Link to comment Share on other sites More sharing options...
manpreet123 Posted August 21, 2013 Author Share Posted August 21, 2013 ;1;071 Prosecco Extra Dry;'52';16.236;;;1;$ 16.00 on 2cs 146.40 | $ 40.00 on 3cs 122.40 | ;;;;;;Southern Wine & Spirits;;;;;;;;;SPARKLING WINE - IMPORTED;;;;;;;1;;1;12;;;ITALY;VENETO;PROSECC;194.88;16.236;https//library.bevnetwork.com/LABels/700/t_109604.jpg;0;size:750ML;;;; here is my data .my cat id is 52 but product associated with home category when i do import Link to comment Share on other sites More sharing options...
manpreet123 Posted August 21, 2013 Author Share Posted August 21, 2013 my prestashop version is 1.5.3.1 Link to comment Share on other sites More sharing options...
indesign47 Posted August 21, 2013 Share Posted August 21, 2013 Try this File: controllers/admin/AdminImportController.php Function: split The problem is that the $temp var isn't being assigned, so no file is opened. To solve it, change this line: $fd = fopen($temp, 'r'); By $fd = fopen(_PS_UPLOAD_DIR_.$uniqid, 'r'); Link to comment Share on other sites More sharing options...
Prestalia Posted August 21, 2013 Share Posted August 21, 2013 can you send a link to the product? Link to comment Share on other sites More sharing options...
manpreet123 Posted August 21, 2013 Author Share Posted August 21, 2013 this solution is not working for me. here is url for product https://liquordelivered.com/index.php?id_product=37&controller=product Link to comment Share on other sites More sharing options...
manpreet123 Posted August 21, 2013 Author Share Posted August 21, 2013 You have any solution ???????????????? Link to comment Share on other sites More sharing options...
Prestalia Posted August 21, 2013 Share Posted August 21, 2013 you test to remove '' in the id category? '' is for text not for number Link to comment Share on other sites More sharing options...
Prestalia Posted August 21, 2013 Share Posted August 21, 2013 exsample: "ID;Attivo (0/1);Nome *;Categorie (x, y, z...);......... " Link to comment Share on other sites More sharing options...
manpreet123 Posted August 21, 2013 Author Share Posted August 21, 2013 I am not understanding you point please explain me??? Link to comment Share on other sites More sharing options...
manpreet123 Posted August 21, 2013 Author Share Posted August 21, 2013 i already try with category name but it ids not working Link to comment Share on other sites More sharing options...
manpreet123 Posted August 21, 2013 Author Share Posted August 21, 2013 Please tell me is there any other way. Link to comment Share on other sites More sharing options...
manpreet123 Posted August 21, 2013 Author Share Posted August 21, 2013 hiii indesign please help me :( Link to comment Share on other sites More sharing options...
Prestalia Posted August 21, 2013 Share Posted August 21, 2013 I am not understanding you point please explain me??? i write you an example of csv, where you isert a number you can't insert '' Link to comment Share on other sites More sharing options...
manpreet123 Posted August 21, 2013 Author Share Posted August 21, 2013 Can you please edit my code .....that i posted in previous post Link to comment Share on other sites More sharing options...
indesign47 Posted August 21, 2013 Share Posted August 21, 2013 please help me :( I did already but product associated with home category when i do import it's a bug of PS 1.5.3 Fix with the modified AdminImportController.php https://github.com/PrestaShop/PrestaShop/commit/8d7196daf3b39d280c631882f0e3ebe473233d07 Link to comment Share on other sites More sharing options...
manpreet123 Posted August 21, 2013 Author Share Posted August 21, 2013 It is not working for me :( Link to comment Share on other sites More sharing options...
manpreet123 Posted August 21, 2013 Author Share Posted August 21, 2013 Thanks indesign Your advice is working for me. Thanks alot. One thing more can you please tell me how to import Product images with csv file in prestashop 1 Link to comment Share on other sites More sharing options...
indesign47 Posted August 21, 2013 Share Posted August 21, 2013 One thing more can you please tell me how to import Product images with csv file in prestashop You can paste in your browser the entire path of your image for example : http://localhost:8888/prestashop/upload/bichoco.jpg if you see the image in a new internet window your path it's good the path of your image of the csv file https//library.bevnetwork.com/LABels/700/t_109604.jpg https://library.bevnetwork.com/LABels/700/t_109604.jpg Link to comment Share on other sites More sharing options...
dogwood Posted October 5, 2013 Share Posted October 5, 2013 Thank you prestashop addict! I applied the change to AdminimportController.php from the previous post and it fixed my problem of categories not being assigned during product import. Wish I was smart enough to understand the change, but somethings can't be fixed. Link to comment Share on other sites More sharing options...
indesign47 Posted October 5, 2013 Share Posted October 5, 2013 Hello dogwood, Thank you prestashop addict! I applied the change to AdminimportController.php from the previous post and it fixed my problem of categories not being assigned during product import. So it's fixed Wish I was smart enough to understand the change, but somethings can't be fixed. I don't understand your answer. Fix or not ? Link to comment Share on other sites More sharing options...
dogwood Posted October 5, 2013 Share Posted October 5, 2013 Yes the problem is fixed, I was joking about the fact that technically, I didn't understand the fix that I applied, but I am delighted to have the import working correctly now. Link to comment Share on other sites More sharing options...
Recommended Posts