The adding button works, but I can’t add a button to remove the added product from the cart. could you help me? Sorry but I started very recently. Thank you
I used this code to add the item to the cart and perform other actions
import wixData from 'wix-data';
$w("#tastorabboccoliquidi").onClick( () => {
$w("#shoppingCartIcon1").addToCart("981c610f-23e6-d12c-6fd9-af6027950e67")
.then( () => {
console.log("Product added");
} )
.catch( (error) => {
console.log(error);
} );
$w('#tastorabboccoliquidi').hide();
$w('#checkbox').checked = true ;
$w('#box29').show();
$w('#dropdown6').show();
$w("#dropdown6").enable();
$w('#box30').show();
$w('#image71').show();
$w('#text154').show();
$w('#button25').show();
} );