Sample of Creating Extensions with Widget for Editing and Outputting Additional Information about Product
First of all, refer to the article describing the process of creating an extension and its main parts - Creating Extension from Scratch.
In this article we will review on the sample the process of creating the extension with the widget for editing and outputting the additional information about the product.
Keep in mind that for keeping and displaying the additional information about products, you can use the functionality Properties, that allows to keep, edit and display the structural information about the product.
Creating the extension template.
Click on Generate button and download the archived extension template. Then unpack this zip file in the catalogue /lib/common/extensions.
2. Changing the product table.
We need to add the additional column to the product table while installing the extension and delete this column if the extension is uninstalled with the chosen option Drop extension data tables.