// Deactivate customer groups in the install (automatically reactivated if you add a group or set a reduction)
This commit is contained in:
@@ -132,7 +132,7 @@ class GroupReductionCore extends ObjectModel
|
||||
|
||||
public static function getValueForProduct($id_product, $id_group)
|
||||
{
|
||||
if (!Configuration::get('PS_GROUP_FEATURE_ACTIVE'))
|
||||
if (!Group::isFeatureActive())
|
||||
return 0;
|
||||
|
||||
if (!isset(self::$reduction_cache[$id_product.'-'.$id_group]))
|
||||
|
||||
Reference in New Issue
Block a user