Quick start guide
This article discusses the basic features to enable a website to start selling products online. After reading this article, you should be able to implement add-to--cart to your website. Instructions for further customisation of product is contained in the article: Shopping cart integration guide. Additionally, you can also use the product builder to help you generate the script.
1. Configure your shop
First, login to www.basket2go.net with your account username and password. Configure your shop setting, payment gateway and delivery options.
2. Add Basket2go script
Add the following script into your <head> tag to any webpages selling products. Alternatively, you can also add it once within your html body (<body>) tag.
...
<script id="basket2go-script" type="text/javascript" src="http://checkout.basket2go.net/cart.js" shopid="your-shop-id" ui="1" ></script>
...
</head>
Remember to replace your-shop-id with your own shop id.
3. Add product form for every product
Cut and paste the form script for every product.
<input type="hidden" name="productname" value="Basket2go T-shirt" />
<input type="hidden" name="productprice" value="10.00" />
<input type="hidden" name="quantity" value="1" />
<input type="hidden" name="weight" value="50" />
<input type="submit" name="Add" value="Add to cart" />
</form>
This will add a "Add to cart" form button which enable the product to be submitted to the shopping cart when clicked. Do not add any currency symbol for the productprice field. The trading currency is specified in Basket2go Merchant Area. The weight assume a unit in gram. This is used to calculate the delivery price which is configured through the Merchant Area in the same weight unit. You can also use your own custom image instead of the "Add to cart" button.
4. Add "View Basket" link
Place "view basket" links to enable your shoppers to call up their shopping carts to review their orders and proceed to the checkout. This can be implemented in the few ways - as a text link:
or as an image button:
5. Start selling ...
That is it! You have just integrated your website to the shopping cart.
Once you are familiar with the basic setup, don't stop here; you would like to consider extending more functionality by offering more sophicated product options , or decorating your website with shopfront components.



