• MODX.com

    1,920 downloads

simplecartjs

simplecartjs is an extra by sepiariver, first released on 2013-07-06.

Package Description

Initial content

Usage/Installation 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=`you@example.com` 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]]`

&currency=`USD`

&data=``

&language=`english-us`

&shippingFlatRate=`0`

&shippingQuantityRate=`0`

&shippingTotalRate=`0`

&taxRate=`0`

&taxShipping=`false`Initial content

Details

Developer(s)
sepiariver
Released
2013-07-06
First seen
2013-07-06
License
GPLv2
Supported databases
Minimum MODX Requirement
2.2

simplecartjs Releases

Vendor Signature Released on
MODX.com 1.0.0-beta1 2013-07-06 (11 years ago)