Add to Cart Button Not Working

Hi,

customTextFields is an array so your code should be:
$w(‘#shoppingCartIcon1’).addToCart(currentProduct._id, 1, {
“customTextFields”: [{
“title”: “Please Upload Image”,
“value”: $w(‘#print’).src
}],
});
I also removed the quotes around $w(‘#print’).src

Thanks,
Oded