onInventoryVariantUpdated( )


An event that fires when the inventory information of a product variant is updated.

The onInventoryVariantUpdated() event handler runs when inventory information for a product variant is updated in a store.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventInventoryVariantUpdatedEventRequired

Information about the updated variant.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?