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
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.
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" />
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.