setQuantity( )


Sets the quantity of a product on the Product Page.

This function is currently only available for Wix Studio sites.

The setQuantity() function returns a Promise that is resolved when the product's quantity is set.

Method Declaration
Copy
Method Parameters
valuenumberRequired

A number representing a product's new quantity.

Was this helpful?
Yes
No