示例#1
0
        public string GenerateHelpUrl(string path)
        {
            var seoCode = WorkContext?.WorkingLanguage?.UniqueSeoCode;

            if (seoCode.IsEmpty())
            {
                return(path);
            }

            return(SmartStoreVersion.GenerateHelpUrl(seoCode, path));
        }
示例#2
0
        public string GenerateHelpUrl(HelpTopic topic)
        {
            var seoCode = WorkContext?.WorkingLanguage?.UniqueSeoCode;

            if (seoCode.IsEmpty())
            {
                return(topic?.EnPath);
            }

            return(SmartStoreVersion.GenerateHelpUrl(seoCode, topic));
        }
示例#3
0
 public string GenerateHelpUrl(string path)
 {
     return(SmartStoreVersion.GenerateHelpUrl(WorkContext.WorkingLanguage.UniqueSeoCode, path));
 }
示例#4
0
 public static string GenerateHelpUrl(string path)
 {
     return(SmartStoreVersion.GenerateHelpUrl(path));
 }