To create a custom product tab we will use the following hooks: displayAdminProductsExtra and actionProductUpdate.
- displayAdminProductsExtra is required to output content into the tab, such as, for instance, a form to load images or some personal custom fields etc.
- actionProductUpdate – is called when the product is changed, so at this moment we can fetch data from our tab and process it.
In this article we will create a sample module Belvg_Sample to serve as an example for how to create a custom tab and output its content for a product page. You can download the ready-made module at the end of the article. (more…)