Пример #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));
 }