Setup

To use the Cart API, install the @wix/ecom package using npm or Yarn:

Copy

or

Copy

Then import { cart } from @wix/ecom:

Copy
Was this helpful?
Yes
No