Skip to main content
Developer Docs home page
Search...
⌘K
Support
Dashboard
Dashboard
Search...
Navigation
Cart
Introduction
Onbaording
Weblow Setup
Integrations
Tutorials
Cloneables
Webflow
Introduction
Product Card
Cart
Introduction
Default State
Empty State
Cart Count
Markets
Customer Accounts
Wishlist
Search
On this page
Cart wrapper
Developing cart states
Cart
Introduction
Cart elements allow you to build a custom cart without using Webflow ecommerce cart.
The cart element has two states - empty and default. You can style the cart in the empty state and the default state separately. The cart is empty by default.
Cart wrapper
This is the outermost wrapper of the cart. It contains the cart states.
Give this cart wrapper an attribute of
Copy
looop=cart
Developing cart states
Inside this wrapper, we need to add two required elements - the empty cart and the default cart.
Empty State
This cart state is visible when the cart is empty.
Default State
This cart state is visible when the cart has items.
Hero Image
Default Wrapper
⌘I