Send custom WooCommerce mail with user credentials after order with certain product
I am trying to send a custom WooCommerce mail with user credentials after an order with certain product. To explain further: Someone buys a product I have to check if the order contains a certain product id I have to…