Adding products with Product builder

After you have registered and configured your shop, the next step towards ecommerce is to generate HTML snippet for your products.

Step 1 - Adding Basket2go scripts

Cut and paste the below code into the <head> section of your html. Remember to replace the b2g_shopid=10 to your actual shop id. This is shown on the top page of the my shop section when you have logon to your account.

<script id="basket2go-script" type="text/javascript" src="http://checkout.basket2go.net/cart.js" shopid="10" ui="1" ></script>

Step 2 - Generate HTML for each of your product

Use the Product Builder below to help you generate your HTML. Alternatively read the article - article title here on how to create your own HTML script

For identifying this product. This has to be unique across all your product range in order for Basket2go to identify all your products
Product name describing this product.
Default quantity to be added to the cart, normally 1
Unit price. Ignore the currenty sign, for example, 49.99.
%
Tax applied to this product, a positive number expressed in percentage (%) e.g. 17.5
Weight of this product expressed in grams 9(g) for calculation of delivery charges based on the your delivery setup
Name assigned to the button, e.g. "Add to cart", "Add to basket"

Step 3 - Copy the HTML code

This is your add-to-cart code based on the data you have entered above. Cut and paste the code into your body section.


You can test this code by clicking on the "Test add to cart" button below to see how the entries is shown in the shopping cart.


Step 4 - Review shopping cart and shopfront components

If you have shop front components configured in your webpage, products added to the shopping cart will also be displayed on your webpage. These information will be updated automatically when items are added to or removed from the cart. Below shows a sample of the shopfront components which could be added to your website. They be will automatically updated when your shopping cart content has changed. Read this article to learn how to add shopfront components to your site.

Shopping cart

Item/Price
items in cart ()

Cart Summary

Register free shopping cart

Seller Login