Gets the selected product option choices 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 selected product option choices are retrieved. Product option choices are returned as key
{color: "white", size: "m"}
.