Jump to content

Update only quantity via csv file


Recommended Posts

Hello Microame.

 

If I recall correctly, in PS 1.5.x, two columns in your CSV should be enough for quantity updating: "ID" and "Quantity".

 

An example CSV:

"ID";"Quantity"
9584;100

 

This CSV should update the product with internal (PrestaShop's database) ID of 9584 to a new quantity of 100.

Edited by parsifal (see edit history)
Link to comment
Share on other sites

 

 


Parsifal, If we do as you have suggested will that not erase other data's?


I just checked it in my shop (1.5.3.1) with one product.

The quantity was updated correctly. No existing product data were erased except...it caused one minor problem with the product's category associations: I had this product belonging to 3 different categories and unfortunately the CSV changed the product's primary (default) category to "Home".

Maybe this is a bug in 1.5.3.1, but please keep it in mind if you assign your products to more than one categories ... Edited by parsifal (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...