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.
A number representing a product's new quantity.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.