Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

reset all qty to 0 ?


grumpydasmurf

Recommended Posts

Posted

Anyone got a quick script to reset all product quantity to 0 (zero)?

 

I use a spreadsheet from my suppliers to update my inventory and I use EZ populate to import it. For some reason, either my suppliers fault or EZ populate but my site is showing discontinued items as being in stock. What I want to do is reset all qty to 0 before I run ez populate.

 

I'm wondering if anyone has a script which will do what I am asking already so I can save a few hours writing one.

 

Thanks in advance.

Grumpy

Posted

in phpMyAdmin, sql, type:

update products set products_quantity = 0

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...