Sample of Creating Extensions with Widget for Editing and Outputting Additional Information about Product

From osCommerce Wiki
Revision as of 16:27, 25 October 2022 by Admin (talk | contribs) (Created page with "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 rev...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

Image 870.png
Image 869.png
Image 868.png


Click on Generate button and download the archived extension template. Then unpack this zip file in the catalogue /lib/common/extensions.

Image 867.png

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.