RCP90 Posted November 11, 2013 Share Posted November 11, 2013 (edited) Hi Guys, Just noticed something strange whilst using CSV to import features to existing products. I uploaded a CSV using the reference as key which had 2 columns, just the reference and product features. It updated the product but moved them all the 'home' category. It added the features fine, but cleared all of the product categories. This is not too much of an issue becuase i used another CSV with the reference and categories again which updated the categories again, but this does seem to be a minor bug? Unless you have to include the categories with every product update, which seems unlikely. Just wanted to warn people who use the CSV imports that updating a CSV to update products will do this. EDIT It also clears stock levels. And adjusts everything to 0 Edited November 11, 2013 by RCP90 (see edit history) Link to comment Share on other sites More sharing options...
parsifal Posted November 11, 2013 Share Posted November 11, 2013 It existed in previous versions also. It's a very annoying bug and it must have a large impact, if you consider that the users who plan to update many aspects of their products (especially quantities) must be a considerable percentage. Link to comment Share on other sites More sharing options...
RCP90 Posted November 11, 2013 Author Share Posted November 11, 2013 (edited) Well before it would clear everything, which now it does not, it just clears quantity and category. This was supposed to have been fixed, and it is partially. Before you could not use the reference as key, and if you used the ID it would clear all information, including description, which is now fixed. I just thought this had all been fixed. But you can now update details with just the reference but you also need to make sure that quantity and categories are included, otherwise they clear. Edited November 11, 2013 by RCP90 (see edit history) 1 Link to comment Share on other sites More sharing options...
Beluga Posted November 23, 2013 Share Posted November 23, 2013 It is claimed in the comments of this bug report that the development version doesn't reset the quantities: http://forge.prestashop.com/browse/PSCFV-10921 I'm going to try on the development version they linked, but I won't have time until later today.. if someone tests it before me, please report here! 1 Link to comment Share on other sites More sharing options...
Beluga Posted November 23, 2013 Share Posted November 23, 2013 (edited) Ok I tested the dev version and using reference as key works without destroying any other fields! Next I will modify the AdminImportController of the dev version with these changes and see how it goes: http://www.prestashop.com/forums/topic/280975-modification-adminimportcontroller-update-products-attributes-and-their-quantities-to-warehouse/ EDIT: I realized that PS 1.5.6.1 was just released as an official update and it has the exact same AdminImportController.php as the one I tested so this is fixed in stable! Edited November 23, 2013 by Beluga (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts