AppForest Woocommerce Prevent Duplicate Orders
This is an addon that prevents users from purchasing WooCommerce products twice.
In admin page, you can modify the message which appears on product pages. Also you can set the categories that you will apply with.
There are two example products. The Cat Child is a sub category of The Cat.
After purchasing both of the products
You can see that duplicate purchase is prevented of this product which is in the category you set in admin page.
The other hand, products in other category is purchasable.