Commerce category cart flow actions and Aura store support
Key Takeaway
Commerce category cart actions, such as Add Cart Item and Get Cart Items, aren't available in flows for B2B stores built on an Aura template.
Commerce Checkout Flow core actions are prebuilt flow actions that let a checkout flow work directly with a buyer's cart, such as creating a cart, adding items, or reading its promotions. You add them to a flow as Action elements from the "Commerce" category. A developer needs to know whether the store's template allows the cart actions and what kind of variable holds their output.
What the cart actions do
Each Commerce category cart action does one cart task in a B2B Commerce Checkout flow.
| Cart action | Cart task |
|---|---|
| Add Cart Item | Adds an item to a cart |
| Create Cart | Creates a cart |
| Delete Cart | Deletes a cart |
| Get Cart Items | Gets the items in a cart |
| Get Cart Promotions | Gets the promotions associated with a cart |
The Commerce category also holds Process First Payment Billing for Subscriptions, which isn't a cart action. For a subscription order, the action generates and settles the first-term invoice and creates a billing schedule.