Exemplo n.º 1
0
        public ActionResult Footer()
        {
            var store          = _services.StoreContext.CurrentStore;
            var taxDisplayType = _services.WorkContext.GetTaxDisplayTypeFor(_services.WorkContext.CurrentCustomer, store.Id);

            var taxInfo = T(taxDisplayType == TaxDisplayType.IncludingTax ? "Tax.InclVAT" : "Tax.ExclVAT");

            var availableStoreThemes = !_themeSettings.AllowCustomerToSelectTheme
                ? new List <StoreThemeModel>()
                : _themeRegistry.Value.GetThemeManifests()
                                       .Select(x =>
            {
                return(new StoreThemeModel
                {
                    Name = x.ThemeName,
                    Title = x.ThemeTitle
                });
            })
                                       .ToList();

            var model = new FooterModel
            {
                StoreName           = store.Name,
                ShowLegalInfo       = _taxSettings.ShowLegalHintsInFooter,
                ShowThemeSelector   = availableStoreThemes.Count > 1,
                HideNewsletterBlock = _customerSettings.HideNewsletterBlock
            };

            var shippingInfoUrl = Url.Topic("shippinginfo").ToString();

            if (shippingInfoUrl.HasValue())
            {
                model.LegalInfo = T("Tax.LegalInfoFooter", taxInfo, shippingInfoUrl);
            }
            else
            {
                model.LegalInfo = T("Tax.LegalInfoFooter2", taxInfo);
            }

            var hint = _services.Settings.GetSettingByKey <string>("Rnd_SmCopyrightHint", string.Empty, store.Id);

            if (hint.IsEmpty())
            {
                hint = s_hints[CommonHelper.GenerateRandomInteger(0, s_hints.Length - 1)];

                _services.Settings.SetSetting <string>("Rnd_SmCopyrightHint", hint, store.Id);
            }

            model.ShowSocialLinks = _socialSettings.Value.ShowSocialLinksInFooter;
            model.FacebookLink    = _socialSettings.Value.FacebookLink;
            model.TwitterLink     = _socialSettings.Value.TwitterLink;
            model.PinterestLink   = _socialSettings.Value.PinterestLink;
            model.YoutubeLink     = _socialSettings.Value.YoutubeLink;
            model.InstagramLink   = _socialSettings.Value.InstagramLink;

            model.SmartStoreHint = "<a href='https://www.smartstore.com/' class='sm-hint' target='_blank'><strong>{0}</strong></a> by SmartStore AG &copy; {1}"
                                   .FormatCurrent(hint, DateTime.Now.Year);

            return(PartialView(model));
        }
Exemplo n.º 2
0
        public ActionResult AddFooter(FooterModel model)
        {
            if (ModelState.IsValid)
            {
                using (var context = new ApplicationDbContext())
                {
                    if ((model.Id == null) || (model.Id == 0))
                    {
                        var footerContext = new FooterContext
                        {
                            Name    = model.Name,
                            Content = model.Content
                        };

                        context.FooterContexts.Add(footerContext);
                    }
                    else
                    {
                        var footerDetails = context.FooterContexts.Where(x => x.Id == model.Id).FirstOrDefault();
                        footerDetails.Content = model.Content;
                    }

                    context.SaveChanges();
                }
            }
            return(RedirectToAction("AddFooter"));
        }
Exemplo n.º 3
0
        public PartialViewResult Index()
        {
            FooterModel model = CreateModel();

            UpdateEnabledModules(model);
            return(PartialView(FooterControlPath, model));
        }
        public FooterModel GetFooter()
        {
            var mockF = new FooterModel()
            {
                Title = "Sitecore Hackathon",
                Menu  = new MenuModel()
                {
                    Items = new List <MenuModel>()
                    {
                        new MenuModel()
                        {
                            Link = new Glass.Mapper.Sc.Fields.Link()
                            {
                                Text = "Home",
                                Url  = "#"
                            }
                        },
                        new MenuModel()
                        {
                            Link = new Glass.Mapper.Sc.Fields.Link()
                            {
                                Text = "Newsletter",
                                Url  = "#"
                            }
                        }
                    }
                }
            };

            return(mockF);
        }
Exemplo n.º 5
0
        public ActionResult Footer()
        {
            var model = new FooterModel()
            {
                StoreName                     = _storeContext.CurrentStore.GetLocalized(x => x.Name),
                WishlistEnabled               = _permissionService.Authorize(StandardPermissionProvider.EnableWishlist),
                ShoppingCartEnabled           = _permissionService.Authorize(StandardPermissionProvider.EnableShoppingCart),
                SitemapEnabled                = _commonSettings.SitemapEnabled,
                WorkingLanguageId             = _workContext.WorkingLanguage.Id,
                FacebookLink                  = _storeInformationSettings.FacebookLink,
                TwitterLink                   = _storeInformationSettings.TwitterLink,
                YoutubeLink                   = _storeInformationSettings.YoutubeLink,
                GooglePlusLink                = _storeInformationSettings.GooglePlusLink,
                BlogEnabled                   = _blogSettings.Enabled,
                CompareProductsEnabled        = _catalogSettings.CompareProductsEnabled,
                ForumEnabled                  = _forumSettings.ForumsEnabled,
                AllowPrivateMessages          = _workContext.CurrentCustomer.IsRegistered() && _forumSettings.AllowPrivateMessages,
                NewsEnabled                   = _newsSettings.Enabled,
                RecentlyViewedProductsEnabled = _catalogSettings.RecentlyViewedProductsEnabled,
                RecentlyAddedProductsEnabled  = _catalogSettings.RecentlyAddedProductsEnabled,
                DisplayTaxShippingInfoFooter  = _catalogSettings.DisplayTaxShippingInfoFooter
            };

            return(PartialView(model));
        }
Exemplo n.º 6
0
        /// <summary>
        /// Prepare the footer model
        /// </summary>
        /// <returns>Footer model</returns>
        public virtual FooterModel PrepareFooterModel()
        {
            //footer topics
            var topicCacheKey = string.Format(ModelCacheEventConsumer.TOPIC_FOOTER_MODEL_KEY,
                                              _workContext.WorkingLanguage.Id,
                                              _storeContext.CurrentStore.Id,
                                              string.Join(",", _workContext.CurrentCustomer.GetCustomerRoleIds()));
            var cachedTopicModel = _cacheManager.Get(topicCacheKey, () =>
                                                     _topicService.GetAllTopics(_storeContext.CurrentStore.Id)
                                                     .Where(t => t.IncludeInFooterColumn1 || t.IncludeInFooterColumn2 || t.IncludeInFooterColumn3)
                                                     .Select(t => new FooterModel.FooterTopicModel
            {
                Id     = t.Id,
                Name   = _localizationService.GetLocalized(t, x => x.Title),
                SeName = _urlRecordService.GetSeName(t),
                IncludeInFooterColumn1 = t.IncludeInFooterColumn1,
                IncludeInFooterColumn2 = t.IncludeInFooterColumn2,
                IncludeInFooterColumn3 = t.IncludeInFooterColumn3
            })
                                                     .ToList()
                                                     );

            //model
            var model = new FooterModel
            {
                StoreName                             = _localizationService.GetLocalized(_storeContext.CurrentStore, x => x.Name),
                WishlistEnabled                       = _permissionService.Authorize(StandardPermissionProvider.EnableWishlist),
                ShoppingCartEnabled                   = _permissionService.Authorize(StandardPermissionProvider.EnableShoppingCart),
                SitemapEnabled                        = _commonSettings.SitemapEnabled,
                WorkingLanguageId                     = _workContext.WorkingLanguage.Id,
                BlogEnabled                           = _blogSettings.Enabled,
                CompareProductsEnabled                = _catalogSettings.CompareProductsEnabled,
                ForumEnabled                          = _forumSettings.ForumsEnabled,
                NewsEnabled                           = _newsSettings.Enabled,
                RecentlyViewedProductsEnabled         = _catalogSettings.RecentlyViewedProductsEnabled,
                NewProductsEnabled                    = _catalogSettings.NewProductsEnabled,
                DisplayTaxShippingInfoFooter          = _catalogSettings.DisplayTaxShippingInfoFooter,
                HidePoweredByGSCommerce               = _storeInformationSettings.HidePoweredByGSCommerce,
                AllowCustomersToApplyForVendorAccount = _vendorSettings.AllowCustomersToApplyForVendorAccount,
                AllowCustomersToCheckGiftCardBalance  = _customerSettings.AllowCustomersToCheckGiftCardBalance && _captchaSettings.Enabled,
                Topics = cachedTopicModel,
                DisplaySitemapFooterItem                = _displayDefaultFooterItemSettings.DisplaySitemapFooterItem,
                DisplayContactUsFooterItem              = _displayDefaultFooterItemSettings.DisplayContactUsFooterItem,
                DisplayProductSearchFooterItem          = _displayDefaultFooterItemSettings.DisplayProductSearchFooterItem,
                DisplayNewsFooterItem                   = _displayDefaultFooterItemSettings.DisplayNewsFooterItem,
                DisplayBlogFooterItem                   = _displayDefaultFooterItemSettings.DisplayBlogFooterItem,
                DisplayForumsFooterItem                 = _displayDefaultFooterItemSettings.DisplayForumsFooterItem,
                DisplayRecentlyViewedProductsFooterItem = _displayDefaultFooterItemSettings.DisplayRecentlyViewedProductsFooterItem,
                DisplayCompareProductsFooterItem        = _displayDefaultFooterItemSettings.DisplayCompareProductsFooterItem,
                DisplayNewProductsFooterItem            = _displayDefaultFooterItemSettings.DisplayNewProductsFooterItem,
                DisplayCustomerInfoFooterItem           = _displayDefaultFooterItemSettings.DisplayCustomerInfoFooterItem,
                DisplayCustomerOrdersFooterItem         = _displayDefaultFooterItemSettings.DisplayCustomerOrdersFooterItem,
                DisplayCustomerAddressesFooterItem      = _displayDefaultFooterItemSettings.DisplayCustomerAddressesFooterItem,
                DisplayShoppingCartFooterItem           = _displayDefaultFooterItemSettings.DisplayShoppingCartFooterItem,
                DisplayWishlistFooterItem               = _displayDefaultFooterItemSettings.DisplayWishlistFooterItem,
                DisplayApplyVendorAccountFooterItem     = _displayDefaultFooterItemSettings.DisplayApplyVendorAccountFooterItem
            };

            return(model);
        }
Exemplo n.º 7
0
        //[OutputCache(Duration = 1000)]
        public ActionResult Footer()
        {
            FooterModel fm = new FooterModel();

            fm.PopularCities   = BizInfoRepository.GetMostPopularCities(true);
            fm.PopularCuisines = BizCuisineRepository.GetMostPopularCuisines(true);
            return(PartialView(fm));
        }
Exemplo n.º 8
0
        //Todo: Consider async components. Then, after considering, implement it.
        public IViewComponentResult Invoke()
        {
            var model = new FooterModel {
                Number = 3
            };                                          //TODO: Footer should contain stuff from service

            return(View(model));
        }
Exemplo n.º 9
0
        public IViewComponentResult Invoke()
        {
            FooterModel footerModel = new FooterModel()
            {
                BrandName = "loiacanoDesigns"
            };

            return(View(footerModel));
        }
Exemplo n.º 10
0
        /// <summary>
        /// Prepare the footer model
        /// </summary>
        /// <returns>Footer model</returns>
        public virtual FooterModel PrepareFooterModel()
        {
            //model
            var model = new FooterModel
            {
            };

            return(model);
        }
        public ActionResult Footer()
        {
            var model = new FooterModel()
            {
                StoreName = _storeContext.CurrentStore.GetLocalized(x => x.Name)
            };

            return(PartialView("Nop.Plugin.Misc.FacebookShop.Views.MiscFacebookShop.Footer", model));
        }
Exemplo n.º 12
0
        public ActionResult Footer()
        {
            var model = new FooterModel();

            model.Logo       = _settingService.GetSetting <string>("LogoUrl");
            model.LogoHeight = _settingService.GetSetting <int>("LogoHeight");
            model.LogoWidth  = _settingService.GetSetting <int>("LogoWidth");
            return(View(model));
        }
Exemplo n.º 13
0
        public ActionResult Footer()
        {
            var model = new FooterModel()
            {
                StoreName = _storeContext.CurrentStore.GetLocalized(x => x.Name)
            };

            return(PartialView("~/Plugins/Misc.FacebookShop/Views/MiscFacebookShop/Footer.cshtml", model));
        }
Exemplo n.º 14
0
        /// <summary>
        /// Prepare the footer model
        /// </summary>
        /// <returns>
        /// A task that represents the asynchronous operation
        /// The task result contains the footer model
        /// </returns>
        public virtual async Task <FooterModel> PrepareFooterModelAsync()
        {
            //footer topics
            var store = await _storeContext.GetCurrentStoreAsync();

            var topicModels = await(await _topicService.GetAllTopicsAsync(store.Id))
                              .Where(t => t.IncludeInFooterColumn1 || t.IncludeInFooterColumn2 || t.IncludeInFooterColumn3)
                              .SelectAwait(async t => new FooterModel.FooterTopicModel
            {
                Id     = t.Id,
                Name   = await _localizationService.GetLocalizedAsync(t, x => x.Title),
                SeName = await _urlRecordService.GetSeNameAsync(t),
                IncludeInFooterColumn1 = t.IncludeInFooterColumn1,
                IncludeInFooterColumn2 = t.IncludeInFooterColumn2,
                IncludeInFooterColumn3 = t.IncludeInFooterColumn3
            }).ToListAsync();

            //model
            var model = new FooterModel
            {
                StoreName                             = await _localizationService.GetLocalizedAsync(store, x => x.Name),
                WishlistEnabled                       = await _permissionService.AuthorizeAsync(StandardPermissionProvider.EnableWishlist),
                ShoppingCartEnabled                   = await _permissionService.AuthorizeAsync(StandardPermissionProvider.EnableShoppingCart),
                SitemapEnabled                        = _sitemapSettings.SitemapEnabled,
                SearchEnabled                         = _catalogSettings.ProductSearchEnabled,
                WorkingLanguageId                     = (await _workContext.GetWorkingLanguageAsync()).Id,
                BlogEnabled                           = _blogSettings.Enabled,
                CompareProductsEnabled                = _catalogSettings.CompareProductsEnabled,
                ForumEnabled                          = _forumSettings.ForumsEnabled,
                NewsEnabled                           = _newsSettings.Enabled,
                RecentlyViewedProductsEnabled         = _catalogSettings.RecentlyViewedProductsEnabled,
                NewProductsEnabled                    = _catalogSettings.NewProductsEnabled,
                DisplayTaxShippingInfoFooter          = _catalogSettings.DisplayTaxShippingInfoFooter,
                HidePoweredByNopCommerce              = _storeInformationSettings.HidePoweredByNopCommerce,
                IsHomePage                            = _webHelper.GetStoreLocation().Equals(_webHelper.GetThisPageUrl(false), StringComparison.InvariantCultureIgnoreCase),
                AllowCustomersToApplyForVendorAccount = _vendorSettings.AllowCustomersToApplyForVendorAccount,
                AllowCustomersToCheckGiftCardBalance  = _customerSettings.AllowCustomersToCheckGiftCardBalance && _captchaSettings.Enabled,
                Topics = topicModels,
                DisplaySitemapFooterItem                = _displayDefaultFooterItemSettings.DisplaySitemapFooterItem,
                DisplayContactUsFooterItem              = _displayDefaultFooterItemSettings.DisplayContactUsFooterItem,
                DisplayProductSearchFooterItem          = _displayDefaultFooterItemSettings.DisplayProductSearchFooterItem,
                DisplayNewsFooterItem                   = _displayDefaultFooterItemSettings.DisplayNewsFooterItem,
                DisplayBlogFooterItem                   = _displayDefaultFooterItemSettings.DisplayBlogFooterItem,
                DisplayForumsFooterItem                 = _displayDefaultFooterItemSettings.DisplayForumsFooterItem,
                DisplayRecentlyViewedProductsFooterItem = _displayDefaultFooterItemSettings.DisplayRecentlyViewedProductsFooterItem,
                DisplayCompareProductsFooterItem        = _displayDefaultFooterItemSettings.DisplayCompareProductsFooterItem,
                DisplayNewProductsFooterItem            = _displayDefaultFooterItemSettings.DisplayNewProductsFooterItem,
                DisplayCustomerInfoFooterItem           = _displayDefaultFooterItemSettings.DisplayCustomerInfoFooterItem,
                DisplayCustomerOrdersFooterItem         = _displayDefaultFooterItemSettings.DisplayCustomerOrdersFooterItem,
                DisplayCustomerAddressesFooterItem      = _displayDefaultFooterItemSettings.DisplayCustomerAddressesFooterItem,
                DisplayShoppingCartFooterItem           = _displayDefaultFooterItemSettings.DisplayShoppingCartFooterItem,
                DisplayWishlistFooterItem               = _displayDefaultFooterItemSettings.DisplayWishlistFooterItem,
                DisplayApplyVendorAccountFooterItem     = _displayDefaultFooterItemSettings.DisplayApplyVendorAccountFooterItem
            };

            return(model);
        }
Exemplo n.º 15
0
        public async Task <IViewComponentResult> InvokeAsync()
        {
            var footerModel = new FooterModel();

            footerModel.Infos = await Task.Run(() => _infoService.GetAll(Data.Enum.InfoType.InfoCompay));

            footerModel.PageContents = _pageContentService.GetAll(true, Data.Enum.Languages.Vi);
            return(View("_Footer", footerModel));
        }
Exemplo n.º 16
0
        public IViewComponentResult Invoke()
        {
            var model = new FooterModel
            {
                StoreName = _localizationService.GetLocalized(_storeContext.CurrentStore, x => x.Name)
            };

            return(View("~/Plugins/Misc.FacebookShop/Views/Footer.cshtml", model));
        }
Exemplo n.º 17
0
        public ActionResult Footer()
        {
            var model = new FooterModel()
            {
                StoreName = _storeContext.CurrentStore.Name
            };

            return(PartialView(model));
        }
Exemplo n.º 18
0
        public ActionResult Footer()
        {
            var model = new FooterModel()
            {
                StoreName = _storeInformationSettings.StoreName
            };

            return(PartialView(model));
        }
Exemplo n.º 19
0
        public ActionResult Footer()
        {
            var Footer = new FooterModel()
            {
                shop = db.shops.ToList(),
                news = db.news.ToList()
            };

            return(View(Footer));
        }
Exemplo n.º 20
0
        public ActionResult Footer()
        {
            var Footer = new FooterModel()
            {
                shop = ibranchrepository.getlist(),
                news = db.news.ToList()
            };

            return(View(Footer));
        }
Exemplo n.º 21
0
        public static FooterModel MapFooter(Item item)
        {
            FooterModel model = new FooterModel();

            // Footer
            model.Date        = item[SiteRootItemFields.Date];
            model.Contacts    = item[SiteRootItemFields.Contacts];
            model.Information = item[SiteRootItemFields.Information];

            return(model);
        }
Exemplo n.º 22
0
        public virtual ActionResult footer()
        {
            FooterModel footerModel = new FooterModel();

            footerModel.aboutUsViewModel       = _optionService.GetByCulterAboutUsV();
            footerModel.settingViewModelCultur = _optionService.GetAllSettingByCultur();
            footerModel.postModeList           = _postService.GetByCulterPost();
            footerModel.serviceModelList       = _serviceService.GetByCulterPost();

            return(PartialView("footer", footerModel));
        }
Exemplo n.º 23
0
        public ActionResult Footer()
        {
            var footer = new FooterModel()
            {
                Content  = layoutContentRepositoryFE.GetItemById(Convert.ToInt32(Resources.ResourceID.Footer)),
                Social   = layoutContentRepositoryFE.GetItemById(Convert.ToInt32(Resources.ResourceID.ContentSocialFooter)),
                ListMenu = menuRepositoryFE.GetListByParent(Resources.ResourceID.MenuFooter)
            };

            return(View(footer));
        }
Exemplo n.º 24
0
 private void FooterNavigationClick(FooterModel footer)
 {
     try
     {
         FooterNavigation(footer);
     }
     catch (Exception exception)
     {
         Console.Write(exception);
     }
 }
Exemplo n.º 25
0
        public async Task <IViewComponentResult> InvokeAsync()
        {
            int langId = HttpContext.GetLanguage("langId");

            FooterModel footerModel = new FooterModel()
            {
                Setting = await db.Settings.FirstOrDefaultAsync(),
                SubcategoryLanguages = await db.SubcategoryLanguages.Where(scl => scl.LanguageId == langId).ToListAsync()
            };

            return(View(footerModel));
        }
        public ActionResult Index()
        {
            FooterModel model = new FooterModel()
            {
                VeChungTois    = _menuRepository.GetMany(o => o.Style == "ve-chung-toi" && o.ok && o.idControl != 0).OrderByDescending(o => o.sDate).Take(4).ToList(),
                HoTros         = _menuRepository.GetMany(o => o.Style == "ho-tro" && o.ok && o.idControl != 0).OrderByDescending(o => o.sDate).Take(4).ToList(),
                TuKhoaTimKiems = _tuKhoaTimKiemRepository.DanhSachTuKhoa(),
                CauHinh        = _cauHinhRepository.GetAll().FirstOrDefault()
            };

            return(View("FooterPartial", model));
        }
Exemplo n.º 27
0
        protected virtual void UpdateEnabledModules(FooterModel model)
        {
            model.HomeUrl            = Url.Action(IndexAction, HomeController.Name);
            model.IsMyAccountEnabled = true;

            model.CurrencyTypeUrl       = Url.Action(IndexAction, CurrencyTypeController.Name);
            model.IsCurrencyTypeEnabled = true || UserPrincipal.IsAuthenticated &&
                                          (UserPrincipal.CurrentUser.IsInRole(Constants.Roles.AdminPrincipal) ||
                                           UserPrincipal.CurrentUser.IsInRole(Constants.Roles.SuPrincipal));

            model.TransactionUrl       = Url.Action(IndexAction, MainGridController.Name);
            model.IsTransactionEnabled = true || UserPrincipal.IsAuthenticated;
        }
        public void Update(FooterModel model)
        {
            var data = Connect_Enttity.Footers.FirstOrDefault(x => x.ID == model.ID);

            if (data != null)
            {
                data.ID      = model.ID;
                data.Content = model.Content;

                Connect_Enttity.SaveChanges();
                Dispose();
            }
        }
Exemplo n.º 29
0
        public ActionResult HeaderMenu()
        {
            var model = new FooterModel()
            {
                StoreName = _storeInformationSettings.StoreName
            };

            model.Topics = _topicService.GetHeaderTopics().OrderBy(x => x.Priority).Select(x => new TopicModel()
            {
                Title = x.MenuTitle, SystemName = x.SystemName
            }).ToList();
            return(PartialView(model));
        }
Exemplo n.º 30
0
        public override IRenderingModelBase GetModel()
        {
            FooterModel footer = new FooterModel();

            if (Rendering.DataSource != null)
            {
                var dataSourceItem = ContentRepository.GetItem(Rendering.DataSource);
                footer.CopyRightsText = string.Format(dataSourceItem.Fields["Text"].Value, DateTime.Now.Year);
            }
            FillBaseProperties(footer);

            return(footer);
        }
Exemplo n.º 31
0
        public ActionResult Footer()
        {
            //footer topics
            string topicCacheKey = string.Format(ModelCacheEventConsumer.TOPIC_FOOTER_MODEL_KEY,
                _workContext.WorkingLanguage.Id, _storeContext.CurrentStore.Id);
            var cachedTopicModel = _cacheManager.Get(topicCacheKey, () =>
                _topicService.GetAllTopics(_storeContext.CurrentStore.Id)
                .Where(t => t.IncludeInFooterColumn1 || t.IncludeInFooterColumn2 || t.IncludeInFooterColumn3)
                .Select(t => new FooterModel.FooterTopicModel
                {
                    Id = t.Id,
                    Name = t.GetLocalized(x => x.Title),
                    SeName = t.GetSeName(),
                    IncludeInFooterColumn1 = t.IncludeInFooterColumn1,
                    IncludeInFooterColumn2 = t.IncludeInFooterColumn2,
                    IncludeInFooterColumn3 = t.IncludeInFooterColumn3
                })
                .ToList()
            );

            //model
            var model = new FooterModel
            {
                StoreName = _storeContext.CurrentStore.GetLocalized(x => x.Name),
                WishlistEnabled = _permissionService.Authorize(StandardPermissionProvider.EnableWishlist),
                ShoppingCartEnabled = _permissionService.Authorize(StandardPermissionProvider.EnableShoppingCart),
                SitemapEnabled = _commonSettings.SitemapEnabled,
                WorkingLanguageId = _workContext.WorkingLanguage.Id,
                FacebookLink = _storeInformationSettings.FacebookLink,
                TwitterLink = _storeInformationSettings.TwitterLink,
                YoutubeLink = _storeInformationSettings.YoutubeLink,
                GooglePlusLink = _storeInformationSettings.GooglePlusLink,
                BlogEnabled = _blogSettings.Enabled,
                CompareProductsEnabled = _catalogSettings.CompareProductsEnabled,
                ForumEnabled = _forumSettings.ForumsEnabled,
                NewsEnabled = _newsSettings.Enabled,
                RecentlyViewedProductsEnabled = _catalogSettings.RecentlyViewedProductsEnabled,
                RecentlyAddedProductsEnabled = _catalogSettings.RecentlyAddedProductsEnabled,
                DisplayTaxShippingInfoFooter = _catalogSettings.DisplayTaxShippingInfoFooter,
                Topics = cachedTopicModel
            };

            return PartialView(model);
        }