Ãœbercart as a module package uses a consistent file structure for various types of files. Use this section of the reference guide as a starting point for making your contributions to Ãœbercart. If the type of file you're looking for isn't in here, please let us know in the forums and we'll patch the hole as soon as possible. In the meantime you can reference a file of similar type from our modules to see what the basic file structure is like.
When writing code, please keep in mind the coding standards found here: http://www.ubercart.org/docs/developer/238/coding_standards
Your PHP files should not have closing PHP tags (the ?>). These are only included on the pages so the code filter works properly. When you're creating your files, please remove the block comments that are there for explanation purposes. For example, on the country import file you would change:
* First implement hook_install() using the name of the country as the base of the
* function name.
* Implementation of hook_install().
or just remove it completely. This will help keep file sizes down!