Saturday, 7 May 2011

Simplex Eshop - Blogger template for shopping cart/ecommerce

SimplexEshop - First shopping cart template in Blogger platform
Some of you asked me for Ecommerce /shopping cart in Blogger platform . My result is template SimplexEshop .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 .


Demo Download

Install instruction

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><ahref="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

90 comments:

  1. Gabfire theme have published new theme. can you convert it?
    http://www.gabfirethemes.com/snapwire/

    and

    http://www.gabfirethemes.com/linepress/

    ReplyDelete
  2. You ARE AWESOME!!

    This is what im searching for all these years,really THANKS!!

    Best Regards,
    CSkuan

    ReplyDelete
  3. Great template dude. More than online shopping template

    ReplyDelete
  4. This template is very good, but does not work in Blogger. Posts are not shown. That does not go see anything:

    http://3aribenblog.blogspot.com/

    I've published, and nothing shows...
    ...?

    ReplyDelete
  5. @UrbanBg : You didn't add label 'shop' to the post ,so nothing will be shown .Pls check my instruction

    ReplyDelete
  6. Thanks so Much.


    I wil try to make Blogspot to sell something :)

    ReplyDelete
  7. Latest Products is the problem. If you type will be a very good solution.

    ReplyDelete
  8. Great one nhamngahanh,
    Just one little add, a product rating widget will make the template more professional ^^

    ReplyDelete
  9. This comment has been removed by a blog administrator.

    ReplyDelete
  10. You r really biggest blogger user in the world...

    ReplyDelete
  11. why i can't choose multiple item to be in the cart. When i click on item A, it will be in the cart, but when i click on other item, item A removed from the cart.

    ReplyDelete
  12. Nice template. Thanks Huy :)

    ReplyDelete
  13. Thanks Alot friends. This is the best template that I've searching for. And its really free

    One more thanks bro ^_^

    ReplyDelete
  14. hi, it's an owesome template. my question is, if i want to use bank transfer for the payment method. how do i make it?since i have no paypal account.



    regards,


    jefky

    ReplyDelete
  15. can I use it without paypal???

    ReplyDelete
  16. i can't not use it . please help me. yahoo ms: lovelace_2101

    ReplyDelete
  17. product is not show in home

    ReplyDelete
  18. I just wanna know there is a problem in posting. after i follow the steps in how to make a post, then i try it in my blog. The post are repeating three times for every post. Is that there is javascript problems. My blog is http://j-codes.blogspot.com

    ReplyDelete
  19. Hi!
    Great template !
    But, I would like to remove the 'related products' function - I believe that would be more convenient for my readers.
    Thanks for your help :)

    ReplyDelete
  20. Gabfire theme have published new theme free. can you convert it blogger?

    http://www.gabfirethemes.com/demos/snapwire/

    ReplyDelete
  21. @J-MP3
    That is most likely because you have more than one label for your post. So far it looks like you can either have label "shop" or "blog" for your posts and no other labels if you want it to work.
    Brilliant template and i really want to use it, just im not sure if i can or want to get rid of all my labels. Have to test everything before to see how it will look like.

    ReplyDelete
  22. Hi Huy

    Can you help me? I want to show 9 items on the main page, but i can't setup it at Formatting/Show at most.

    Many thanks!

    ReplyDelete
  23. Hy Dear how are u??? i feel pleasure to use your templates and work, this one is a gud template i like it, my question about this template is, i can post the "post" like this template way 3 pics are moving simultaneously in single post in my blogger template Simplex E-News is this possible???? tell me the solutions at shaanali.info@yahoo.com

    ReplyDelete
  24. awesome...nice switch thumb....
    rock n roll \m/

    ReplyDelete
  25. hello want to know if you have any configuration of this template does not appear on the homepage postagen?

    ReplyDelete
  26. your template is wonderful
    please tell me how do I put old posts on the main page.
    he only has 17 postings the other posts he does not show why.

    ReplyDelete
  27. how do I put another category with the same function category shop

    ReplyDelete
  28. Hi nhamngahanh,

    I have follow all the instruction (add label "shop" or "blog"), but my homepage is still blank.
    Try check this - http://grandebook-store.blogspot.com/search/label/blog

    ReplyDelete
  29. Nice template, already download up try.
    my question is how to change to IDR (indonesia currency)
    thx you

    ReplyDelete
  30. how can I do pro shopping cart send me an email request to purchase

    ReplyDelete
  31. @compre facil fortaleza : you should consider to other platform such as Virtualmart in Joomla ,Magento ... they are fully function shopping softwares that can provide you anything you like and a set of plugins for extended funsction . This shopping cart template is very simple and it can't do what you want .

    ReplyDelete
  32. need to know if you are interested in helping to transform the shopping cart cs a message for my email

    ReplyDelete
  33. Hello
    is "http://dinhquanghuy.110mb.com/simplecart/simpleCart.js" down ?
    Shopping Cart and links does not work ...
    Thanks for your help

    ReplyDelete
  34. @All: Please host the java-script files in your own hosting. It can solve your problem.

    ReplyDelete
  35. how do I change the payment for the Brazilian currency real, you already said it is programmed to usd and eur more want to help me how can I do to switch to the Brazilian currency real

    ReplyDelete
  36. I can't seem to get this template to work correctly. I've followed all of the steps and I did as someone suggested and I am hosting the javascript files myself, so I know that isn't the issue.

    But the posts don't show up correctly as products and even if you go to the product page, it doesn't behave like the demo does. I've confirmed adding 'shop' as the label for each product post.

    Any ideas or thoughts? Site: http://shoppolysbakery.blogspot.com

    ReplyDelete
  37. This comment has been removed by the author.

    ReplyDelete
  38. Hi,

    i tried to link my shop item to the category i created using 'http://simplexeshop.blogspot.com/search/label/dress'
    it came out as extract of the title. Would like how do i display it like it appears on the latest product page?

    ReplyDelete
  39. Hey! There is a comment from "Steve" on July 8th... It would be awesome to have a response to that! It's for my blog and I would really like to get it up and running sometime...

    Thanks!

    ReplyDelete
  40. I have been waiting for some help since July 8th, posted a reminder on the 13th, and still have had no help. ::::

    Steve Webber
    8 July 2011 05:33
    I can't seem to get this template to work correctly. I've followed all of the steps and I did as someone suggested and I am hosting the javascript files myself, so I know that isn't the issue.

    But the posts don't show up correctly as products and even if you go to the product page, it doesn't behave like the demo does. I've confirmed adding 'shop' as the label for each product post.

    Any ideas or thoughts? Site: http://shoppolysbakery.blogspot.com

    :::: I have changed my mind. I no longer wish to use this template as I cannot get the help needed to make it work. It's a shame because I really liked how clean and simple this looks. But I would expect to be able to get a little assistance from the creator of it.

    Thanks.

    ReplyDelete
  41. @Poly's : Sorry for long delay,I took an eye surgery ,so I couldn't answer your question . Hope you understand that I could not help you from hospital ^^
    For your site ,I've just take a look and I really want to know what changes did you made in template ? and if possible ,could you send me the template file ? some elements are not in right place and there are some elements added (for example ,the cart appeared in home page ,it shifted other elements down and out of CSS tags that covered ,and make the switch button can not work)
    If you want another try ,I think the best way is to install this template in a brandnew blog ,do not make any changes ,insert scripts ...etc...,just follow all my instruction,step by step ,till you see the result as the live demo ,do backup and then make changes . By tracking every step ,you can know what is the reason for error . This template is not easy and perfect to use .
    In case you want to change to another templates ,there's no problem to me . I can understand

    ReplyDelete
  42. nice template. Thank's for that........

    ReplyDelete
  43. dear friend is not making the exchange of slides in my blog posts this static images of products and believe that faulty slide cs check the demo

    ReplyDelete
  44. I wonder if we can have another label equal to the shop. Having two or more pages with the same template labels.

    I need to work more labels.

    thanks!

    ReplyDelete
  45. Hello! I managed to make all pages of label work well. Namely:

    http://livraria2.blogspot.com

    http://livraria2.blogspot.com/search/label/casa

    http://livraria2.blogspot.com/search/label/shop

    Replacing the three conditional



    trade for



    .
    But despite this, still can not use more than one label on each post. I believe that adding the code

    "max-results = 1" conditional on any of these, the problem is resolved. keep trying.

    hugs,

    ReplyDelete
  46. ...

    Replacing the three conditional

    b:if cond='data:label.name == "shop"'

    trade for

    b:if cond='data:blog.pageType != "label"'

    ReplyDelete
  47. Thank you for responding. I ended up taking a break for a few days. I have started from scratch over and over with this template and still have the same problems. I know I must be missing something because the demo looks fantastic. I simply cannot figure out what it is. Is there any way I can add you as admin and you can take a look at the html? See what in the world I have done wrong?

    ReplyDelete
  48. dear friend is not making the exchange of slides in my blog posts this static images of products and believe that faulty slide cs check the demo

    ReplyDelete
  49. script slide pictures are defective help me. you put a wonderful template does not help then taking more doubts then we want to help a

    ReplyDelete
  50. unfortunately we have to search another template because you do not help your readers to your template resove problems

    ReplyDelete
  51. provides the script for the scrolling image of the products I help to host your readers

    ReplyDelete
  52. por favor ayudame no puedo poner las entradas ayudame.
    contaactame : craneo_23_13@hotmail.com te pago si me ayudas

    ReplyDelete
  53. please help me I can not help me make tickets when I get the entries placed in the primary target, can you help?
    could help me with the template?
    CONTACT: craneo_23_13@hotmail.com pay you if you help me
    Valorar traducción

    ReplyDelete
  54. went i try to upload this templet on blogger it give me error massage :

    Your template could not be parsed as it is not well-formed. Please make sure that all XML elements are closed properly.
    XML error message: The entity name must immediately follow the '&' in the entity reference.
    Error 500

    plz help

    ReplyDelete
  55. please script slide of product to email jucieniofreitas@hotmail.com

    ReplyDelete
  56. revealing picture of the products to script host

    ReplyDelete
  57. enter the javascript code for the product images

    ReplyDelete
  58. I found a "loose" css code. I am surprised that Blogger code check didn't correct it.

    Look for this code:

    a.product_thumb img {width:200px;height:184px;}

    padding:80px 0; margin-bottom:5px; }

    #content .display li a.product_thumb { margin-bottom:5px; overflow:hidden; width:210px; height:180px; display:block; float:left; }

    The row padding:80px is not belonging to any class or id so just remove this.

    ReplyDelete
  59. I need the scrip slide products to host and update template

    ReplyDelete
  60. need to update the template to be much greater error in the script to satisfy their readers

    ReplyDelete
  61. OK great

    You have this now
    http://www.slidesjs.com/js/slides.min.jquery.js?ver=3.1.1

    I don't think you need the last part "?ver=3.1.1" so only this
    http://www.slidesjs.com/js/slides.min.jquery.js

    If you look for the part

    $('#slides').slides({

    you can find the controller for the slides. If you for instance add

    effect: 'fade',

    you can have the images fade instead of slide. More controls at their web page.

    ReplyDelete
  62. i also got the problem that when the posts are labeled as "shop", their contents repeat 3 times in their entries. i havent labeled them as "blog". will it be the problem of the coding for the content??? please help >_<"

    ReplyDelete
  63. I am trying to include the button "Add to cart" also on the starting page. There should be an alternative to buy immediately on page 1.

    There is no problem adding the code so that the button appears. I use the same as in the posts "item_add" etc.

    This should add one item per click. But clicking the button does nothing. I can't figure out what is missing.

    Can someone help me with this?

    ReplyDelete
  64. nice, Working successfully. But I have a problem.

    If I try to make more level its not showing thumb display. I need to show other level like shop level display. how can I do it?

    ReplyDelete
  65. friend as you put -1 + and STL in your shopping cart need your help

    ReplyDelete
  66. Good great thema its work very shoping cart, thanks a lot :)
    http://pilar-jaya.blogspot.com/

    ReplyDelete
  67. How to showing page navigation in search label results page?

    Thanks

    ReplyDelete
  68. Hi :) wanna your suggestion to change paypal setting to email
    then who click checkout will directly enter email form to me.

    thank before
    http://pilar-jaya.blogspot.com/

    ReplyDelete
  69. As much as I wanted to use this however it's too complicated for me to handle :(

    ReplyDelete
  70. Creating More Labels in Order to make Categories. I have been trying for a long time to find out how to create more labels, that it would work the same as shop, because if I make any category it doesn't appear the same as the shop, so categories turns out to useless in this case if it's not possible to create more labels to make it work the same as shop, is there any way to fix this and add more labels?

    ReplyDelete
  71. @ GLAM by Nature

    I don't think you can do that. But you could use another method to group items.

    Use the built in search function. Try these search criterias on the demo site:

    simplexeshop.blogspot.com/search?q=phone
    simplexeshop.blogspot.com/search?q=camera
    simplexeshop.blogspot.com/search?q=wifi

    This could easily be added to a menu as
    • Phones
    • Cameras
    • Wifi

    It is not as precise as categories but it will work. All you need to do is ensure that you have the correct keywords in the text of every item.

    ReplyDelete
  72. thats a shame. i really hope we can make more labels for categories

    ReplyDelete
  73. i just realized you can add more labels in simplex portfolio template. so it can done to this template also right? since both simplex portfolio and simplex eshop have two display mode.

    ReplyDelete
  74. please. anyone? this is killing me

    ReplyDelete
  75. Anyhow, I faced another problem I don't know is it set in template to be like this or what, because it seems that I can not find that it would blogger settings problem. What happens when I add more then 25 products, not all of them are shown, it seems that they are missing or something. Everything is done according to the instructions but it just seems to disappear when it reaches around 20+ products.. What should I do to enable all of the added products to be visible?
    Is it possible to add pagination at the bottom to show pages like 1-2-3... Next. ? or something like that?

    Thank you for your reply..

    ReplyDelete
  76. Dutkowski friend if possible take much of your template please get in touch

    ReplyDelete
  77. there is a problem with the search button suddenly. Is anyone else experiencing it too?

    ReplyDelete
  78. hi guys i need help. i have been using Dudikowski's advice of using the search function to categorize items. however the search button suddenly stopped working. Can Anyone help me wth it?

    my blog is thetrendybunch.com

    ReplyDelete
  79. Hi guys.. is there a way to access individual products from paypal? Because in paypal's interface, it allows stock management. It is rather important as i do not want customers to be paying for something that I no longer have in stock and go through all the troubles of refunding and also, the dissapointment.

    Is there a way to manage inventory using this interface?

    Thanks for your help~!

    ReplyDelete
  80. expensive to categories (provided that (==) places like shop (!=) different categories of shop you do ok

    visitem www.comprefacilfortaleza.blogspot.com

    ReplyDelete
  81. hey, i can't make product on index of blog. I only see it on label pages. why did i see it on index pages?

    ReplyDelete
  82. i want my templete showing display a post as a post in gallery (as the demo, latest products)

    Please can i help me?

    ReplyDelete
  83. hello friends to turn the question of label or labels that accept only shop on the main page and you alone go into edit html in the box click Expand Widget Templates and then search for the item

    b:if cond='data:label.name == "shop"

    apague a estar parte:
    == "shop"

    repeat this in the three parties that have the same template with this code.

    will look like this:
    b:if cond='data:label.name'>

    ready now all your bookmarks will appear in the main screen without having to be placed in every shop.

    I have helped.

    ReplyDelete