Thursday, 14 November 2013

simpleCart(js): how to let users change tax rate by country

Here I am, back to the awesome simpleCart(js),  the JavaScript plugin by Brett Wejrowski from Wojo Design. A while back, a reader asked whether it'd be possible to turn the taxRate variable, which can be set to a specific value in the JavaScript document, into a dynamic value set by the user as he/she selects a country from a drop-down list.

Although I'm not an expert plugin developer, nor am I an expert on this specific plugin, I've found the question of some general interest, and it's mainly for this reason that I've decided to tackle it. The result is not an elegant, seamless integration with the original code, but it seems it gets the job done. Here it is, in the hope that the simpleCart's author comes up with a new version that includes this and other super sleek functionality for us.

Monday, 15 April 2013

Fashion Statement Theme: WooCommerce Integration



I spent some of my spare time converting the Fashion Statement e-commerce Bootstrap theme into a working WordPress theme with WooCommerce integration. I'm going to share with you the way I've done things so far.

Monday, 8 April 2013

Fashion Statement Theme: Woocommerce Integration



My search for an easy to use/easy to integrate shopping cart program for my Twitter Bootstrap-based theme, Fashion Statement, has finally led me to my favorite CMS (Content Management System), WordPress, and to a fabulous free plugin, Woocommerce, that easily adds complex e-commerce functionality to a WordPress theme. I've been spending some free time hacking a Fashion Statement WordPress theme with Woocommerce integration. Here are a few things I've learned along the way.

Monday, 11 February 2013

How to Integrate jCart into a HTML Page




My research into easy-to-integrate shopping cart plugins is still ongoing. Today, it's led me to jCart, a lightweight PHP shopping cart with AJAX functionality by Doug Whitney.  Here's how it's been for me using it on my Fashion Statement theme .


Thursday, 31 January 2013

How to Integrate simpleCart(js) into a HTML Page

I've recently published Fashion Statement, a HTML e-commerce theme, on Codebootstrap.com. As it is, this is a static theme built on top of the Twitter Bootstrap framework.  I've since been looking into ways of enabling dynamic functionality to the shopping cart markup. My criteria have been: easy implementation and customization, and security. I've been looking into a few options, some of which will be covered in a series of posts.  I start off with simple jQuery/PHP plugins that can be quickly integrated in a HTML document. Here's the first shopping cart program I'll be sinking my teeth into.  It's an  all-JavaScript/jQuery plugin called simpleCart(js).