diff --git a/classes/shop/ShopGroup.php b/classes/shop/ShopGroup.php index f5acd3565..9a1ec6ce2 100644 --- a/classes/shop/ShopGroup.php +++ b/classes/shop/ShopGroup.php @@ -31,7 +31,7 @@ class ShopGroupCore extends ObjectModel { public $name; - public $active; + public $active = true; public $share_customer; public $share_stock; public $share_order; diff --git a/controllers/admin/AdminShopController.php b/controllers/admin/AdminShopController.php index 7f8d26d36..ca076879a 100755 --- a/controllers/admin/AdminShopController.php +++ b/controllers/admin/AdminShopController.php @@ -62,7 +62,7 @@ class AdminShopControllerCore extends AdminController 'title' => $this->l('Shop main URL'), 'havingFilter' => 'url', ), - 'active' => array( + /*'active' => array( 'title' => $this->l('Enabled'), 'align' => 'center', 'active' => 'status', @@ -70,7 +70,7 @@ class AdminShopControllerCore extends AdminController 'orderby' => false, 'filter_key' => 'active', 'width' => 50, - ) + )*/ ); parent::__construct(); @@ -392,7 +392,7 @@ class AdminShopControllerCore extends AdminController 'label' => $this->l('Associated categories:'), 'category_tree' => $this->initCategoriesAssociation($parent) ); - $this->fields_form['input'][] = array( + /*$this->fields_form['input'][] = array( 'type' => 'radio', 'label' => $this->l('Status:'), 'name' => 'active', @@ -412,7 +412,7 @@ class AdminShopControllerCore extends AdminController ) ), 'desc' => $this->l('Enable or disable shop') - ); + );*/ $themes = Theme::getThemes(); if (!isset($obj->id_theme)) diff --git a/controllers/admin/AdminShopGroupController.php b/controllers/admin/AdminShopGroupController.php index 2342582e3..6f93f2317 100644 --- a/controllers/admin/AdminShopGroupController.php +++ b/controllers/admin/AdminShopGroupController.php @@ -54,7 +54,7 @@ class AdminShopGroupControllerCore extends AdminController 'width' => 'auto', 'filter_key' => 'a!name', ), - 'active' => array( + /*'active' => array( 'title' => $this->l('Enabled'), 'align' => 'center', 'active' => 'status', @@ -62,7 +62,7 @@ class AdminShopGroupControllerCore extends AdminController 'orderby' => false, 'filter_key' => 'active', 'width' => 50, - ), + ),*/ ); $this->fields_options = array( @@ -193,7 +193,7 @@ class AdminShopGroupControllerCore extends AdminController ), 'desc' => $this->l('Once this option is enabled (which is only possible if customers and available quantities are shared among shops), the customer\'s cart will be shared among all the shops in this group. This way, any purchase started on one of the shops in this group will be able to be finished in another shop from the same shop group. Warning: you won\'t be able to disable this option once you have orders on at least one shop of this group.') ), - array( + /*array( 'type' => 'radio', 'label' => $this->l('Status:'), 'name' => 'active', @@ -213,7 +213,7 @@ class AdminShopGroupControllerCore extends AdminController ) ), 'desc' => $this->l('Enable or disable group shop') - ) + )*/ ), 'submit' => array( 'title' => $this->l('Save'),