Hi! I need to get the name and price of the product variant selected on a Product Page. I already use this code to get the id of the product, but I can’t find a way to get the name and price of the selected variant.
$w('#productPage1').getProduct()
.then((product) => {
let productId = product._id;
$w('#input1').value = productId
console.log(productId)
I already read this getProduct - Velo API Reference - Wix.com and didn’t find what I’m looking for.