Gets the variant ID of the selected product variant.
This function is currently only available for Wix Studio sites.
The getSelectedVariantId() function returns a Promise that is resolved when the selected product variant's ID is retrieved.
getSelectedVariantId()