Add to cart button on a repeater.

Hi I am using this code
import wixData from ‘wix-data’ ;
import wixStores from ‘wix-stores’ ;

$w.onReady( function () {
$w( “#addToCart” ).onClick((event) => {
let $item = $w.at(event.context);

let selectedProduct = $item( ‘#dataset1’ ).getCurrentItem();
let productId = selectedProduct._id;
$w( ‘#shoppingCartIcon1’ ).addToCart(productId)
.then(() => {
console.log( “add product ${productId} success” );
})
. catch ((error) => {
console.log(error);
});

}); 

});

and i’m getting this error

FetchError: {“code”:“CANNOT_ADD_CART”,“commandName”:“AddToCart”,“message”:“option Color for product with id 6c2a64d2-3b68-468c-a45d-de1f0db3c7f9 is required”,“field”:“”}

Can somebody help me?

Can someone help?