Hi there!
I understand your concern. This behavior indicates that there is likely some code or a plugin that is automatically adding the product to the cart, even if you have already deleted the product from your site.
First, I would suggest you try clearing your site cache, and head over to WooCommerce → Status → Tools, and do the following:
- WooCommerce transients – Clear
- Expired transients – Clear
- Clear template cache – Clear
- Capabilities – Reset Capabilities
- Clear customer sessions -Clear
If you still face same the issue, just to confirm, have you tried deactivating all plugins and switching to a default theme like Storefront to see if the issue still occurs?
If you don’t want to test this directly on your live site, I would recommend creating a staging site using the following plugin:
https://www.ads-software.com/plugins/wp-staging/
On the staging site, please deactivate all plugins except WooCommerce, and activate a default WordPress theme like Twenty Twenty-Four or Storefront, then check if the issue still happens.
Let us know the results so we can assist you further.