Skip to content

Actions

With actions you interact with the stores.

The following stores are available:

  • addItem: Add an item to the cart.
  • removeItem: Remove an item from the cart.
  • setQuantity: Set the quantity of an item in the cart.
  • updateQuanity: Add or substract the quantity of an item in the cart.
  • createCheckout: Create a checkout session and redirect to the checkout page.