Introduction

Note: The wix-stores-frontend.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-stores-frontend.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-stores-frontend module:

Copy
Did this help?