Using Platform Config Keys in Extensions

From osCommerce Wiki
Revision as of 19:10, 24 February 2023 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If you create an extention using the extension generator tool ( under General tab fill in the required fields and click on the Next button.

Image 890.png

Under Common tab check Use platform config keys option and click on Next button.

Image 889.png

Under Advanced tab click on Generate button to generate the zip file with the extension.

Image 888.png

If we open the Setup file for this extension we will see that the only difference between platform config keys and config keys is one additional line for platform config keys.

Image 887.png

Then unpack this zip file in the required place and insall this extension from the admin area.

Image 886.png

While installing this extention you can see that the platform settings are applied to this extension and they include the information about the config keys. If there are more than one platform these settings will be applied to each platform separately.

Image 891.png