1

When I create many products I wish to add an automatic quantity value and an automatic "In Stock" value.

enter image description here

1 Answer 1

1
  • What about mass edit after creation?
  • alternative is to change the template app/design/adminhtml/default/default/template/catalog/product/tab/inventory.phtml, might be the easiest way.

If you want to do it right, you implement your own admin theme and copy over the template.

3
  • And if I want to add an automatic quantity value and an automatic "In Stock" value just for user role?
    – phpschool
    Commented Jan 29, 2016 at 13:33
  • You could check in the template but there must be a better way... Commented Jan 29, 2016 at 13:52
  • Yes, example if I want to edit "Status" with an automatic value (enabled), I put $form->addValues(array('status'=> '1')); and it's done. Now I try to add value for Inventory but no result... (www\app\code\local\Mage\Adminhtml\Block\Catalog\Product\Edit\Tab\Attributes.php)
    – phpschool
    Commented Jan 29, 2016 at 14:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.