getQuantity( )


Gets the quantity of a product on the Product Page.

This function is currently only available for Wix Studio sites.

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

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<number>
Was this helpful?
Yes
No