// The capacity of enable / disable shops and shop groups is temporary disabled
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
class ShopGroupCore extends ObjectModel
|
||||
{
|
||||
public $name;
|
||||
public $active;
|
||||
public $active = true;
|
||||
public $share_customer;
|
||||
public $share_stock;
|
||||
public $share_order;
|
||||
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user