If you are new to CyberOffice eCommerce Suite, you might want to click on the one of the general topics related to CyberOffice Shopping Cart (CyberShop). Click to download a full in-depth development guide. Also included here are online references for CyberOffice Club (CyberClub) and CyberOffice Warehouse Builder (CyberBuild) (their managment has been integrated into Shop Manager). |
||
| Installation | Sample Codes | Sample Page |
| Complete On-site Shop Manager (User Name = Administrator, Password = Password) |
||
| Installation We strongly recommend that you install and test CyberShop under Microsoft Personal Web Server (PWS). PWS comes with Windows 98/NT (Un-install FrontPage 97/98 and re-install it after PWS). Then upload the folders (/_private, /cgi-bin, and /shopping_cart by default) to your Web site. The link to the Shop Manager is [Your site]/Shopping_Cart/Shop_Main.htm. CyberShop relies on an ActiveX component CyberShop.Dll (in /cgi-bin directory). Before it can function Microsoft Active Server Page (ASP) must be enabled and a system administrator must register the component by:
Repeat Steps 2 and 3 for CyberClub.Dll and/or CyberBuild.Dll if the corresponding packages are used in your application. If you are running Windows 2000, please upgrade the underlying database(s) into Access 2000 or SQL Server. Check the event log to fix any permission problems on any DLLs. Contact Us if your ISP prohibits custom components (and we will refer you to reliable ISPs that support CyberShop). Authorize.Net: Real-time payment has been pre-configured and is a few seconds away from activation. Get an account with Authorize.Net first. Then simply fill in the Login name in the Authorization Parameters (under Global/System Settings). VeriSign's Playflow Link and Pro have been fully integrated. Australia users can use eSec (www.aba.net.au) for real-time payment. The software has been pre-configured to work with both Java and SSL versions of their system. Server-side "Settlement Solutions" by Telstra (www.eckit.com) has also been implemented. We also supports many other payment agents. Contact us for more information. |
| Sample Codes Idiot-Proof Coding Add your product information to the Inventory Table under Shop Manager --> Inventory Managaer. Then insert
into a Web page to display the item. Here myproduct is the product reference code. In addtion, use
to display a search box and "view cart" button on any page. Please qualify view_product.asp with a full domain name + folder. Adding Affiliate To track the referal from another site, simply insert
the following code to any page that wishes to
You should qualify "affiliate.asp" with the full domain + path. and modify the "id" variable for each referral site. If you are using an old shopping_cart.mdb database, you need to add "Affiliate" field to both the Customers and the SessionCustomers Tables. This will collect the information. You also need to update the "checkout.asp" page. Manually Coding CyberShop uses a universal HTML form to interface with any shopping pages on your site. When a visitor clicks on the "Add Item" button, the product is added to and displayed in a shopping cart. From there the software takes care of everything for you. 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"> View Cart: <form method="POST" action="view_cart.asp"> <p><input type="image" src="viewcart.gif"> </p> </form> Additional fields can be used for a greater control of the shopping cart / page:
View Order Status / Shipping Fee: The page on which customers can view their order status is view_status.asp. You should put a link to this page on your Web site. Another useful page is view_shippingfee.asp which exposes the shipping-fee settings in CyberShop. Stock Level / Shopping Cart Monitoring: CyberShop lets you monitor in real-time the stock level of your inventory. Typically, you would add your product items to CyberShop via Stock Monitoring. Then you simply call in your HTML pages,
where myproduct is the product reference code. Be sure to qualify "view_stock.asp" with the appropriate domain and path. Special products: "-qty-", "-amount-", "-point-" can be used to return the current contents of the shopping basket. Namely you can insert the following two codes on your shopping pages to display the information (see the sample page),
Tip: More than one fields with the same name can be used in your shopping page. For example, if a shopping item consists of multiple components and each component has multiple choices, you can use a set of HTML <select name="ProductDesc"> tags to accomplish the task. The final value passed to the shopping cart will depend on the customer's choices. |
| Any comments/suggestions? Send to support@smartwin.com.au Last Updated: January 01, 2002 |