• Stars
    star
    380
  • Rank 112,766 (Top 3 %)
  • Language
    JavaScript
  • Created over 10 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Really simple shopping cart for AngularJS

ngCart

Really simple shopping cart for AngularJS

AngularJS module consists of a set of directives to help you quickly implement a shopping cart on your AngularJS app Quick and easy AngularJS module and set of directives for adding a cart into your AngularJS application.

  • View cart directive
  • Add item to cart directive
  • Summary of items in your cart directive
  • Template driven for full UI customisation
  • Custom data object for additional info/options images
  • Add shipping costs
  • Add Taxes
  • Events Broadcast on $rootScope
  • Fulfilment options
  • Send to console
  • Send to HTTP POST
  • Send to PayPal
As feaured in 'Building an E-Commerce Application with MEAN'

Building an E-Commerce Application with MEAN

Documentation

Documentation, demo, API etc can all be found here http://ngcart.snapjay.com/#/docs

Demo

To view a demo go here: http://ngcart.snapjay.com/ You can see all 3 directive active on the page - Add items to the cart and change the quantities.

Grunt

This project is built with GruntJS. To contribute to this project make sure to install node.js and npm. Assuming npm is installed, run $ npm install inside the project directory to install the dependencies and you should be ready to go. Once you make a change, use $ grunt build inside the project folder to build the distribution files. The version number is determined from the package.json file inside the project directory.

Download on Github

https://github.com/snapjay/ngCart.git

License

This module is licensed using the MIT License:

The MIT License (MIT)

Copyright (c) 2013 Dan Shreim

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Credit

Dan Shreim
@snapjay
http://snapjay.com If you use the script, please let me know @snapjay; Don't worry, I won't ask for anything!