Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

SitemapXmlSettings.cs

using Nop.Core.Configuration;

namespace Nop.Core.Domain.Common;

/// 
/// Represent sitemap.xml settings
/// 
public partial class SitemapXmlSettings : ISettings
{
    public SitemapXmlSettings()
    {
        SitemapCustomUrls = new List();
    }

    /// 
    /// Gets or sets a value indicating whether sitemap.xml is enabled
    /// 
    public bool SitemapXmlEnabled { get; set; }

    /// 
    /// Gets or sets a value indicating whether to include blog posts to sitemap.xml
    /// 
    public bool SitemapXmlIncludeBlogPosts { get; set; }

    /// 
    /// Gets or sets a value indicating whether to include categories to sitemap.xml
    /// 
    public bool SitemapXmlIncludeCategories { get; set; }

    /// 
    /// Gets or sets a value indicating whether to include custom urls to sitemap.xml
    /// 
    public bool SitemapXmlIncludeCustomUrls { get; set; }

    /// 
    /// Gets or sets a value indicating whether to include manufacturers to sitemap.xml
    /// 
    public bool SitemapXmlIncludeManufacturers { get; set; }

    /// 
    /// Gets or sets a value indicating whether to include news to sitemap.xml
    /// 
    public bool SitemapXmlIncludeNews { get; set; }

    /// 
    /// Gets or sets a value indicating whether to include products to sitemap.xml
    /// 
    public bool SitemapXmlIncludeProducts { get; set; }

    /// 
    /// Gets or sets a value indicating whether to include product tags to sitemap.xml
    /// 
    public bool SitemapXmlIncludeProductTags { get; set; }

    /// 
    /// Gets or sets a value indicating whether to include topics to sitemap.xml
    /// 
    public bool SitemapXmlIncludeTopics { get; set; }

    /// 
    /// A list of custom URLs to be added to sitemap.xml (include page names only)
    /// 
    public List SitemapCustomUrls { get; set; }

    /// 
    /// Gets or sets a value indicating after which period of time the sitemap files will be rebuilt (in hours)
    /// 
    public int RebuildSitemapXmlAfterHours { get; set; }

    /// 
    /// Gets or sets the wait time (in seconds) before the operation can be started again
    /// 
    public int SitemapBuildOperationDelay { get; set; }
}