/** * Checks If Donation Product Exist In WooCommerce Products */ private function check_donation_product_exist($notice = true) { $install = new WC_QD_INSTALL(); if (!$install->check_donation_exists()) { self::$is_donation_product_exist = false; if ($notice) { wc_qd_notice(__('WooCommerce Donation Product Not Exist', WC_QD_TXT), 'error', true); } } }