logo

Adding Order Processing to your Website

  Overview |  Demo Page |  User Guide |  Service Terms |  Fees |  Open an Account 
  Home |  Guest Account |  Quick Start |  FAQ |  Glossary |  Updates |  Clients 
 

Our web ordering system is integrated with your web pages by including specific HTML code in these pages that invokes our order scripts. The following illustrations are from our Demonstration Page.

Click here to open a window with the source for the Demonstration Page from which you can copy the needed code. The code highlighted in red is inserted to access the order scripts.

This code should be inserted into each of your web pages that contain orderable items.

javascript

Javascript

The script tag should be added to the head section. This provides access to the order script on our secure server.

The noscript tag should be added at the start of the body section. This will provide your customer with browser-specific information on how to enable JavaScript.

buttons

Order Buttons

Add an Input button for each orderable item. The doItem order script is triggered when the button is clicked. You can also trigger orders from other controls, for example the pictures on the demo page trigger the script in the onmouseup event.
All controls should be contained within the form tags. Each Input button has the following parameters:

  • value - button caption, i.e. Order Now
  • onclick - In the above example substitute:
    • GuitarslingerVideoVHS with a description of the item (alphanumeric characters only)
    • 19.95 with the item selling price (as dollars and cents, a string of digits, two digits after the decimal point, i.e. 19.95 or 20 or 0.95
    • A with a Shipping Category defined in your Shipping Table, optional, no shipping charges are applied if this is left out

You can also include Check Out and Check the status of your order buttons anywhere between the form tags.

The checkout and doItem function calls generate CheckOut entries in your Activity Log
doStatus generates an OrderStatus entry in the log.

Finally, include the Hidden item, it must be named vendor and its value will be the vendor code assigned to your account.


  Overview |  Demo Page |  User Guide |  Service Terms |  Fees |  Open an Account 
PFK Systems, Inc   infocontact@pfksystems.com