Hi,
The current Model code Query is the following:
//top menu topics
var topicModel = _topicService.GetAllTopics(_storeContext.CurrentStore.Id, onlyIncludedInTopMenu: true)
.Select(t => new TopMenuModel.TopicModel
{
Id = t.Id,
Name = _localizationService.GetLocalized(t, x => x.Title),
SeName = _urlRecordService.GetSeName(t)
}).ToList();
As you indicated, I changed it to:
//top menu topics
var topicModel = _topicService.GetAllTopics(_storeContext.CurrentStore.Id, onlyIncludedInTopMenu: true).OrderBy(t => t.DisplayOrder)
.Select(t => new TopMenuModel.TopicModel
{
Id = t.Id,
Name = _localizationService.GetLocalized(t, x => x.Title),
SeName = _urlRecordService.GetSeName(t)
}).ToList();
The Topic Menu that is generated is:
Products
Our Story
My account
contact us
I am trying to get the Menu to return like this:
Our Story
Products
Contact Us
My account
Such that even the Contact Us is modified and Capitalized to match the remaining Menu Links.