Jump to content

in witch DB table is quantity?


Recommended Posts

ok, I want to create a CSV file with products.

I think I found a solution after so much reading and looking into my DB.

 

but I cant find in witch table is quantity of products.

 

where it is?

 

help me please :huh:

Link to comment
Share on other sites

Thanks, jhnstcks

 

I tried this 'export products' module. I set the sequence as how I need, I exported it.

by this csv sequence I created a new one and stock.. :D

 

how can I imort csv document created by sequence I created in 'export products'? :huh:

 

and if I have a lot of products (~5000), how would be with CSV uploading?

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

  • 7 months later...

Hi,

 

It's look like product quantity is not anymore available using product table. Field "quantity" is still there but not filled properly.

 

Instead, you have to use stock_management table. See related topic http://www.prestasho...uct-quantities/

 

For previous version (mine is 1.2.4), quantity is in product_attribute table. In order to get total quantity for a product, you have to sum up "quantity" field using all attribute rows related to the product.

 

Also: http://www.tosd.com....ing-attributes/

Edited by Reivax (see edit history)
  • Thanks 1
Link to comment
Share on other sites

×
×
  • Create New...