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

This commit is contained in:
jBreux committed 2011-12-21 16:42:17 +00:00
1 parent 018f959f9e
commit 4e661c0e4d
7 files changed
+464 -339

No files matched your search

+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