Bartjuh1994 Posted March 30, 2014 Share Posted March 30, 2014 Can someone help me to get the group ID / group Name in the ParentOrderController? I want to configure the order opc for a certain customer group like this: if (Configuration::get('PS_ORDER_PROCESS_TYPE') == 0 && groupName != 'a' && strpos($_SERVER['PHP_SELF'], 'order.php') === false) Tools::redirect('order.php'); if (Configuration::get('PS_ORDER_PROCESS_TYPE') == 1 && groupName == 'a' && strpos($_SERVER['PHP_SELF'], 'order-opc.php') === false) See 'groupName != 'a' and groupname == 'a' in the code above. Thanks in advance. Link to comment Share on other sites More sharing options...
Bartjuh1994 Posted April 1, 2014 Author Share Posted April 1, 2014 Nobody? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now