eCommerce PRO : Step 3: Front-end Integration
One of our product uniquenesses is that, we made our scripts capable to fit into your own design template. |
||||
![]() |
![]() |
![]() |
![]() |
![]() |
Before | After Integration | |||
Inside the One Admin panel : Preference : Integration Guides, we provide you with the complete integration codes, which you can copy and paste them directly into your web pages. |
1. Create PHP Pages |
In general, you will need to create 2 PHP pages, one page is for publishing your catalog, says store.php; while the other file is for displaying your store site map, e.g. sitemap.php. Apart of this, eCommerce PRO allows you to separate the check out page from catalog, which means you could integrate check out to a different file, says checkout.php. This method facilitates you to apply SSL to the check out URL, if you wish to do so. However, such check out integration is optional, if no separated check out to be done, your check out process will still be run on the store.php. You can put these files in any directory on the server, usually these will be located on the root directory. |
2. Find the Document Path |
You have to add the root path of your One Admin directory (Document Path) to all the include codes. To find the Document Path value, open the /myadmin/config.phpfile with a text editor, and note down the value for $path["docroot"]. Let's assume the Document Path is C:/wwwroot/user/myadmin/ |
3. Integrate Online Store / Catalog |
|
4. Integrate Check Out |
If you would like to separate the Check Out page to a different URL/file, repeat the step 1 to step 4 above by adding all inclusion codes into the checkout.php file. For reference, see `samplecheckout.php` in 'myadmin/ecompro/' folder. |
5. Integrate Store Site Map |
|
6. View Front End |
Click on the 'Front End' link on the menu of the eCommerc PRO's back-end area to view your store front. |
Proceed to Buy Now , Online Demo or Talk to Us