WebFarm-Shop 2.0 - Example Products


Start making your product pages
Lets start making some product pages. The following outlines what is required and other important information. Please read this page before making your product pages.
Common settings
Links to required files
WebFarm-Shop 2.0 has 3 main files that need to be linked to in order for it to run properly.
  • The 'add product page' (addprod.mv)
  • The 'view basket page' (viewbasket.mv)
  • The 'checkout and pay page' (checkout.mv)
All form actions from your product pages will be: '/WFShop2/addprod.mv'

To provide a way for the customer to check/update and remove the contents of their shopping basket,
provide a link to this page: '/WFShop2/viewbasket.mv' This link can be on any page from within your site.

To provide a way for the customer to checkout/pay and complete the order,
provide a link to this page: '/WFShop2/checkout.mv' This link can be on any page from within your site.
 
Required variables
WebFarm-Shop 2.0 requires each product to post at least 4 variables in order to add the product to the shopping basket. These variables are:
  • 'prod_code' (a code for the product)
  • 'prod_name' (the products name)
  • 'prod_price' (the price of the product, ie 10.00 'no $ sign')
  • 'prod_quant' (the quantity required, usually set to '1')
All these variables are posted in with the form, they can be hidden forms/select and or check boxes, it's up to you. See below for examples.
Example Products
Copy the code in the boxes below and paste it into your HTML software and start making some product pages. Take your time.
Basic single item:
Very basic single item product.

Click the button below to test, or copy the code above and paste into your HTML software.

Basic item quantity select:
Very basic single item product with an option to select a quantity.

Click the button below to test, or copy the code above and paste into your HTML software.



WebFarm-Shop 2.0. Copyright © 1999 - 2010 WebFarm Ltd, Revision v4.4.5