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 a
site's cart from frontend code.
To use the Wix Stores Cart API, import { cart }
from the wix-stores-frontend
module: