In short, a lot of work, files and really tough to use with free (limited) webspace.
Today, we’ll discuss an alternative. It’s free, super lightweight, and just needs a little different approach. That’s to say, there’s no graphical user interface for adding shop items with this web site shopping cart. Instead, you need to insert simple tags in your HTML code. Don’t worry, we’ll tell you how.
The end-user interface is slick, simple and direct. Products are aligned in this web site shopping cart in a grid, with relatively large icons, product explanation and price. The webmaster can optionally add different options for a product, i.e. small, medium and large T-shirts. Because of the build-up, simpleCart is best used for displaying a smaller and relatively static product arrangement, perfectly suited for amateur sellers.
The cart is usually shown at the bottom of the page, but you can pretty much put it wherever you want. Here the buyer can review the products already selected, change the quantity, or empty the card.
When satisfied, pressing the Checkout button will take the buyer to Paypal or Google Checkout, starting a money transfer to your account. You’ll receive a notification when you get the money, where after you can ship the products. As simple as that.
Setting Up SimpleCart On Your Website
Unzip the file and upload simpleCart.js to your site directory. The set-up is completed by inserting some little code into your website’s HTML files. Wherever those snippets of code are inserted, that’s where the specific simpleCart components will show up.
Add this to every page, between the
tags, wherever you want to use simpleCart.
simpleCart.checkoutTo = PayPal;
simpleCart.email = "email@example.com";
Add the above to make simpleCart check out using Paypal. You also need to specify your Paypal mail address. Change the elements in green, and paste the entire snippet between the
tags, wherever you want to use the checkout.
simpleCart.checkoutTo = GoogleCheckout;
simpleCart.merchantId = "111111111111111";
If you instead want to use Google Checkout, paste the above snippet between the
tags, wherever you want to use the checkout. Instead of your email address, swap the green element with your Google Checkout Merchant ID.
<h2 class="item_name"> Product Name </h2>
<option value="Small"> Small </option>
<option value="Medium"> Medium </option>
<option value="Large"> Large </option>
<input value="1" type="text">
The code snippet above is used to add an item to your shelf. Change the item name and price, show in green. The select class, shown in blue, is entirely optional. If there are no subclasses in your product, you can leave it out. Paste it between the
tags, wherever you want to show it on your page.
Paste this between the
tags, where you want to display the entire web site shopping cart.
You have <span class="simpleCart_quantity"></span> items in your Cart.
Cart total: <div class="simpleCart_total"></div>
The above elements will respectively display the amount of items in your cart, the cart total, a checkout link and an empty cart link. Each element can exist independently.
Take a look at the documentation for more advanced settings, including currency options, tax rates, shipping, and changing the cart formatting.
What do you think about simpleCart(js)? Have you ever sold anything online on your own site, and how did it go? Let us know in the comments!
Image credit: Shutterstock