Danijelp Posted June 17, 2015 Share Posted June 17, 2015 Is it possible somehow to sort customer groups by name in Create or Edit customers and in Catalog price rule when chosing group of customer? Now customer groups are sorted by ID in BO. thnx Link to comment Share on other sites More sharing options...
musicmaster Posted June 19, 2015 Share Posted June 19, 2015 (edited) Go to classes\group.php. Find the function "getGroups" and change the order or the query there to gl.`name` Of course it is nicer to this with overrides. Edited June 19, 2015 by musicmaster (see edit history) Link to comment Share on other sites More sharing options...
Danijelp Posted June 29, 2015 Author Share Posted June 29, 2015 Thank you very much. It solves sorting by name. I done this in classes folder (not in override). Is it correct? Link to comment Share on other sites More sharing options...
musicmaster Posted June 29, 2015 Share Posted June 29, 2015 No problem. The only reason for overrides is that it makes it easier to upgrade. Now your changes will be overwritten when you upgrade Prestashop and you will need to implement them again. 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