1

I need 2 custom fields to add in the product description and those fields should be saved in the database and show on front end also. How can I add/edit the product form Magento admin panel?

So, generally, I need just guideline how to add the new custom field in Magento 2 for the entire product. Please guide me or show me some article if you have.

Thank you in advance :)

Mohit Kumar Arora
10.2k7 gold badges29 silver badges57 bronze badges
asked Jun 26, 2017 at 9:55
1
  • For your comment attribute will do the same thing then why you want to show custom field Commented Jun 26, 2017 at 10:27

1 Answer 1

1

You don't need to write code for that, you just need to add attribute,

I think you are very new to magento so here is the tutorial how to add product attribute and how to use it

https://www.mageplaza.com/kb/how-to-create-product-attribute-magento-2.html

for more detail just Google this term create product attribute magento 2

answered Jun 26, 2017 at 10:06
1
  • Thank you for your feedback. Your answer is related to attribute. I do not want to add the attribute. I just want to add a new field that save in database, product detail, listing, shopping cart, add/edit product in admin. So, do you have any guideline? Commented Jun 27, 2017 at 10:59

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.