[+] Project : Added the ability for groups to show or hide prices for their members

This commit is contained in:
jBreux
2011-12-21 16:42:17 +00:00
parent fe1d6fa04a
commit 428ada8586
7 changed files with 464 additions and 339 deletions
+1 -1
View File
@@ -284,7 +284,7 @@ class FrontControllerCore extends Controller
'display_tax_label' => (bool)$display_tax_label,
'vat_management' => (int)Configuration::get('VATNUMBER_MANAGEMENT'),
'opc' => (bool)Configuration::get('PS_ORDER_PROCESS_TYPE'),
'PS_CATALOG_MODE' => (bool)Configuration::get('PS_CATALOG_MODE'),
'PS_CATALOG_MODE' => (bool)Configuration::get('PS_CATALOG_MODE') OR !(bool)Group::getCurrent()->show_prices,
));
// Deprecated