WooCommerce must be active to run this script.