Hide WooCommerce products from guests, restrict specific products to wholesale user roles, and redirect unauthorised users away from checkout using WordPress capability checks.
Create a custom WooCommerce transactional email class that triggers on a specific order status change, uses the WooCommerce email template system, and sends styled HTML email.