Hi all
This should be really simple but I cannot seem to get it working:
In the group list template of a product catalog I would like to list product groups in the same order as in backend.
In the settings of the product catalog module I set sortorder to UserDefined but this only affects the product listing. The groups are listed in the same order as created.
I can get it to work, if I either manually select the product groups to list in the module settings (which is inconvenient) OR if I deselect "include subgroups" which is not what I want.
I have looked into sorting groups by razor instead. Eg:
var groupList = GetLoop("Groups").OrderBy(x => x.GetString("Ecom:Group.Name"));
.. but this way I don't seem to be able to sort by UserDefined (?)
Any takes on this?
I am on DW 8.7.0.1
Regards
Thomas