public function canAddProduct($productClassId)
{
$ProductClass = $this->entityManager->getRepository('\\Eccube\\Entity\\ProductClass')->find($productClassId);
if (!$ProductClass) {
return false;
}
$ProductType = $ProductClass->getProductType();
return $this->ProductType == $ProductType;
}