Add to Cart Button Not Working

Thank you so much Oded.

I’ve added the code below but no luck,

// Add the customized item to the shopping cart.
export function addToCartBtn_click(event, $w) {

// Get the current product.
const currentProduct = $w(‘#dynamicDataset’).getCurrentItem().product;

// Add the current product to the cart with the user’s chosen background color, text color, custom text, and custom background image.
$w(‘#shoppingCartIcon1’).addToCart(currentProduct._id, 1, {

“customTextFields”: {
“title”: “Please Upload Image”,
“value”: “$w(‘#print’).src”
},

}); 

}