shoppingmallv2 init...
This commit is contained in:
parent
7e89f28115
commit
91cd1a05ee
@ -30,7 +30,7 @@ abstract class FrontController extends BaseController
|
||||
{
|
||||
$this->_category ?: throw new \Exception("분류를 지정하지 않으셨습니다.");
|
||||
$this->_viewDatas['category'] = $this->getCategoryModel()->getEntity([$this->getCategoryModel()->getPrimaryKey() => $this->_category]);
|
||||
// $this->_viewDatas['parent_category'] = $this->getCategoryModel()->getEntity([$this->getCategoryModel()->getPrimaryKey() => $this->_viewDatas['category']->getHierarchy_ParentUID()]);
|
||||
$this->_viewDatas['parent_category'] = $this->getCategoryModel()->getEntity([$this->getCategoryModel()->getPrimaryKey() => $this->_viewDatas['category']->getHierarchy_ParentUID()]);
|
||||
switch ($action) {
|
||||
case 'insert':
|
||||
$category_field = CATEGORY_ROLE_FIELDS['WRITE'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user