Event
|
Description
|
product.loaded |
Fired when the product component has finished mounting and is marked as loaded. |
product.images-updating |
Fired when the product images are about to be updated because the image set changed. |
product.images-updated |
Fired after the product images have been updated. Provides the updated images. |
product.variant-selected |
Fired when the selected product variant changes. Provides the variant, quantity, price, and total sale price. |
product.attribute-selected |
Fired when one or more product attributes are selected or changed. Provides the selected attributes. |
product.quantity-updated |
Fired when the product quantity changes. Provides the new quantity. |
product.subscription-plan-deselected |
Fired when the currently selected subscription plan is removed/deselected. |
product.subscription-plan-selected |
Fired when a subscription plan is selected. Provides the plan ID and selected plan. |
product.add-to-cart |
Fired before the product is sent to the cart API. This event can modify the cart payload or return false/null to prevent adding the item. |
product.added-to-cart |
Fired after the cart API successfully adds the product. Provides the returned cart/add-to-cart data. |
product.failed-adding-to-cart |
Fired when adding the product to the cart fails. Provides the returned errors. |