Added function to check if WooCommerce is enabled