Blogger Hacks

PayPal Donation Button Widget - Make Money-How to add Paypal Donation widget to Blogger?

Here is a great way for your readers to reward you for all the hard work and effort you've put into your blog. A PayPal Donation button wi...

26 May 2011 | 0 comments | Read more

Get 700+ Backlinks For Free / Free Backlinks Generator

Instructions1: Please Turn Off Your Popup Blocker2: Enter your website address in the box above with (No http:// or www. )3: A list of...

26 May 2011 | 0 comments | Read more

How To Add Author Bio Box to Your Blogger Below Every Blogger Post

1.Login to your blogger dashboard--> Desing- -> Edit HTML2.Scroll down to where you see ]]></b:skin> tag .3.Copy below code ...

26 May 2011 | 0 comments | Read more
Premium Blogger Templates

Orkut Blogger 3 column Template

Preview This Template | Download This TemplateOrkut Blogger Template is the well designed Orkut Template for Blogspot users . It is a three...

10 Jun 2011 | 0 comments| Read more

Free Simplex Enews (Renew Version) Blogger Template

 Free Simplex Enews (Renew Version) Blogger Template is a great and profesional design magazine style blogger template for news style...

09 Jun 2011 | 0 comments| Read more

Binder Blogger Template

Free Binder blogger template is a nice and clean magazine style blogger template adapted from CSS Template to Blogger Template. Features of...

09 Jun 2011 | 0 comments| Read more

Stylish Blogger Template

Free Stylish Blogger Template is a nice and clean blogger template adapted from WordPress Theme to Blogger Template for fashion new blog wi...

09 Jun 2011 | 0 comments| Read more

Photo Gallery Dark Blogger Template

Free Photo Gallery Dark Blogger Template is a another clone of Photo Gallery Woody blogger template with dark background. Features of this...

09 Jun 2011 | 0 comments| Read more

Premium Downloads

Free Premiuim Wordpress Themes

mtvXpress Wordpress Theme Download Converted for Blogger

MtvXpress Wordpress Theme Download Converted for BloggerDEMO - DOWNLOAD ...

30 Apr 2011 | 0 comments| Read more

MeTube Youtube Clone Wordpress theme Download.

DEMO - DOWNLOADMeTube Youtube Clone...

30 Apr 2011 | 0 comments| Read more

Yamidoo PRO Magazine-Paid Wordpress Theme

Yamidoo PRO Magazine-Paid Wordpress ThemeVisit Info Visit Demo ...

16 Apr 2011 | 0 comments| Read more

Maggo Magazine-Premium Wordpress theme converted for Blogger

Maggo Magazine-Premium Wordpress theme converted for BloggerDemo | Download...

16 Apr 2011 | 0 comments| Read more
Blogger Widget

Latest Most Important 5 Blogger Updates

I’m so exciting to write this post because we missed some important updates that blogger team made to blogger platform, and i can’t just ke...

18 Jun 2011 | 0 comments| Read more

Recent Posts Widget for Blogger

How to add the Recent Posts Widget for Blogger?1.Click on the Add to Blogger Button below2.Fill in the details. Provide your Blog url and t...

16 Apr 2011 | 0 comments| Read more

Top Commentators Widget for Blogger / Blogspot with Advanced Features

Blogger has always lacked a Top Commentators Widget which would encourage the readers to leave useful comments on your blog. This blogger ...

16 Apr 2011 | 0 comments| Read more

Blog Translation Widget for Blogger / Blogspot

You must have seen a lot of "Translate This Blog" Widgets on other wordpress and blogger blogs.So i thought of making a once click install...

16 Apr 2011 | 0 comments| Read more

Add Vertical CSS Menus in Blogger

After giving tutorial on "How to Add Menu Widget in Blogger - Horizontal Menus", today we will see how you can add Vertical CSS Menus in y...

16 Apr 2011 | 0 comments| Read more
WordPress Hacks

WordPress Plugin: Regenerate Thumbnails

Few days ago i talked about the WordPress Plugin called “Generate Post Thumbnails” which enables you to generate thumbnail for any post tak...

05 Feb 2011 | Read more
Blogger Tips

PayPal Donation Button Widget - Make Money-How to add Paypal Donation widget to Blogger?

Here is a great way for your readers to reward you for all the hard work and effort you've put into your blog. A PayPal Donation button wi...

26 May 2011 | Read more
AndroidOS

Most Expensive iPhone 4 with Diamond and Gold

Last year, we’ve posted the simple most expensive iPhone and this time, we’re revealing the world’s most expensive iPhone 4′s. Both these i...

31 Jul 2010 | Read more
Gabfire Themes

NewsPro MagazineNewPro Magazine is a multipurpose WordPress theme that suits for anyone running a news or magazine style website.The NewsP...

16 Apr 2011 | Read more
Internet Tips

Top 10 Online Survey Sites That Actually Pay

For some people “Online Survey” is a smart ways to make money online and for some it is a nightmare. Yes it can be a nightmare if you are...

26 May 2011 | Read more
Facebook Hacks

10 Useful Code Tricks for Business Facebook Fan pages

Facebook Pages are among the best ways to promote your product using the Social media. You can drive lots of visitors to y...

05 Feb 2011 | Read more
Tech Nwz

iGUGU InterneTV works as promised in its strange little niche (hands-on) By Ben Bowers

The first time we laid eyes on iGUGU's InterneTV marketing materials, we sensed something was strange in the neighborhood. After seein...

13 Jan 2011 | Read more
Apple Inc.

Possible iPod touch LCD and digitizer assembly compared to older gen, iPhone 4 (video)

Look who's back. The LCD plus digitizer combo that we first laid eyes on last month seems to have leaked out again, still claiming it'll be...

25 Aug 2010 | Read more

Blogger Updates

Sunday, May 22, 2011

Ebay Eshop Clone Blogger Template- Blogger template for shopping cart/ecommerce

Ebay Eshop Clone Blogger Template- Blogger template for shopping cart/ecommerce:-

Some of you asked me for Ecommerce /shopping cart in Blogger platform . My result is template EbayEshop .This is a test template and need more time to finish because every shop has its own options in shipping/tax rate/price/promotion  ,and fill all needs with only Javascript is an impossible mission . But I want to show it here to get your feedback and hope I can make it better.


Live Demo | Download

1,Download the template file .

2,Open template file in a word editor .

3, To make a menu navigation


Find this code
<ul id="nav">   
                     <li><a href="http://simplexeshop.blogspot.com">Home</a></li>
                     <li><a href="http://simplexeshop.blogspot.com/search/label/shop">Store</a>
                          <ul class="children">
                             <li><a href="">Category</a></li>
                               <li><a href="">Category</a></li>
                         </ul>
                     </li>
                     <li><a href="http://simplexeshop.blogspot.com/search/label/blog">Blog</a></li>                 
                 </ul>
Add link to your categories like my other template . You can see on Simplex Enews or Simplex Transcript for more about this multi-level menu .

4,Basic Shop Setting
This template was built based on SimpleCart solution (Simplecartjs.com ) , what I did only integrated Simplecart to a blogger template . So all options /setting for shop ,you can see in simplecart documentation .

a,Payment method 
This Template support two payment methods : Paypal and Google Checkout . Default is Paypal ,and it was set in these line :

simpleCart.email = "brett@wojodesign.com";
simpleCart.checkoutTo = PayPal;


If you want to use Paypal ,you can replace brett@wojodesign.com to your paypal email .
If you want to use Google Checkout ,you can replace two lines above with

simpleCart.merchantId = "111111111111111";
simpleCart.checkoutTo = GoogleCheckout;

Change 111111111111111 to your Google Checkout merchant ID .

b,Currency

This template support GBP,USD ,and EUR . Default is USD and it was set in this line

simpleCart.currency = USD;

if you want to change the currency ,you can change USD in the line above (marked in bold) to GBP or EUR .

c,Tax rate

The default tax rate was set in this line

simpleCart.taxRate  = 0.08;

You can change the value from 0.08 to another rate . If you don't want to add the tax rate ,you can delete this line

d,Shipping

There are many ways to calculating the shipping cost for an order :
-Add a flat rate to the entire order .This is the default method in template and it was set in this line

simpleCart.shippingFlatRate = 5.25;

(an amount 5.25 shipping cost will be added to the entire order )
You can change 5.25 to the value you want .

-Add a shipping cost to every item in the cart : if you want to use this method ,you can delete simpleCart.shippingFlatRate = 5.25;
and use this line
simpleCart.shippingQuantityRate = 3.00;
This line will add an amount 3.00 to every item in the cart .Of course ,you can change 3.00 to other value .

-Add a shipping cost as percentage of total cost : to use this method ,you can delete the default simpleCart.shippingFlatRate = 5.25;
and use this :
simpleCart.shippingTotalRate = 0.05;

This line will add a shipping cost as 5% to the total cost .You can change this rate to another value .

If you require some advanced calculations for shipping, you can delete the default line and use the prototype object for CartItems:

CartItem.prototype.shipping=function(){
// we are using a 'size' field to calculate the shipping,
// so we first make sure the item has a size
if(this.size){
if( this.size == 'small' ){
return this.quantity*5.00;
} else if( this.size == 'large') {
return this.quantity*7.50;
} else {
return this.quantity*10.00;
}
} else {
// use a default of $2.00 per item if there is no 'size' field
return this.quantity*2.00;
}
}

The 'this' here refers to the item, and we are using a 'size' field and the item 'quantity' to calculate the shipping. Because an item may or may not have a size, we check to make sure it does with the 'if(this.size)'. If there is a size field, we use a different rate for each size and return a value based on the item quantity. Otherwise, we use a base rate of 2.00. simpleCart(js) will use the global shipping rates, and then add the shipping value for each item in the cart.


5,When you finish editing ,upload template to Blogger . Go to Dashboard ->Design ->Page elements

6,To add logo

click on logo widget

add logo as this image bellow

7,There are many places that you can add your own widget . For example ,you can add link list widget for making category menu ,subscription widget ,page list widget ...

8,That's all for install this template .

How to use this template

It's a little bit difficult when using this template .

To post product to shop : Go to Dashboard -> Posting -> New Post .Click on Edit HTML and made a post with this structure
<div id="description">
<img src="image url goes here">
<img src="image url goes here">
<img src="image url goes here">

PRODUCT INFORMATION..........
........................

</div>
<div class="simpleCart_shelfItem">
<span class="item_name">item name ...</span>
Price : <span class="item_price">price .........</span>
Quatity : <input class="item_quantity" type="text" value="1" />
<a href="javascript:;" class="item_add" title="Add to Cart">Add to Cart</a>
 </div>

In structure above , this is the product information section :
<div id="description">
<img src="image url goes here">
<img src="image url goes here">
<img src="image url goes here">

PRODUCT INFORMATION GOES HERE..........
........................

</div>

you can add image by using <img src="image url goes here"> and add product description bellow (in the text product information goes here )
After the product information section ,we move to add to cart section :

<div class="simpleCart_shelfItem">
<span class="item_name">item name ...</span>
Price : <span class="item_price">price .........</span>
Quatity : <input class="item_quantity" type="text" value="1" />
<a href="javascript:;" class="item_add" title="Add to Cart">Add to Cart</a>
 </div>

in this section ,add the item name in where I marked item name .... ,add the price in where I marked price ... and change the quatity from '1' to another value .

If you want to set a special shipping cost for this item only ,you can add this line to the add to cart section
<input class="item_shipping" value="xxx" type="hidden">
replace xxx to the shipping cost of this item
and the code of Add to cart section will become :
<div class="simpleCart_shelfItem">
<span class="item_name">item name ...</span>
Price : <span class="item_price">price .........</span>
Quatity : <input class="item_quantity" type="text" value="1" />
<input class="item_shipping" value="xxx" type="hidden">
<a href="javascript:;" class="item_add" title="Add to Cart">Add to Cart</a>
 </div>


When you set shipping cost for an item ,the method which used to calculate shipping fee in step 4 will be overide .

After finish editing the post with structure above ,add a label 'shop' at the end of post ,and the product will be added to shop with sliders ,price and add to cart function

To post to Blog : to post to blog ,you can make a normal post ,and add a label 'blog' at the end of post .

It's similar to my older template Simplex Portfolio ,in Simplex Portfolio ,we have two display mode : display a post as a post in gallery ,and display a post as a normal blog post .In this template ,we also have two display mode : display a post as product in shop and display a post as a normal blog post .

For the page : you can make pages as normal .

That's all for this template . I think it is not easy to use and handle .If you familliar with the code ,you can take a try ^^ For detail shopping cart settings ,you can see more in simplecartjs 
Feel free to leave me feedbacks.



1 comment:

Premium Templates

narrowsidebarads

Copyright © 2011. BLOGGING CASTLE- All Rights Reserved | Blog Posts by ANURAG | Edited by ASHISH. Powered by AndroidGyan.Com