eGLOBE Home Site

CyberOffice Shopping Cart
© eGLOBE/SmartWin, 1997-2000
For Microsoft IIS-based Web Servers (Windows 9x/NT)
Web Site: http://www.elgobe.com.au

Installation Sample Codes Sample Page

Complete On-site Shop Manager
User Name = Administrator, Password = Password

(Click on Purchase & Registration from there to license)

Complete Online References

An all-in-one shopping cart system providing a universal hook to all shopping pages on your Web site. Runs with all IIS-4 based Web servers under Windows 95, 98, NT 4.0, NT 2000. Customizable via MS FrontPage and the built-in on-site Shop Manager. Support MS SQL Server 6.5/7.0. Features cover auto emails, online status check, real-time credit card processing via Authorize.Net, VeriSign and other agents, auto shipping fees and state taxes, plus comprehensive multiple user shop management system. Live voice-over-IP technical support.

Latest edition includes: Batch email, update, delete, CSV file export, integrated coupon system dedicated to online promotion, Tax Exempt On/Off for import taxes, real-time inventory monitoring and finally interface to CyberOffice Warehouse Builder. Custom message editor, universal language support, and paid online download.

Just Added: Expanded inventory manager to include product details database. One-line coding to display products on any page.

Installation

CyberOffice Shopping Cart is implemented using the Active Server Page, ActiveX component and ODBC (Open Database Connectivity) technologies specific to Microsoft Windows NT platform, including SSL support. The software does not run directly under UNIX systems. In this case, the shopping cart can be installed on a secondary IIS server while providing the same set of functions to the main server. SmartWin Technology offers service to host such a secondary server with a very low setup and ongoing fees.

It is recommended that you install the shopping cart on a local PC running Microsoft Personal Web Server (which comes free with Windows 98/NT). Then copy the resulting folders (/_private, /cgi-bin, and /shopping_cart by default) to your Web site. You may set a link pointing to your shop manager at /Shopping_Cart/Shop_Main.htm.

All the shopping cart logic is built into an ActiveX component called CyberShop.Dll (residing in the /cgi-bin directory). Your Web site administrator or ISP must register this component by

Open: VB5_run.htm with Internet Explorer
Run: Regsvr32.Exe [physical path]\CyberShop.Dll

once on the server (with the right NT system permission) and assign Execution Permission to it. The first action will download VB5 runtime libraries directly from Microsoft Web site.

Alternatively, your ISP can simply run CyberShop.Exe once on their computer to properly initialize the settings. Contact SmartWin Technology for other solutions if your ISP does not allow the proper registration of the component.

You Web site must have rights to run own CGI scripts and to use Databases. First of all, your Web server must support ASP. To verify it, change the current page from "default.htm" to "default.asp" then call it from your site. Talk to your ISP or system administrator if you did not see exactly the same contents. Next, make sure that /_private is hidden from browsing as it holds the shopping orders. You can set this by FrontPage Explorer or other means. /_private must also have Full Control permission for IUSR_XXX and Everyone so that shopping orders can be stored.

If you are running Windows 2000, you must upgrade the underlying database into Access 2000 or SQL Server 7. Check the event log to fix any permission problems on any DLLs.

You may move the database(s) from /_private to /fpdb folder, then change the DBQ field in config.asp.

All the shopping cart related pages may be customized to suit your own need. However, doing so with extreme care and at your own risk. It is recommended that you use the built-in customization facility provided by the Shop Manager to achieve the same goal.

Authorize.Net: Real-time credit card processing via Authorize.Net has been pre-configured and is a few seconds away from activation. It is compatible with both Authorize.Net version 2.5 and 3.0. Once you get the account (typically a setup fee plus small on-going monthly and per-transaction fees), simply fill in your Login name in the Authorization Parameters under the Global/System Settings menu.  Contact SmartWin Technology for technical assistance. Another prominent gateway that has been integrated is VeriSign's Payflow Link & Playflow Pro.

Australia users can use ABA (now eSec) (www.aba.net.au) for real-time card processing. The software has been pre-configured to work with both Java and SSL versions of their system. Telstra's Settlement Solutions is also implmented. Contact SmartWin Technology for more information.

Custom Gateway Interface is available. Sample implementations distributed with CyberShop include
Signio/VeriSign's Payflow Pro (signio.asp), Network Commerce's PCCharge (gosoft.asp) and Telstra's Settlement Solutions (telstra.asp)

Back-to-Top
Sample Codes

Idiot-Proof Coding

Add your product information to the Inventory Table under Shop Manager --> Inventory Managaer. Then insert

<script src="view_product.asp?ProductID=myproduct"></script>

into a Web page to display the item. Here myproduct is the product reference code. In addtion, use

<script src="view_stock.asp?ProductID=-search-"></script>
<script src="view_stock.asp?ProductID=-viewcart-"></script>

to display a search box and "view cart" button on any page.

Please qualify view_product.asp with a full domain name + folder.

Manually Coding

Add a few lines of HTML codes either manually or programmatically to any Web pages whenever there are shopping items. When a visitor clicks on the "Add Item" button, the product is added to and displayed in a shopping cart. From there the software does everything for you.

Here are the codes that can be inserted into any Web pages on your site. There are only one type of calls to the Shopping cart, with or without shopping items. When a shopping item is present, it is added to the shopping cart. Otherwise it simply displays the cart. There are five basic attributes for each shopping item:

ProductID, ProductType, ProductDesc, Quantity, Price

You need simply to fill in the "values" as illustrated below:

Add Item

<form method="POST" action="view_cart.asp">

<input type="hidden" name="ProductID" value="SW-CLOTH-010">
<input type="hidden" name="ProductType" value="CLOTH">
<
input type="hidden" name="ProductDesc" value="LINEA ESTIVA JACKET SIZE: M">
<
input type="hidden" name="Quantity" value="1">
<
input type="hidden" name="Price" value="35.00">
<
input type="hidden" name="DestEmail" value="ychen@bigpond.com">

<p><input type="image" src="additem.gif"> </p>

</form>

View Cart:

<form method="POST" action="view_cart.asp">

<p><input type="image" src="viewcart.gif"> </p>

</form>

Available fields:

ProductID, ProductType, ProductDesc, Price, TaxRate, Quantity, BaseQuantity,  PriceUnit,  Background, BgColor, DestEmail, Coupon, GoBack, Download

Visit SmartWin Technology Web Site or contact SmartWin Technology through the Live Support system for more sophisticated programming issues.

Back-to-Top

  Last Updated: November 15, 2000

© 1997-2000 SmartWin Technology. All rights reserved.