Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/devconcept/ng-shopping-cart
- Owner: devconcept
- License: mit
- Archived: true
- Created: 2018-04-04T17:25:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-13T04:41:34.000Z (about 4 years ago)
- Last Synced: 2024-10-13T11:20:51.862Z (28 days ago)
- Topics: angular, cart, cart-items, components, ecommerce, ng-cart, shop, shopping-cart, shopping-cart-solution
- Language: TypeScript
- Homepage: https://devconcept.github.io/ng-shopping-cart/
- Size: 1.79 MB
- Stars: 45
- Watchers: 5
- Forks: 53
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
NgShoppingCart
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"