Hi Yusuf,
What you need to do is, once the user clicks on 'Add to Cart', you can use a microflow, to change the attribute status using the 'Change Object' activity, and set the product status to false. This way, you can achieve your requirement.
Hope it helps!