I have added various input fields to a tab in the edit product page in the admin area, e.g.

<input type="text" name="my_field"/>

I have an observer and I can get the post fields.

$post = $this->_request->getPostValue();

I can see all the regular magento fields, but I cannot see the fields I added myself. How do get my custom fields to post data?


1 Answer 1


I seem to have figured this one out. I added this to the input fields:


Now I can find my data in the post variables!

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.