All Web Applications In One Streamlined Environment 
Customer Service  |  Site Map
Home
Products
Download
Store
Support

Browse Topics In
Knowledge Base


Back To Top

Installation

Tutorials


Search for Answers
Intelligent FAQ Search. Type in your keywords to search for the answers you need.


Customer Helpdesk
Can't find the answers you need? Go to our Technical Support Helpdesk





Back eCommerce > Installation Showing 2 of 2 Prev


Integrating eCommerce To Your Web Page
Modified on 2004-11-19


  1. One of our product uniqueness is we made our scripts capable to fit into your existing web design.

  2. First, create 3 web pages where you would like to publish your product catalog, customer signup form and transaction checkout page. Save the web page file with .php extension, such as catalog.php, customer.php and checkout.php.

    You can put the file into web root directory or any directory of your choice on the server.

  3. To ensure the eCommerce works regardless the location of your web page, you will need to add your Document Path to all the PHP include codes.

    To find the Document Path, open the /oneadmin/config.php file with your text editor, and note this path down.
     
    Let's assume that the Document Path is '/home/sitename/public_html/oneadmin/'

  4. Now, open the 3 web page files (catalog.php, customer.php and catalog.php) with your text editor.

  5. Before calling the eCommerce scripts, insert the line below into your web page file to call the /oneadmin/config.php. The config.php file will loads all the class libraries and creates database connection.

    <? include_once("/home/sitename/public_html/oneadmin/config.php"); ?>


    Note: This code must be loaded / called prior to other include codes.You may put it anywhere on the web page file, making sure that it is located above the other include lines.

  6. Next, in the HTML code of your menu area, put the lines below to call the Product Categories and Customer Login Form.

    <? include("/home/sitename/public_html/oneadmin/eccatalog/home.category.php");?>
    <? include("/home/sitename/public_html/oneadmin/eccustomer/home.login.php");?>

  7. To display the product catalog in the catalog.php file, put the line below

    <? include("/home/sitename/public_html/oneadmin/photogallery/home.gallery.php"); ?>

  8. To display the customer login form in the customer.php file, put the line below

    <? include("/home/sitename/public_html/oneadmin/eccustomer/home.customer.php"); ?>

  9. To display the transaction checkout body in the checkout.php file, put the line below

    <? include("/home/sitename/public_html/oneadmin/ectransaction/home.checkout.php"); ?>

  10. Save all your web page files.

  11. Navigate to your catalog page, eg: http://your-domain-name/catalog.php to view the your product catalog.

    We recommend that you place your codes on a hidden web page to test before placing them on a public page.

    If you need more references on code plug-in guidelines, you may open the /oneadmin/sampleeccatalog.php, sampleeccustomer.php and sampleectransact.php files with your text editor. Browse to the sample web page, for said http://your-domain-name/oneadmin/sampleeccatalog.php will enable you to preview your eCommerce system in real time.

    Note: Substitute the path in green to your Document Path (the complete path to your /oneadmin directory).



Is this FAQ helpful? Ratings : Not rated
Printer Friendly Version
Tell A Friend


Related FAQs In This Category
Integrating eCommerce To Your Web Page
Installing The eCommerce 3.0




Quick Links
Support Helpdesk
Knowledge Base
Product Activation
Installation Support


More Information
Purchase & Delivery
Pricing Information
Payment Methods
Refund Policy
License Agreement
Privacy Policy

Copyright © 2004 by Comdev Software Sdn Bhd. All Rights Reserved. License Agreement Privacy Policy