About simplecartjs
A super simple integration of open source javascript plugin: simplecartjs (http://simplecartjs.org/) Supports PayPal, Google Checkout and Amazon Payments.
Information
Released
July 6, 2013
Supported Database
MySQL
License
GPLv2
Supported Versions
2.2 - Current
Downloads
1,939
Instructions
Setup is really easy, watch the video tutorials here: https://vimeo.com/channels/555298 **Coming Soon...
See the sample Template for reference. To register the required assets, call the [[simplecartjs]] Snippet in your Template, or the Resource on which you want your cart. Or you can write your own script tags.
The only required property of the Snippet is &checkout_email=`[email protected]` but it defaults to the site's [[++emailsender]] system setting. There are several optional settings to configure the initialization javascript that is output.
Insert the included [[$simplecartjsItem]] Chunk, once for each item you're selling. Set custom properties on each Chunk to define that item's name, price and button text.
Insert the included [[$simplecartjsCart]] Chunk.
Style with your own CSS, and you're done :) You can optionally use your own Chunks. There's absolutely no requirement to use the included Chunks. They only represent the most basic implementation, for nearly "plug n play" functionality.
I'd *highly* recommend you read the simplecartjs documentation for all the features and options: http://simplecartjs.org/documentation
Here are the Snippet properties and their default values:
&jQueryVersion=`1.10.2`
&jQueryExclude=`0`
&initTpl=`simplecartjsInitTpl`
&cartStyle=`div`
&checkout_type=`PayPal`
&checkout_email=`[[++emailsender]]`
¤cy=`USD`
&data=``
&language=`english-us`
&shippingFlatRate=`0`
&shippingQuantityRate=`0`
&shippingTotalRate=`0`
&taxRate=`0`
&taxShipping=`false`Initial content