[*] FO BO MO : rename function isMultiShopActivated by isFeatureActive
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9444 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -124,7 +124,7 @@ class AdminGroups extends AdminTab
|
||||
<p>'.$this->l('How the prices are displayed on order summary for this customer group (tax included or excluded).').'</p>
|
||||
</div>
|
||||
<div class="clear"> </div>';
|
||||
if (Shop::isMultiShopActivated())
|
||||
if (Shop::isFeatureActive())
|
||||
{
|
||||
echo '<label>'.$this->l('GroupShop association:').'</label><div class="margin-form">';
|
||||
$this->displayAssoShop('group_shop');
|
||||
@@ -460,10 +460,10 @@ class AdminGroups extends AdminTab
|
||||
{
|
||||
$reduction = Tools::getValue('reductionByCategory');
|
||||
$id_category = Tools::getValue('id_category');
|
||||
|
||||
|
||||
$category = new Category((int)($id_category));
|
||||
$category->addGroupsIfNoExist(Tools::getValue('id_group'));
|
||||
|
||||
|
||||
$groupReduction->id_category = (int)($id_category);
|
||||
$groupReduction->id_group = (int)($obj->id);
|
||||
$groupReduction->reduction = (float)($reduction) / 100;
|
||||
|
||||
Reference in New Issue
Block a user