Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@spartacus/cart

SAP2.6kApache-2.04.3.8TypeScript support: included

@spartacus/cart is a package that you can include in your application, which allows you to use various cart features.

spartacus, framework, storefront, cart, shopping, shop, saved cart, quick order

readme

Spartacus Cart

@spartacus/cart is a package that you can include in your application, which allows you to use various cart features.

Cart can be added to the existing Spartacus application by running ng add @spartacus/cart. For more information about Spartacus schematics, visit the official Spartacus schematics documentation page.

The Spartacus Cart library contains the following packages:

  • @spartacus/cart/saved-cart is a package that adds the saved cart feature.
  • @spartacus/cart/quick-order is a package that adds the quick order feature.

For more information about Spartacus, see Spartacus.