Magento – Magento 2 : Catalog Product save after Observer Event

admincatalogevent-observermagento2product

I have a custom multiselect field in Products edit section.

enter image description here
The values in the multiselect values from my custom table. If I click on the save button in Manage Products section by selecting any one value. The changes need to be saved into my table. How can I do it with Observer.

Best Answer

Follow this link for the event catalog_product_save_after to save your value. You can get your value in observer file and initiate your model object and save value in your table or use direct SQL queries to save in your table.

Related Topic