Hey Valentin,
On the delete button, call a microflow,
and in the microflow, use a change activity,
in the change activity, select the Product and then,
Set the Product_Cart to empty,
You can refer to the image below,
Let me know if it helps!
Hope it helps!