Table of Contents

Class Renderer

Namespace
Dynamicweb.Ecommerce.Frontend
Assembly
Dynamicweb.Ecommerce.dll
public class Renderer
Inheritance
Renderer
Inherited Members

Constructors

Renderer()

Initializes a new instance of the class.
public Renderer()

Renderer(PageView)

Initializes a new instance of the class.
public Renderer(PageView pageView)

Parameters

pageView PageView
The PageView.

Renderer(PageView, int)

Initializes a new instance of the class.f
public Renderer(PageView pageView, int paragraphId)

Parameters

pageView PageView
The PageView.
paragraphId int
The paragraph id.

Properties

ContentModule

Gets or sets the content module.
public ContentModule ContentModule { get; set; }

Property Value

ContentModule

IsOrderRendering

Gets or sets the value indicating whether need to render the order.
public bool IsOrderRendering { get; set; }

Property Value

bool

PageView

Gets or sets the PageView.
public PageView PageView { get; set; }

Property Value

PageView

ParagraphId

Gets or sets the paragraph id.
public int ParagraphId { get; set; }

Property Value

int

ParagraphSettings

Gets or sets the ProductCatalogSettings.
public ProductCatalogSettings ParagraphSettings { get; set; }

Property Value

ProductCatalogSettings

Methods

FileExists(string)

Checks the existence of the file.
[Obsolete("Use Services.ProductImages.FileExists instead.")]
public bool FileExists(string imagePath)

Parameters

imagePath string
The image path.

Returns

bool
true if file exists.

ForcePageId(int)

Forces the page id.
public void ForcePageId(int pageId)

Parameters

pageId int
The page id.

GetProductImage(string, string)

Gets the product image.
[Obsolete("Use Services.ProductImages.GetProductImage instead.")]
public string GetProductImage(string imagePath, string imageSize)

Parameters

imagePath string
The image path.
imageSize string
the image size.

Returns

string

InitializeImagePatternSettings(string)

Initialize settings to render product's alternative images
public void InitializeImagePatternSettings(string imagePatternProductCatalog)

Parameters

imagePatternProductCatalog string
The URL of product catalog with image patterns

Pid()

Gets the "PID=" URL segment.
public string Pid()

Returns

string

RenderBoughtFromDateTags(Template, DateTime)

Renders the orders from specified date.
public void RenderBoughtFromDateTags(Template template, DateTime boughtFromGivenDate)

Parameters

template Template
The Template.
boughtFromGivenDate DateTime
The date.

RenderCountries(CountryCollection, Template, string)

Renders the countries.
public static void RenderCountries(CountryCollection countryCollection, Template parentTemplate, string loopName)

Parameters

countryCollection CountryCollection
The countries.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderCountry(Country, Template)

Renders the country.
public static void RenderCountry(Country country, Template template)

Parameters

country Country
The country.
template Template
The Template.

RenderCurrencies(Template)

Renders all currencies on the site.
public static void RenderCurrencies(Template template)

Parameters

template Template
The Template.

RenderCurrency(Currency, Template, string)

Renders the currency.
public static void RenderCurrency(Currency currency, Template template, string tagName)

Parameters

currency Currency
The currency.
template Template
The Template.
tagName string
Name of the prefix of the tag, i.e. 'Currency' in the tag Currency.Code.

RenderCustomFields(Template, string)

Renders the custom fields.
public void RenderCustomFields(Template parentTemplate, string loopName)

Parameters

parentTemplate Template
The Template.
loopName string
The loop name.

RenderCustomGroupField(ProductFieldValueCollection, Template)

Renders the custom fields.
public void RenderCustomGroupField(ProductFieldValueCollection productFieldValues, Template template)

Parameters

productFieldValues ProductFieldValueCollection
The custom fields.
template Template
The Template.

RenderCustomProductField(Product, Template)

Renders the custom field.
public void RenderCustomProductField(Product product, Template template)

Parameters

product Product
The product.
template Template
The Template.

RenderDetail(Detail, Template)

Render the detail.
public void RenderDetail(Detail detail, Template template)

Parameters

detail Detail
The detail.
template Template
The Template.

RenderDetails(IEnumerable<Detail>, Template, string)

Renders the details.
public void RenderDetails(IEnumerable<Detail> details, Template parentTemplate, string loopName)

Parameters

details IEnumerable<Detail>
The details.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderGiftCards(IEnumerable<GiftCard>, Template)

Render bought gift cards products.
public void RenderGiftCards(IEnumerable<GiftCard> giftCards, Template parentTemplate)

Parameters

giftCards IEnumerable<GiftCard>
The gift cards.
parentTemplate Template
The Template.

RenderGroup(Group, Template)

Renders single group.
public void RenderGroup(Group group, Template template)

Parameters

group Group
Group to render.
template Template
The Template.

RenderGroup(Group, Template, bool)

Renders single group.
public void RenderGroup(Group group, Template template, bool renderSubGroups)

Parameters

group Group
Group to render.
template Template
The Template.
renderSubGroups bool
Indicates whether to render sub-groups (if the corresponding loop is defined in a template).

RenderGroupCategory(Group, Template)

Renders group categories.
public void RenderGroupCategory(Group group, Template template)

Parameters

group Group
Group whose category shold be rendered.
template Template
The Template.

RenderGroups(GroupCollection)

Renders the groups.
[Obsolete("Use overload with IEnumerable groups instead.")]
public string RenderGroups(GroupCollection groups)

Parameters

groups GroupCollection
The groups.

Returns

string
The HTML.

RenderGroups(GroupCollection, Template, string)

Renders the groups.
[Obsolete("Use overload with IEnumerable groups instead.")]
public void RenderGroups(GroupCollection groups, Template parentTemplate, string loopName)

Parameters

groups GroupCollection
The groups.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderGroups(IEnumerable<Group>)

Renders the groups.
public string RenderGroups(IEnumerable<Group> groups)

Parameters

groups IEnumerable<Group>
The groups.

Returns

string
The HTML.

RenderGroups(IEnumerable<Group>, Template, string)

Renders the groups.
public void RenderGroups(IEnumerable<Group> groups, Template parentTemplate, string loopName)

Parameters

groups IEnumerable<Group>
The groups.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderGroupTemplateExtenders(Group, Template)

Extends a Group template with TemplateExtenders
public void RenderGroupTemplateExtenders(Group group, Template template)

Parameters

group Group
template Template
The Template.

RenderOrder(Order, Template)

Renders the order.
public void RenderOrder(Order order, Template template)

Parameters

order Order
The order.
template Template
The Template.

RenderOrder(Order, Template, bool, int)

Renders the order.
public void RenderOrder(Order order, Template template, bool extendedProperties, int stepNumber)

Parameters

order Order
The order.
template Template
The Template.
extendedProperties bool
If set to true, renders with the extended properties.
stepNumber int
The step number.

RenderOrderContext(OrderContext, Template, string)

Renders the orderContext.
public static void RenderOrderContext(OrderContext orderContext, Template template, string tagName)

Parameters

orderContext OrderContext
The orderContext.
template Template
The Template.
tagName string
Name of the prefix of the tag, i.e. 'OrderContext' in the tag OrderContext.Name.

RenderOrderContexts(Template)

Renders all order contexts on the site.
public static void RenderOrderContexts(Template template)

Parameters

template Template
The Template.

RenderOrderDetails(Template, Order, bool)

Renders the order detail.
public void RenderOrderDetails(Template template, Order order, bool extendedProperties)

Parameters

template Template
The Template.
order Order
The order.
extendedProperties bool
If set to true, renders with the extended properties.

RenderOrderDetails(Template, Order, bool, OrderTemplateExtenderContext)

Renders the order details.
public void RenderOrderDetails(Template template, Order order, bool extendedProperties, OrderTemplateExtenderContext orderContext)

Parameters

template Template
The Template.
order Order
The order.
extendedProperties bool
If set to true, renders with the extended properties.
orderContext OrderTemplateExtenderContext
The order context.

RenderOrderFieldValues(Order, ref Template)

Renders the order fields.
public static void RenderOrderFieldValues(Order order, ref Template template)

Parameters

order Order
The order.
template Template
The Template.

RenderOrderLine(OrderLine, Template)

Renders the order line.
public void RenderOrderLine(OrderLine orderLine, Template template)

Parameters

orderLine OrderLine
The order line.
template Template
The Template.

RenderOrderLines(OrderLineCollection, Template, string)

Renders the order lines.
public void RenderOrderLines(OrderLineCollection orderLines, Template parentTemplate, string loopName)

Parameters

orderLines OrderLineCollection
The order lines.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderOrderLineTemplateExtenders(Order, OrderLine, Template, TemplateExtenderRenderingState)

Extends a Cart template with TemplateExtenders
public void RenderOrderLineTemplateExtenders(Order order, OrderLine orderLine, Template template, TemplateExtenderRenderingState renderingState)

Parameters

order Order
The currently rendered Order
orderLine OrderLine
The currently rendered OrderLine
template Template
The Template.
renderingState TemplateExtenderRenderingState

RenderOrderTaxes(OrderLineCollection, Template)

Render order taxes.
public void RenderOrderTaxes(OrderLineCollection orderLines, Template template)

Parameters

orderLines OrderLineCollection
The order lines.
template Template
The Template.

RenderOrderTemplateExtenders(Order, Template, TemplateExtenderRenderingState)

Extends a Order template with TemplateExtenders.
public static void RenderOrderTemplateExtenders(Order order, Template template, TemplateExtenderRenderingState renderingState)

Parameters

order Order
The currently rendered Order.
template Template
The Template.
renderingState TemplateExtenderRenderingState

RenderOrderTemplateExtenders(Order, Template, TemplateExtenderRenderingState, int)

Extends an Order with TemplateExtenders.
public static void RenderOrderTemplateExtenders(Order order, Template template, TemplateExtenderRenderingState renderingState, int paragraphId)

Parameters

order Order
The order.
template Template
The Template.
renderingState TemplateExtenderRenderingState
The rendering state.
paragraphId int
The paragraph id.

RenderPriceInfo(IPriceInfo, Template, string)

Renders the price information.
public static void RenderPriceInfo(IPriceInfo price, Template template, string tagName)

Parameters

price IPriceInfo
The price.
template Template
The Template.
tagName string
The template tag name.

RenderProduct(Product, bool)

Renders the product.
public string RenderProduct(Product product, bool extendedProperties)

Parameters

product Product
The product.
extendedProperties bool
If set to true, renders with the extended properties.

Returns

string
The HTML.

RenderProduct(Product, bool, Template)

Renders the product.
public void RenderProduct(Product product, bool extendedProperties, Template template)

Parameters

product Product
The product.
extendedProperties bool
If set to true, renders with the extended properties.
template Template
The Template.

RenderProduct(Product, bool, Template, int)

Renders the product.
public void RenderProduct(Product product, bool extendedProperties, Template template, int loopCounter)

Parameters

product Product
The product.
extendedProperties bool
If set to true, renders with the extended properties.
template Template
The Template.
loopCounter int
The loop counter.

RenderProduct(Product, bool, Template, int, bool, int)

Renders the product.
public void RenderProduct(Product product, bool extendedProperties, Template template, int loopCounter, bool renderRelated, int orderLineOfProductCount = 0)

Parameters

product Product
The product.
extendedProperties bool
If set to true, renders with the extended properties.
template Template
The Template.
loopCounter int
The loop counter.
renderRelated bool
Is set to true, renders related products.
orderLineOfProductCount int
The order line.

RenderProduct(Product, bool, Template, int, bool, string)

Renders the product.
public void RenderProduct(Product product, bool extendedProperties, Template template, int loopCounter, bool renderRelated, string productUrl)

Parameters

product Product
The product.
extendedProperties bool
If set to true, renders with the extended properties.
template Template
The Template.
loopCounter int
The loop counter.
renderRelated bool
Is set to true, renders related products.
productUrl string
The product URL.

RenderProduct(Product, bool, Template, int, bool, string, int, int)

Renders the product.
public void RenderProduct(Product product, bool extendedProperties, Template template, int loopCounter, bool renderRelated, string productUrl, int quantity, int wishListId)

Parameters

product Product
The product.
extendedProperties bool
If set to true, renders with the extended properties.
template Template
The Template.
loopCounter int
The loop counter.
renderRelated bool
Is set to true, renders related products.
productUrl string
The product URL.
quantity int
The quantity.
wishListId int
The wishlist id.

RenderProduct(Product, bool, Template, int, bool, string, int, int, bool, int)

Renders the product.
public void RenderProduct(Product product, bool extendedProperties, Template template, int loopCounter, bool renderRelated, string productUrl, int quantity, int wishListId, bool renderPublicList, int orderLineOfProductCount = 0)

Parameters

product Product
The product.
extendedProperties bool
If set to true, renders with the extended properties.
template Template
The Template.
loopCounter int
The loop counter.
renderRelated bool
Is set to true, renders related products.
productUrl string
The product URL.
quantity int
The quantity.
wishListId int
The wishlist id.
renderPublicList bool
If set to true it is public list.
orderLineOfProductCount int
The order line.

RenderProduct(Product, bool, string)

Renders the product.
public string RenderProduct(Product product, bool extendedProperties, string unitId)

Parameters

product Product
The product.
extendedProperties bool
If set to true, renders with the extended properties.
unitId string

Returns

string
The HTML.

RenderProductCategories(Product, Template, string)

Renders product categories.
public void RenderProductCategories(Product product, Template template, string loopName)

Parameters

product Product
Product whose categories shold be rendered.
template Template
The Template.
loopName string
The name of the template loop.

RenderProductCategoryFields(Product, Category, Template, string)

Renders product category field values from the specified category.
public void RenderProductCategoryFields(Product product, Category category, Template template, string loopName)

Parameters

product Product
Product whose category field values needs to be rendered.
category Category
Product category.
template Template
The Template.
loopName string
The name of the loop within the template.

RenderProductCustomFields(ProductFieldValueCollection, Template, string)

Renders the custom fields.
public void RenderProductCustomFields(ProductFieldValueCollection productFieldValues, Template parentTemplate, string loopName)

Parameters

productFieldValues ProductFieldValueCollection
The custom fields.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderProductCustomFieldValues(ProductFieldValueCollection, Template, string)

Renders the custom fields.
public void RenderProductCustomFieldValues(ProductFieldValueCollection productFieldValues, Template parentTemplate, string loopName)

Parameters

productFieldValues ProductFieldValueCollection
The custom fields.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderProductGroupCustomFields(ProductGroupFieldValueCollection, Template, string)

Renders the custom fields.
public void RenderProductGroupCustomFields(ProductGroupFieldValueCollection productGroupFieldValues, Template parentTemplate, string loopName)

Parameters

productGroupFieldValues ProductGroupFieldValueCollection
The custom fields.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderProductGroupCustomFields(string, ProductGroupFieldValueCollection, Template, string)

Renders the custom fields.
public void RenderProductGroupCustomFields(string languageId, ProductGroupFieldValueCollection productGroupFieldValues, Template parentTemplate, string loopName)

Parameters

languageId string
The language id.
productGroupFieldValues ProductGroupFieldValueCollection
The custom fields.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderProductGroups(Template)

Renders the product groups.
public void RenderProductGroups(Template parentTemplate)

Parameters

parentTemplate Template
The Template.

RenderProductListTemplateExtenders(ProductCollection, Template)

Extends a ProductList template with TemplateExtenders.
public void RenderProductListTemplateExtenders(ProductCollection products, Template template)

Parameters

products ProductCollection
The currently rendered product.
template Template
The Template.

RenderProductManufacturer(Manufacturer, Template)

Renders the product manufacturer.
public void RenderProductManufacturer(Manufacturer manufacturer, Template template)

Parameters

manufacturer Manufacturer
The product manufacturer.
template Template
The Template.

RenderProductRelatedGroups(Product, Template, string)

Renders the related products groups.
public void RenderProductRelatedGroups(Product product, Template parentTemplate, string loopName)

Parameters

product Product
The product.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderProducts(ProductCollection)

Renders the products.
public string RenderProducts(ProductCollection products)

Parameters

products ProductCollection
A collection of the products.

Returns

string
The HTML.

RenderProducts(ProductCollection, Template)

Renders the products.
public void RenderProducts(ProductCollection products, Template parentTemplate)

Parameters

products ProductCollection
A collection of the products.
parentTemplate Template
The Template.

RenderProducts(ProductCollection, Template, string)

Renders the products.
public void RenderProducts(ProductCollection products, Template parentTemplate, string loopName)

Parameters

products ProductCollection
A collection of the products.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderProducts(ProductCollection, Template, string, int)

Renders the products.
public void RenderProducts(ProductCollection products, Template parentTemplate, string loopName, int loopCounter)

Parameters

products ProductCollection
A collection of the products.
parentTemplate Template
The Template.
loopName string
The loop name.
loopCounter int
The loop counter.

RenderProductsSimpleWithQuantity(Dictionary<Product, int>, Template, int)

Renders the products with the quantity.
public void RenderProductsSimpleWithQuantity(Dictionary<Product, int> productDictionary, Template template, int wishListId)

Parameters

productDictionary Dictionary<Product, int>
A dictionary of the products and quantity.
template Template
The Template.
wishListId int
The wishlist id.

RenderProductTaxes(OrderLineCollection, OrderLine, Template)

Render taxes for product.
public void RenderProductTaxes(OrderLineCollection orderLines, OrderLine orderLine, Template template)

Parameters

orderLines OrderLineCollection
The order lines.
orderLine OrderLine
The order line.
template Template
The Template.

RenderProductTemplateExtenders(Product, Template)

Extends a product template with TemplateExtenders.
public void RenderProductTemplateExtenders(Product product, Template template)

Parameters

product Product
The product.
template Template
The Template.

RenderProductTemplateExtenders(Product, Template, bool)

Extends a Product template with TemplateExtenders.
public void RenderProductTemplateExtenders(Product product, Template template, bool extendedProperties)

Parameters

product Product
The currently rendered product
template Template
The Template.
extendedProperties bool
If set to true, renders with the extended properties.

RenderRma(ReturnMerchandiseAuthorization, Template, string, bool, bool, bool)

Renders the RMA.
public void RenderRma(ReturnMerchandiseAuthorization rma, Template template, string orderId, bool hasAddProductComment, bool hasAddContent, bool hasCancelContent)

Parameters

rma ReturnMerchandiseAuthorization
The rma.
template Template
The Template.
orderId string
The order ID.
hasAddProductComment bool
if set to true render the has add product comment.
hasAddContent bool
if set to true has add content.
hasCancelContent bool
if set to true has cancel content.

RenderRmaComment(ReturnMerchandiseAuthorizationComment, Template, bool, bool)

Renders the RMA comment.
public void RenderRmaComment(ReturnMerchandiseAuthorizationComment comment, Template template, bool hasAddContent, bool hasCancelContent)

Parameters

comment ReturnMerchandiseAuthorizationComment
The comment.
template Template
The Template.
hasAddContent bool
if set to true has add content.
hasCancelContent bool
if set to true has cancel content.

RenderRmaComments(ReturnMerchandiseAuthorizationCommentCollection, Template, string, bool, bool)

Renders the RMA comments.
public void RenderRmaComments(ReturnMerchandiseAuthorizationCommentCollection comments, Template parentTemplate, string loopName, bool hasAddContent, bool hasCancelContent)

Parameters

comments ReturnMerchandiseAuthorizationCommentCollection
The comments.
parentTemplate Template
The Template.
loopName string
Name of the loop.
hasAddContent bool
if set to true has add content.
hasCancelContent bool
if set to true has cancel content.

RenderRmaDetails(Template, ReturnMerchandiseAuthorization, string, bool, bool, bool)

Renders the RMA details.
public void RenderRmaDetails(Template template, ReturnMerchandiseAuthorization rma, string orderId, bool hasAddProductComment, bool hasAddContent, bool hasCancelContent)

Parameters

template Template
The Template.
rma ReturnMerchandiseAuthorization
The rma.
orderId string
The order ID.
hasAddProductComment bool
if set to true has add product comment.
hasAddContent bool
if set to true has add content.
hasCancelContent bool
if set to true has cancel content.

RenderRmaHasContent(Template, bool, bool)

Renders the RMA tags HasAddContent and HasCancelContent.
public void RenderRmaHasContent(Template template, bool hasAddContent, bool hasCancelContent)

Parameters

template Template
The Template.
hasAddContent bool
if set to true render the HasAddContent tag.
hasCancelContent bool
if set to true render the HasCancelContent tag.

RenderRmaOrderLine(ReturnMerchandiseAuthorizationOrderLine, int, Template, bool, bool, bool)

Renders the RMA order line.
public void RenderRmaOrderLine(ReturnMerchandiseAuthorizationOrderLine rmaOrderLine, int prefixId, Template template, bool hasAddProductComment, bool hasAddContent, bool hasCancelContent)

Parameters

rmaOrderLine ReturnMerchandiseAuthorizationOrderLine
The rma order line.
prefixId int
The preffix id.
template Template
The Template.
hasAddProductComment bool
if set to true has add product comment.
hasAddContent bool
if set to true has add content.
hasCancelContent bool
if set to true has cancel content.

RenderRmaOrderLines(ReturnMerchandiseAuthorizationOrderlineCollection, Template, string, bool, bool, bool)

Renders the RMA order lines.
public void RenderRmaOrderLines(ReturnMerchandiseAuthorizationOrderlineCollection rmaOrderLines, Template parentTemplate, string loopName, bool hasAddProductComment, bool hasAddContent, bool hasCancelContent)

Parameters

rmaOrderLines ReturnMerchandiseAuthorizationOrderlineCollection
The rma order lines.
parentTemplate Template
The Template.
loopName string
Name of the loop.
hasAddProductComment bool
if set to true has add product comment.
hasAddContent bool
if set to true has add content.
hasCancelContent bool
if set to true has cancel content.

RenderRmaTypes(int, List<KeyValuePair<ReturnMerchandiseAuthorizationType, string>>, Template, string)

Renders the RMA types.
public void RenderRmaTypes(int selectedTypeId, List<KeyValuePair<ReturnMerchandiseAuthorizationType, string>> types, Template parentTemplate, string loopName)

Parameters

selectedTypeId int
The selected type ID.
types List<KeyValuePair<ReturnMerchandiseAuthorizationType, string>>
The types.
parentTemplate Template
The Template.
loopName string
Name of the loop.

RenderSearchTemplate()

Renders the search template.
public string RenderSearchTemplate()

Returns

string
The HTML.

RenderShippingTaxes(OrderLineCollection, Template)

Render taxes for shipping
public void RenderShippingTaxes(OrderLineCollection orderLines, Template template)

Parameters

orderLines OrderLineCollection
The order lines.
template Template
The Template.

RenderStockLocations(Product, Template, string, bool)

Renders the stock locations.
public void RenderStockLocations(Product product, Template template, string currentUnitId, bool isRenderInternalLoop)

Parameters

product Product
The product.
template Template
The Template.
currentUnitId string
The unit id.
isRenderInternalLoop bool
If set to true renders the internal loop.

RenderStockStateTotals(Product, Template)

Renders the totals for stock state.
public void RenderStockStateTotals(Product product, Template template)

Parameters

product Product
The product.
template Template
The Template.

RenderStockStatus(StockStatus, Template)

Renders stock status.
[Obsolete("Use RenderStockStatus(StockStatus, Template, string) instead")]
public void RenderStockStatus(StockStatus stockStatus, Template template)

Parameters

stockStatus StockStatus
The stock status.
template Template
The Template.

RenderStockStatus(StockStatus, Template, string)

Renders stock status.
public void RenderStockStatus(StockStatus stockStatus, Template template, string languageId)

Parameters

stockStatus StockStatus
The stock status.
template Template
The Template.
languageId string

RenderStockUnits(Product, Template, StockLocation, bool)

Renders stock units.
public void RenderStockUnits(Product product, Template template, StockLocation currentStockLocation, bool isRenderInternalLoop)

Parameters

product Product
The product.
template Template
The Template.
currentStockLocation StockLocation
The stock location.
isRenderInternalLoop bool
If set to true renders the internal loop.

RenderUnits(Product, Template)

Renders units.
public void RenderUnits(Product product, Template template)

Parameters

product Product
The product.
template Template
The Template.

RenderVariantAvailableOptions(Product, IEnumerable<VariantOption>, Template, string)

Renders the available variant options.
public void RenderVariantAvailableOptions(Product product, IEnumerable<VariantOption> groupVariantOptions, Template parentTemplate, string loopName)

Parameters

product Product
The product.
groupVariantOptions IEnumerable<VariantOption>
The variant options.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderVariantAvailableOptions(Product, IEnumerable<VariantOption>, Template, string, bool)

Renders the available variant options.
public void RenderVariantAvailableOptions(Product product, IEnumerable<VariantOption> groupVariantOptions, Template parentTemplate, string loopName, bool isCalledInsideRecursion)

Parameters

product Product
The product.
groupVariantOptions IEnumerable<VariantOption>
The variant options.
parentTemplate Template
The Template.
loopName string
The loop name.
isCalledInsideRecursion bool

RenderVariantCombinations(Product, Template, string)

Renders the variant combinations.
public void RenderVariantCombinations(Product product, Template parentTemplate, string loopName)

Parameters

product Product
The product.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderVariantGroup(Product, VariantGroup, Template)

Renders the variant groups.
public void RenderVariantGroup(Product product, VariantGroup variantGroup, Template template)

Parameters

product Product
The product.
variantGroup VariantGroup
The variant group.
template Template
The Template.

RenderVariantGroups(Product, Template, string)

Renders the variant groups.
public void RenderVariantGroups(Product product, Template parentTemplate, string loopName)

Parameters

product Product
The product.
parentTemplate Template
The Template.
loopName string
The loop name.

RenderVariantOption(VariantOption, Template)

Renders the variant option.
public void RenderVariantOption(VariantOption VariantOption, Template Template)

Parameters

VariantOption VariantOption
Template Template

RenderVariantOption(VariantOption, Template, string)

Renders the variant option.
public void RenderVariantOption(VariantOption variantOption, Template template, string renderingVariantId)

Parameters

variantOption VariantOption
The variant option.
template Template
The Template.
renderingVariantId string
The rendering variant id.

RenderVariantOptions(IEnumerable<VariantOption>, Template, string)

Renders the variant options.
public void RenderVariantOptions(IEnumerable<VariantOption> variantOptions, Template parentTemplate, string loopName)

Parameters

variantOptions IEnumerable<VariantOption>
The variant options.
parentTemplate Template
The Template.
loopName string
The loop name.
To top