How to Make Add-Ons for osCommerce

In addition to its basic functionality, osCommerce can be expanded with add-ons. Written in PHP, osCommerce add-ons can add a theoretically limitless array of functions to the platform. There are two steps to make an osCommerce add-on work: creating the add-on code and installing it into the program. Naturally, you need to know how to code PHP to write an add-on (though there are plenty of pre-written ones to download online if you don’t).

Instructions

    • 1

      Open Notepad from your Start menu. If you are using an existing add-on, ignore this and skip to step 5.

    • 2

      Write the add-on using PHP code. All osCommerce add-ons, no matter what they do, run using basic PHP, so a working knowledge of how to write PHP is naturally required.

    • 3

      Select “Save As” from the file menu.

    • 4

      Title the add-on anything you want. Replace “.txt” at the end of the file name with “.php”. Save it in the osCommerce folder (Program Files -> osCommerce) and quit Notepad.

    • 5

      Drag and drop the PHP file onto the osCommerce icon in the same folder. This will install the add-on in osCommerce and open the program. Note that you cannot delete the PHP file though, since even once installed, the add-on runs off that code.

Related Searches:

References

Comments

Related Ads

Featured