Class CatalogOptions
Contains options for the catalog system.
Inheritance
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
public class CatalogOptions : Object
Constructors
CatalogOptions()
Declaration
public CatalogOptions()
Properties
ArchivedThreshold
Declaration
public int ArchivedThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
AutoConfigure
Root config attribute which determines whether to auto configure the Catalog System when first initialized.
Declaration
public bool AutoConfigure { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Cache
Represents cache options for catalog system.
Declaration
public CatalogCacheOptions Cache { get; set; }
Property Value
Type | Description |
---|---|
CatalogCacheOptions |
CatalogEventLevel
Used to control which events will be raised remotely. Default is All.
Declaration
public CatalogEventLevel CatalogEventLevel { get; set; }
Property Value
Type | Description |
---|---|
CatalogEventLevel |
CatalogImportBatchSize
Gets or sets the Batches size of the entries when importing catalog. Default is 200.
Declaration
public int CatalogImportBatchSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Number of entries to import per batch. |
CommandTimeout
Gets or sets a value indicating whether to user custom sql command timeout or not. Default is -1.
Declaration
public int CommandTimeout { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | CommandTimeout in seconds |
DisableCatalogEventDrivenIndexing
Disables event indexing for the commerce search prvoider not Find. Default is false.
Declaration
public bool DisableCatalogEventDrivenIndexing { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DraftMigrationBatchSize
Batch size when migrating legacy drafts to the new version store. Default is 5000.
Declaration
public int DraftMigrationBatchSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DraftMigrationTimeSpan
Timout for draft store migration from legacy to new version store.
Declaration
public TimeSpan DraftMigrationTimeSpan { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
EnableFeatureGetReferencesInCatalog
Enable feature Get references using linked catalog content. Default is false.
Declaration
public bool EnableFeatureGetReferencesInCatalog { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnsurePublishedVersionInAllLanguages
If this set to true, draft versions will be also published when the content is published/active.
Declaration
public bool EnsurePublishedVersionInAllLanguages { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IgnorePropertyAndMetafieldMisMatch
Ignores Meta field mismatches in catalog content scanning. Default is false.
Declaration
public bool IgnorePropertyAndMetafieldMisMatch { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SalePriceTypes
Represents configures SalePriceTypes.
Declaration
public List<SalePriceTypeDefinition> SalePriceTypes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<SalePriceTypeDefinition> |
ShowVariationListPrice
Enables the display of the obsolete variation list price in the catalog entry edit UI.
Declaration
public bool ShowVariationListPrice { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SimplifiedCatalogListingThreshold
Number of records which the catalog listing view does not group products and variants. The default is 2000.
Declaration
public int SimplifiedCatalogListingThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SkipCatalogContentModelCheck
Disables validating models exist in application domain. Default is false.
Declaration
public bool SkipCatalogContentModelCheck { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
ConfigureMetaData()
Configures metadata for catalog system
Declaration
public void ConfigureMetaData()