public function isDownloadable() { // 販売価格が 0 円 if ($this->getPrice() === 0) { return true; } elseif ($this->isEffective()) { return true; } else { return false; } }