Attached is a patch for adding input fields to the Bulk Stock Updater form for updating the stock for a given SKU in a given location. A location is defined by the UberPOS Multiple Locations module. If the presence of this module is detected, the extra fields get added to the bulk updater form. If this module is not present, nothing happens.

Would it be possible to incorporate these changes into the main Bulk Stock Updater so that I can install newer versions of the Bulk Stock Updater module without overwriting our own modifications?

Thanks in advance,

-- Matthijs

(I've attached both the patch and the complete modified file as I wasn't sure how to create a patch file in such a way that it would be useful to you. This way you can at least see what has been changed).

Comments

rhmtts’s picture

Assigned: rhmtts » Unassigned
ludde_t’s picture

Change line 114 of the patched file to

array('data' => "<span id='$filter_val'>$stock->sku</span>"),

from

array('data' => "<span>&nbsp;</span>"),

to get the multi location fields to show even when filtering the results.

ludde_t’s picture

StatusFileSize
new5.15 KB

Updated patch

sokrplare’s picture

You're my hero!