Check if a user/guest has purchased specific products in WooCommerce
Lighter and improved code version in HERE that handle multiple product IDs Updated (compatibility for Woocommerce 3+) Yes it’s possible, writing a conditional function that returns “true” if current customer has already bought specifics defined products IDs. This code goes on function.php file of your active child theme or theme. Here is the conditional function: … Read more