Open gl636474 opened 4 years ago
To submit several values of a row in a grid: https://stackoverflow.com/questions/5728842/magento-admin-grid-sending-data-from-action-to-controller
See Menu->Catalog->Manage Categories->Category Products Tab. Save button will submit all editable fields. This calls categorySubmit() which is defined in: app/design/adminhtml/default/default/template/catalog/category/edit/form.phtml
.
This does not seem to call saveAction() or editAction() in the controller: app/code/core/Mage/Adminhtml/controllers/Catalog/CategoryController.php
.
The block app/code/core/Mage/Adminhtml/Block/Catalog/Category/Edit/Form.php
does not appear to do anything funky either.
Next to "Reduce by 1" button, add a textbox and button to set the stock level to a specified amount. Prefill this textbox with current stock level.