Cart Widget
The CartWidget, or 'Add to Cart Button', is a standalone button view allowing the user to add a SKU to their Cart. This can be presented across on any feature in the app, with different styles.
It can fetch product information if it doesn't have enough information available in its current context.
Styles
The widget supports a few styles:
- The standard button that presents the 'Add to Bag' text.
- The standard button with quantity picker.
- As an icon button.
The Product List uses the icon style by default but supports an alternate 'Clean Item' style that uses either of the others.
Variant Selection
The CartWidget can be sent different levels of information. If this doesn't specify an exact SKU the widget will present the Variant Selection feature to select an available SKU.
Notify Me
From SS25, the widget supports Notify Me (disabled by default). When a SKU has no online stock the button can present a form allowing the user to enter their email to receive stock notifications.
History
- SS25: Added Notify Me feature.