Introduction

Note: The @wix/site-stores.Cart modules is deprecated. If you're already using this modules in your code, it will continue to work. To stay compatible with future changes, update your code with the migration instructions in this module's functions.

The @wix/site-stores.Cart module contains functionality for working with your site's cart from client-side code.

To use the Wix Stores Cart API, import { cart } from the @wix/site-stores module:

Copy
Did this help?