A bulk stock updater module for Ubercart
(1 minute read)
On a recent Drupal project I was asked to build an interface whereby administrators could easily bulk-edit the stock levels for all their Ubercart products. I had a look on the web for something which already did this. I found Multiple stock edit - which only really worked with Ubercart 1.x and Drupal 5 (not to mention that it used the standard Drupal form submission mechanism, thus making it difficult to quickly bulk-edit large numbers of items). Stock and Price updater only worked by importing CSV files. And Views Bulk Operations would only let you set the stock level to the same value across a range of products.
I think there is scope for extending this module to allow bulk-editing of prices and perhaps other product attributes too. The AJAX-powered updating really does speed things up compared to normal form submissions.
Finally, I'm especially pleased as it's my first published module on Drupal.org :)