Table of Contents

Class ShopUrlDataProvider

Namespace
Dynamicweb.Ecommerce.Frontend.UrlHandling
Assembly
Dynamicweb.Ecommerce.dll
[AddInName("Ecommerce")]
public class ShopUrlDataProvider : UrlDataProvider, IDropDownOptionActions, IDropDownOptions
Inheritance
ShopUrlDataProvider
Implements
Inherited Members

Properties

GroupPath

[AddInLabel("Groups")]
[AddInParameter("GroupPath")]
[AddInParameterEditor(typeof(RadioParameterEditor), "")]
public string GroupPath { get; set; }

Property Value

string

Include

[AddInLabel("Include")]
[AddInParameter("Include")]
[AddInParameterEditor(typeof(RadioParameterEditor), "SortBy=Key")]
public string Include { get; set; }

Property Value

string

IncludeFrom

[AddInLabel("Shop")]
[AddInParameter("IncludeFrom")]
[AddInParameterEditor(typeof(RadioParameterEditor), "SortBy=Key")]
public string IncludeFrom { get; set; }

Property Value

string

IncludeLanguage

[AddInLabel("Language")]
[AddInParameter("IncludeLanguage")]
[AddInParameterEditor(typeof(RadioParameterEditor), "SortBy=Key")]
public string IncludeLanguage { get; set; }

Property Value

string

IncludeVariantsInSitemapXml

[AddInLabel("Include variants in sitemap.xml")]
[AddInParameter("IncludeVariantsInSitemapXml")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool IncludeVariantsInSitemapXml { get; set; }

Property Value

bool

ProductPath

[AddInLabel("Products")]
[AddInParameter("ProductPath")]
[AddInParameterEditor(typeof(RadioParameterEditor), "")]
public string ProductPath { get; set; }

Property Value

string

SelectedLanguageId

[AddInLabel("Selected language")]
[AddInParameter("SelectedLanguageId")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "")]
public string SelectedLanguageId { get; set; }

Property Value

string

SelectedShopId

[AddInLabel("Selected shop")]
[AddInParameter("SelectedShopId")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "")]
public string SelectedShopId { get; set; }

Property Value

string

Methods

GetOptions(string)

Get options for editors with multiple values
public Hashtable GetOptions(string dropdownName)

Parameters

dropdownName string

Returns

Hashtable

GetParametersToHide(string, string)

public List<string> GetParametersToHide(string dropdownName, string optionKey)

Parameters

dropdownName string
optionKey string

Returns

List<string>

GetSectionsToHide(string, string)

public List<string> GetSectionsToHide(string dropdownName, string optionKey)

Parameters

dropdownName string
optionKey string

Returns

List<string>

GetUrlDataNodes(UrlDataNode, UrlDataContext)

public override IEnumerable<UrlDataNode> GetUrlDataNodes(UrlDataNode parent, UrlDataContext dataContext)

Parameters

parent UrlDataNode
dataContext UrlDataContext

Returns

IEnumerable<UrlDataNode>

RenderAdditionalContent(TextWriter)

Renders the content of the additional.
public override void RenderAdditionalContent(TextWriter output)

Parameters

output TextWriter
The output.
To top