// The capacity of enable / disable shops and shop groups is temporary disabled

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15760 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-05-30 12:30:08 +00:00
parent 4b6d00b659
commit c9484e29b2
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
class ShopGroupCore extends ObjectModel
{
public $name;
public $active;
public $active = true;
public $share_customer;
public $share_stock;
public $share_order;
+4 -4
View File
@@ -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))
@@ -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'),