Multiple stock edit

Issue tracker: view

Contrib type: 
Module
Status: 
Uploaded for testing
Compatibility: 
Ubercart 1.x
Latest version: 
5.x-1.3

Dependencies: uc_product, uc_stock

If your products are also sold in a physical shop keeping stock numbers updated is a practical not solvable challenge. As an enhancement of uc_stock.module (and heavily based on it - thanks Ryan!) this module offers you a multiple edit page at http://your.domain.com/admin/store/multiedits/stockedit where you can:

  • Edit your stock and threshold numbers of 30 products plus - if there are some - Attributes with one save
  • To get stock numbers saved you have to check "active"! (If you uncheck it the values are deleted - like in uc_stock.module)
  • Publish / unpublish your products
  • Make them sticky
  • The displayed SKU has the link to the edit page
  • The Title has the link to the node

What else you should know?

  • Before update/insert the old values are checked (they are posted as hidden values), so database changes are just triggered if there is really something to do
  • Products are ordered by sku
  • Translation could be a bit tricky if you are not used to the way how things are working, so search in /admin/settings/locale/string/search for:
    "@product_sku was @status. Special offer status is: @sticky"

    "sticky", "not sticky", "published" you already should have translated, probably missing is "unpublished".

Version 5.x-1.0:

  • minor code beautifications
  • You can control now which page shall be reloaded - works great!
  • Attributes: the main sku is not editable anymore. Instead is calculated how much items have all attributes together.
  • Product Kits: Same issue like above, just the lowest number of the sub products is counted

The last two points are the reason why I set the status to "Uploaded for testing" - I would really like to hear opinions about this. So this is some work for everybody who can't go to Szeged.

AttachmentSize
uc_stockedit-dev.tar.gz3.65 KB
uc_stockedit-5.x-1.0.tar.gz6.63 KB