PHP-Nuke Modules: Shopping Cart
For the purpose of this tutorial we are going to install CallowaysCart shopping cart, which is available free of charge for download at the CallowaysCart website.
Please note that the above shopping cart is not compatible with MySQL5, but it works flawlessly with MySLQ4.
In order to install the cart, please visit the above URL and download the script to your local computer. Extract the archive files that are inside the scripts.zip file and then extract the Calloway's_Cart_Pro_v.2.1b.zip archive. This will create a new directory Calloway's_Cart_Pro_v.2.1b with several files and directories under it.
Please, open your favorite FTP client, connect via FTP to your web hosting account and navigate to the directory where phpNuke is installed. Then upload all the files and directories found under the Calloway's_Cart_Pro_v.2.1b directory into your phpNuke home directory.
Once the files are uploaded successfully, we should proceed with the installation. Please, visit http://www.yourdomainname.com/path2phpnuke/ccinstall.php, where 'yourdomainname.com' is replaced with your real domain name and path2phpnuke with the real path to the application.
Now that we have the database created, we should populate and update the content in it - go to your administration section and click on the newly created CCart_Pro icon. Scroll down a little and click on "Main CCart Settings" which will lead you to the main configuration screen for the shopping cart. To update the database, locate 'Click to upgrade your MYSQL Tables to version 2.0b Pro' link and follow it. It should say 'Good News..', which means everything was completed successfully and now you will be able to use the cart fully.
Go back to the configuration panel and finish the rest of the configuration form:
Remember to delete ccinstall.php and cc_update_2.0b.php in your root folder when you are done.
Go to your Paypal account and activate IPN under Profile at the top of Paypal. To do so go to http://www.yourdomainname.com/ipn.php - the URL in the ipn box in paypal (Replace yourdomainname.com with your actual one). Now go to ipn.php in your root folder and edit your message to your customer(s) after they place an order. You will see it commented.
That's it! Well done!