Build Your Own Online Store In Blogger Blogs
As everyone knows that the Blogger is an online service provided by Google to publish the web-pages free of any cost. Blogger blogs are used to provide online journals, Web Portals, Web Gallery and online magazine.etc. These blogs are not only used for these tasks but also to make money online using different programs like
- Google Adsense
- Commission Junction
- Click Bank
- Affiliates Program
- Private Ads
I believe Blogspot is a easy and powerful platform . It can do whatever other platform can do . In WordPress ,with plugins ,you can make a shop online . And now ,in Blogspot ,you can do the same . You can make a small online shop for selling good . It’s not a perfect solution ,in fact, it’s not good at processing and security .But anyway ,it’s still the solution you should consider if you want to stick with Blogspot .
Yesterday ,I found the script called SimpleCart . This script is based on Ajax for making a complete shopping cart ,using two payment method Google checkout and Paypal for check out .
You can find out more information on SimpleCart at This page
To make a shop like this ,you can follow some step bellow :
Download file here
3,Save template . And see the widget in action .
How to customize this code
1,Take a look on this code :
simpleCart.email = “email@example.com”;
simpleCart.checkoutTo = PayPal;
simpleCart.cartHeaders = [ "name", "thumb_image" , "Quantity_input" , "increment", "decrement", "Total" ];
simpleCart.checkoutTo = PayPal; mean the payment method is paypal
simpleCart.email = “firstname.lastname@example.org”; is the Paypal email for making payment to .Change it to your own .
2,Here is the code of one item in my live demo shop :
<!–Notice the class names of each tag begin with item_ –>
<img src=”http://i604.photobucket.com/albums/tt130/metalner/simplexshop/attack-release.png” alt=”product 1″ title=”product 1″/>
To create a shelf item, you create a div with a class of simpleCart_shelfItem
To create a shelf item, you create a div with a class of “simpleCart_shelfItem” ,like this <div>
this structure : <img src=”item_image” alt=”product 1″ title=”product 1″/>
is for image of item . Image of item must contain class=”item_image” attribute .
This structure <h5>your_item_name</h5> is name of item . It must included class=”item_name” .
Description of item must included like this
To set the price ,use this structure :
To make ” add to cart link” ,add this line
To add thumbnail image for item ( thumbnail image will be showed in shopping cart ) ,use this structure :
Here is the code of cart :
<!–Add a div with the class of simpleCart_items to display what is in the user’s cart–>
<!–use a class of simpleCart_empty to empty the cart and simpleCart_checkout to checkout –>
to show the total ,use this statement :
to show shopping cart ,use this statement
To show “empty cart” and “checkout” button ,use this statement :
In this post ,I explained some important points of using Simplecart and make it a widget to add to Blogspot . If you want to customize the appearance of the shop ,you can modify the CSS section of widget .
If you want to know more about Simple Cart script and its other options such as tax rate ,shipping fee … or option for showing the quantity ,the final cost …
You can go to SimpleCart Documentation page