Sort/Filter field translation

 


search the code 

var titleKey = "General_Product_" + field.Name;
       var orderedTitleKey = titleKey + (ascending ? "_Asc" : "_Desc");
       var fieldTitle = Sana.SimpleText(titleKey, field.Title.Or(field.Name)).Decode();

run the project and add necessary Filterfields > 

Sana Admin > ERP interaction > Filterfields section add fields. 

Add fields to Sort fields and Enable > product index need to run

debug the code and get the names

ar titleKey = "General_Product_" + field.Name;
       var orderedTitleKey = titleKey + (ascending ? "_Asc" : "_Desc");
       var fieldTitle = Sana.SimpleText(titleKey, field.Title.Or(field.Name)).Decode();