質問 > 管理機能 > 関連カテゴリについて |
管理機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
468 |
投稿日時: 2017/9/12 14:34
対応状況: −−−
|
神 登録日: 2008/10/26 居住地: 投稿: 3217 |
Re: 関連カテゴリについて コメントアウトした途中に
/* @var $Product \Eccube\Entity\Product */ があるので、 */でコメントが終わりと判断されていると思います。 /*foreach ($Category->getPath() as $ParentCategory) { if (!isset($categoriesIdList[$ParentCategory->getId()])) { $ProductCategory = $this->createProductCategory($Product, $ParentCategory, $count); $app['orm.em']->persist($ProductCategory); $count++; */ /* @var $Product \Eccube\Entity\Product */ /* $Product->addProductCategory($ProductCategory); $categoriesIdList[$ParentCategory->getId()] = true; } } */ もしコメントアウトするのなら、上記のようにする必要があります。
|
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
関連カテゴリについて | yamasan | 2017/9/7 20:07 |
Re: 関連カテゴリについて | 468 | 2017/9/8 9:55 |
Re: 関連カテゴリについて | yamasan | 2017/9/8 13:56 |
Re: 関連カテゴリについて | 468 | 2017/9/9 19:45 |
Re: 関連カテゴリについて | yamasan | 2017/9/12 14:06 |
» Re: 関連カテゴリについて | 468 | 2017/9/12 14:34 |
Re: 関連カテゴリについて | yamasan | 2017/9/13 14:12 |