Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/devconcept/ng-shopping-cart

🛒 An Angular component library to create shopping carts
https://github.com/devconcept/ng-shopping-cart

angular cart cart-items components ecommerce ng-cart shop shopping-cart shopping-cart-solution

Last synced: 5 days ago
JSON representation

🛒 An Angular component library to create shopping carts

Awesome Lists containing this project

README

        

NgShoppingCart



Shopping cart




Build status


Code coverage

Npm version


An Angular component library to create shopping carts. Based on it's predecessor for Angular.js with tons of improvements.

## Features

- Generic and abstract services to manipulate cart items however you want
- Several components to add items, checkout or view a summary of the cart
- A component to display items arranged in a grid for your e-commerce application
- Easily replace the item component used to display items on the grid
- Any object data structure for cart items
- Simple module configuration
- Different currency formats for the whole app or a single component
- Internationalization support
- Easy styling of one or all components of the same type
- Support for CSS Preprocessors to customize styles with variables

> This library is compatible with Angular version >=5

## Installation

Using `npm`

```bash
npm install ng-shopping-cart --save
```

or `yarn`

```bash
yarn add ng-shopping-cart
```

## Documentation

Documentation is available at http://devconcept.github.io/ng-shopping-cart/

[Dgeni][dgeni-github] is used to automatically generate documentation from the source code.

If you spot an error please consider [reporting it](https://github.com/devconcept/ng-shopping-cart/issues).

## Demo

You can find a demo of the library in the url http://devconcept.github.io/ng-shopping-cart/demo/.

The demo is also available if you:

- Clone the repository
- Install it's dependencies with `npm install`
- Run `npm start` or `ng run demo`

## Upcoming features

- [ ] Less and stylus support

- [ ] Aria enabled components

- [ ] Support for object keys in cart items

- [ ] Built-in service for storing cart items in a remote server

- [ ] Stripe checkout support

- [ ] Enhanced PayPal support

- [ ] Flexbox and CSS grid support

- [ ] Reactive components?

Ideas and suggestions are always welcome. You can also contribute. Check the [contribution guidelines](https://github.com/devconcept/ng-shopping-cart/blob/master/CONTRIBUTING.md).

## License

[MIT](https://github.com/devconcept/ng-shopping-cart/blob/master/LICENSE)

[dgeni-github]: https://github.com/angular/dgeni "Dgeni"