'Add to card' button on repeater is not working on live site

I have an Add to card button on a repeater: [https://www.emotiony.net/result](https://www.emotiony.net/result
On)

On preview mode, this button work perfect but on live site, it’s not working. Please help me:

export function addToCartButton_click ( event ) {
let $item = $w . at ( event . context );

let selectedProduct = $item ( ‘#productsDataset’ ). getCurrentItem ();
let productId = selectedProduct . _id ;

cart . addProducts ([{
“productId” : productId ,
“quantity” : 1
}])
. then (( updatedCart ) => {
// Products added to cart
const cartId = updatedCart . _id ;
const cartLineItems = updatedCart . lineItems ;
})
. catch (( error ) => {
console . log ( error );
});

}

At live site, i got this error message on console:

Uncaught TypeError: ‘get value’ called on an object that does not implement interface HTMLSelectElement.