Gets the variant ID of the selected product variant.
The getSelectedVariantId() function returns a Promise that is resolved when the selected product variant's ID is retrieved.
getSelectedVariantId()