This is the beta version of the osc2pragmaMx module. It was transfered for the use with pragmaMx by Peter Stein from BdMdesigN&AlternativeComputing.

The praject page you can find here:http://pragmamx-demo.alternative-computing.com/
The module was testet only under the latest version of the pragmaMx CMS (0.1.11). No warrantys for the use with older versions.

osc2pragmaMx Beta is based on the osc2nuke module. It use the osCommerce 2.2-MS2-RC1 online shop written by Harald Ponce de Leon@www.oscommerce.com

For more informations take a look at: http://www.oscommerce.com/about/news,127

This pragram is free software. You can share and / or change it under the licence of the GNU General Public License 
#  as published by the Free Software Foundation, either version 2 of the License.

####################################################################################

First expand the archive file to your computer. It looks like done, because you reed these file.

#####################################################################################

1.)
Now make the following steps:
Start your favorite FTP grogram and log in. 

Go to the root directry of your pragmaMx installation.
Open the mainfile.php with an editor of your choise.
Search at the end of the file for:
?>
and fit in the following lines before the "?>":
/*****************************************************/
/* Module - osCommerce 2.2-MS2  Fix   START */
/*****************************************************/

if (file_exists("includes/custom_files/custom_mainfile.php")) {
    @include_once("includes/custom_files/custom_mainfile.php");
}

/*****************************************************/
/* Module - osCommerce 2.2-MS2  Fix      END */
/*****************************************************/

Save the file!

2.)
Go to your pragmaMx database. You can use PHPmyAdmin for example.
Then import the "catalog_demo.sql", if you like to have some examples. 
You can also import the "catalog_empty.sql",if you wanna have an empty database.

3.)
Start your favorite FTP program again.
Go to the root directory of the pragmaMx installation.
Load up the files from the HTML folder (not the whole folder) into the root directory. 

Tip: If you like to change the name of the shop (default is Online Shop) , you can do it before you upload the files to the server. Open the file "HTML/admin/language/english.php" and go to the line 1152. You can also change the name later.
########################################################################################
IMPORTANT:
Please read the topic in the oscommerce forum: http://forums.oscommerce.de/index.php?showtopic=70425

#############################################################################################

The end



