Sample of Creating Extensions with Widget for Editing and Outputting Additional Information about Product: Difference between revisions

From osCommerce Wiki
Jump to navigation Jump to search
(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...")
 
m (Protected "Sample of Creating Extensions with Widget for Editing and Outputting Additional Information about Product" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
(No difference)

Revision as of 14:12, 26 October 2022

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.