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
Renderer(PageView, int)
Initializes a new instance of the class.f
public Renderer(PageView pageView, int paragraphId)
Parameters
Properties
ContentModule
Gets or sets the content module.
public ContentModule ContentModule { get; set; }
Property Value
IsOrderRendering
Gets or sets the value indicating whether need to render the order.
public bool IsOrderRendering { get; set; }
Property Value
PageView
Gets or sets the PageView.
public PageView PageView { get; set; }
Property Value
ParagraphId
Gets or sets the paragraph id.
public int ParagraphId { get; set; }
Property Value
ParagraphSettings
Gets or sets the ProductCatalogSettings.
public ProductCatalogSettings ParagraphSettings { get; set; }
Property Value
Methods
ForcePageId(int)
Forces the page id.
public void ForcePageId(int pageId)
Parameters
pageId
intThe page id.
GetDiscountMatrix(PriceContext, string, long, Product)
Gets the product discount matrix
public DiscountInfoCollection GetDiscountMatrix(PriceContext context, string unitId, long stockLocationId, Product product)
Parameters
context
PriceContextPrice context
unitId
stringUnit identifier
stockLocationId
longStock location identifier
product
Product
Returns
InitializeImagePatternSettings(string)
Initialize settings to render product's alternative images
public void InitializeImagePatternSettings(string imagePatternProductCatalog)
Parameters
imagePatternProductCatalog
stringThe URL of product catalog with image patterns
Pid()
Gets the "PID=" URL segment.
public string Pid()
Returns
RenderBoughtFromDateTags(Template, DateTime)
Renders the orders from specified date.
public void RenderBoughtFromDateTags(Template template, DateTime boughtFromGivenDate)
Parameters
RenderCountries(CountryCollection, Template, string)
Renders the countries.
public static void RenderCountries(CountryCollection countryCollection, Template parentTemplate, string loopName)
Parameters
countryCollection
CountryCollectionThe countries.
parentTemplate
TemplateThe Template.
loopName
stringThe loop name.
RenderCountry(Country, Template)
Renders the country.
public static void RenderCountry(Country country, Template template)
Parameters
RenderCurrencies(Template)
Renders all currencies on the site.
public static void RenderCurrencies(Template template)
Parameters
RenderCurrency(Currency, Template, string)
Renders the currency.
public static void RenderCurrency(Currency currency, Template template, string tagName)
Parameters
currency
CurrencyThe currency.
template
TemplateThe Template.
tagName
stringName 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
RenderCustomGroupField(ProductFieldValueCollection, Template)
Renders the custom fields.
public void RenderCustomGroupField(ProductFieldValueCollection productFieldValues, Template template)
Parameters
productFieldValues
ProductFieldValueCollectionThe custom fields.
template
TemplateThe Template.
RenderCustomProductField(Product, Template)
Renders the custom field.
public void RenderCustomProductField(Product product, Template template)
Parameters
RenderDetail(Detail, Template)
Render the detail.
public void RenderDetail(Detail detail, Template template)
Parameters
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
TemplateThe Template.
loopName
stringThe 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
TemplateThe Template.
RenderGroup(Group, Template)
Renders single group.
public void RenderGroup(Group group, Template template)
Parameters
RenderGroup(Group, Template, bool)
Renders single group.
public void RenderGroup(Group group, Template template, bool renderSubGroups)
Parameters
group
GroupGroup to render.
template
TemplateThe Template.
renderSubGroups
boolIndicates 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
RenderGroupTemplateExtenders(Group, Template)
Extends a Group template with TemplateExtenders
public void RenderGroupTemplateExtenders(Group group, Template template)
Parameters
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
TemplateThe Template.
loopName
stringThe loop name.
RenderOrder(Order, Template)
Renders the order.
public void RenderOrder(Order order, Template template)
Parameters
RenderOrder(Order, Template, bool, int)
Renders the order.
public void RenderOrder(Order order, Template template, bool extendedProperties, int stepNumber)
Parameters
order
OrderThe order.
template
TemplateThe Template.
extendedProperties
boolIf set to
true
, renders with the extended properties.stepNumber
intThe step number.
RenderOrderContext(OrderContext, Template, string)
Renders the orderContext.
public static void RenderOrderContext(OrderContext orderContext, Template template, string tagName)
Parameters
orderContext
OrderContextThe orderContext.
template
TemplateThe Template.
tagName
stringName 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
RenderOrderDetails(Template, Order, bool)
Renders the order detail.
public void RenderOrderDetails(Template template, Order order, bool extendedProperties)
Parameters
template
TemplateThe Template.
order
OrderThe order.
extendedProperties
boolIf 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
TemplateThe Template.
order
OrderThe order.
extendedProperties
boolIf set to
true
, renders with the extended properties.orderContext
OrderTemplateExtenderContextThe order context.
RenderOrderFieldValues(Order, ref Template)
Renders the order fields.
public static void RenderOrderFieldValues(Order order, ref Template template)
Parameters
RenderOrderLine(OrderLine, Template)
Renders the order line.
public void RenderOrderLine(OrderLine orderLine, Template template)
Parameters
RenderOrderLineTemplateExtenders(Order, OrderLine, Template, TemplateExtenderRenderingState)
Extends a Cart template with TemplateExtenders
public void RenderOrderLineTemplateExtenders(Order order, OrderLine orderLine, Template template, TemplateExtenderRenderingState renderingState)
Parameters
order
OrderThe currently rendered Order
orderLine
OrderLineThe currently rendered OrderLine
template
TemplateThe Template.
renderingState
TemplateExtenderRenderingState
RenderOrderLines(OrderLineCollection, Template, string)
Renders the order lines.
public void RenderOrderLines(OrderLineCollection orderLines, Template parentTemplate, string loopName)
Parameters
orderLines
OrderLineCollectionThe order lines.
parentTemplate
TemplateThe Template.
loopName
stringThe loop name.
RenderOrderTaxes(OrderLineCollection, Template)
Render order taxes.
public void RenderOrderTaxes(OrderLineCollection orderLines, Template template)
Parameters
orderLines
OrderLineCollectionThe order lines.
template
TemplateThe Template.
RenderOrderTemplateExtenders(Order, Template, TemplateExtenderRenderingState)
Extends a Order template with TemplateExtenders.
public static void RenderOrderTemplateExtenders(Order order, Template template, TemplateExtenderRenderingState renderingState)
Parameters
order
OrderThe currently rendered Order.
template
TemplateThe 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
OrderThe order.
template
TemplateThe Template.
renderingState
TemplateExtenderRenderingStateThe rendering state.
paragraphId
intThe paragraph id.
RenderPriceInfo(IPriceInfo, Template, string)
Renders the price information.
public static void RenderPriceInfo(IPriceInfo price, Template template, string tagName)
Parameters
price
IPriceInfoThe price.
template
TemplateThe Template.
tagName
stringThe template tag name.
RenderProduct(Product, bool)
Renders the product.
public string RenderProduct(Product product, bool extendedProperties)
Parameters
product
ProductThe product.
extendedProperties
boolIf 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
ProductThe product.
extendedProperties
boolIf set to
true
, renders with the extended properties.template
TemplateThe Template.
RenderProduct(Product, bool, Template, int)
Renders the product.
public void RenderProduct(Product product, bool extendedProperties, Template template, int loopCounter)
Parameters
product
ProductThe product.
extendedProperties
boolIf set to
true
, renders with the extended properties.template
TemplateThe Template.
loopCounter
intThe 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
ProductThe product.
extendedProperties
boolIf set to
true
, renders with the extended properties.template
TemplateThe Template.
loopCounter
intThe loop counter.
renderRelated
boolIs set to
true
, renders related products.orderLineOfProductCount
intThe 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
ProductThe product.
extendedProperties
boolIf set to
true
, renders with the extended properties.template
TemplateThe Template.
loopCounter
intThe loop counter.
renderRelated
boolIs set to
true
, renders related products.productUrl
stringThe 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
ProductThe product.
extendedProperties
boolIf set to
true
, renders with the extended properties.template
TemplateThe Template.
loopCounter
intThe loop counter.
renderRelated
boolIs set to
true
, renders related products.productUrl
stringThe product URL.
quantity
intThe quantity.
wishListId
intThe 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
ProductThe product.
extendedProperties
boolIf set to
true
, renders with the extended properties.template
TemplateThe Template.
loopCounter
intThe loop counter.
renderRelated
boolIs set to
true
, renders related products.productUrl
stringThe product URL.
quantity
intThe quantity.
wishListId
intThe wishlist id.
renderPublicList
boolIf set to
true
it is public list.orderLineOfProductCount
intThe order line.
RenderProduct(Product, bool, string)
Renders the product.
public string RenderProduct(Product product, bool extendedProperties, string unitId)
Parameters
product
ProductThe product.
extendedProperties
boolIf 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
ProductProduct whose categories shold be rendered.
template
TemplateThe Template.
loopName
stringThe 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
ProductProduct whose category field values needs to be rendered.
category
CategoryProduct category.
template
TemplateThe Template.
loopName
stringThe name of the loop within the template.
RenderProductCustomFieldValues(ProductFieldValueCollection, Template, string)
Renders the custom fields.
public void RenderProductCustomFieldValues(ProductFieldValueCollection productFieldValues, Template parentTemplate, string loopName)
Parameters
productFieldValues
ProductFieldValueCollectionThe custom fields.
parentTemplate
TemplateThe Template.
loopName
stringThe loop name.
RenderProductCustomFields(ProductFieldValueCollection, Template, string)
Renders the custom fields.
public void RenderProductCustomFields(ProductFieldValueCollection productFieldValues, Template parentTemplate, string loopName)
Parameters
productFieldValues
ProductFieldValueCollectionThe custom fields.
parentTemplate
TemplateThe Template.
loopName
stringThe loop name.
RenderProductGroupCustomFields(ProductGroupFieldValueCollection, Template, string)
Renders the custom fields.
public void RenderProductGroupCustomFields(ProductGroupFieldValueCollection productGroupFieldValues, Template parentTemplate, string loopName)
Parameters
productGroupFieldValues
ProductGroupFieldValueCollectionThe custom fields.
parentTemplate
TemplateThe Template.
loopName
stringThe loop name.
RenderProductGroupCustomFields(string, ProductGroupFieldValueCollection, Template, string)
Renders the custom fields.
public void RenderProductGroupCustomFields(string languageId, ProductGroupFieldValueCollection productGroupFieldValues, Template parentTemplate, string loopName)
Parameters
languageId
stringThe language id.
productGroupFieldValues
ProductGroupFieldValueCollectionThe custom fields.
parentTemplate
TemplateThe Template.
loopName
stringThe loop name.
RenderProductGroups(Template)
Renders the product groups.
public void RenderProductGroups(Template parentTemplate)
Parameters
RenderProductListTemplateExtenders(ProductCollection, Template)
Extends a ProductList template with TemplateExtenders.
public void RenderProductListTemplateExtenders(ProductCollection products, Template template)
Parameters
products
ProductCollectionThe currently rendered product.
template
TemplateThe Template.
RenderProductManufacturer(Manufacturer, Template)
Renders the product manufacturer.
public void RenderProductManufacturer(Manufacturer manufacturer, Template template)
Parameters
manufacturer
ManufacturerThe product manufacturer.
template
TemplateThe Template.
RenderProductRelatedGroups(Product, Template, string)
Renders the related products groups.
public void RenderProductRelatedGroups(Product product, Template parentTemplate, string loopName)
Parameters
RenderProductTaxes(OrderLineCollection, OrderLine, Template)
Render taxes for product.
public void RenderProductTaxes(OrderLineCollection orderLines, OrderLine orderLine, Template template)
Parameters
orderLines
OrderLineCollectionThe order lines.
orderLine
OrderLineThe order line.
template
TemplateThe Template.
RenderProductTemplateExtenders(Product, Template)
Extends a product template with TemplateExtenders.
public void RenderProductTemplateExtenders(Product product, Template template)
Parameters
RenderProductTemplateExtenders(Product, Template, bool)
Extends a Product template with TemplateExtenders.
public void RenderProductTemplateExtenders(Product product, Template template, bool extendedProperties)
Parameters
product
ProductThe currently rendered product
template
TemplateThe Template.
extendedProperties
boolIf set to
true
, renders with the extended properties.
RenderProducts(ProductCollection)
Renders the products.
public string RenderProducts(ProductCollection products)
Parameters
products
ProductCollectionA collection of the products.
Returns
- string
The HTML.
RenderProducts(ProductCollection, Template)
Renders the products.
public void RenderProducts(ProductCollection products, Template parentTemplate)
Parameters
products
ProductCollectionA collection of the products.
parentTemplate
TemplateThe Template.
RenderProducts(ProductCollection, Template, string)
Renders the products.
public void RenderProducts(ProductCollection products, Template parentTemplate, string loopName)
Parameters
products
ProductCollectionA collection of the products.
parentTemplate
TemplateThe Template.
loopName
stringThe loop name.
RenderProducts(ProductCollection, Template, string, int)
Renders the products.
public void RenderProducts(ProductCollection products, Template parentTemplate, string loopName, int loopCounter)
Parameters
products
ProductCollectionA collection of the products.
parentTemplate
TemplateThe Template.
loopName
stringThe loop name.
loopCounter
intThe 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
TemplateThe Template.
wishListId
intThe wishlist id.
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
ReturnMerchandiseAuthorizationThe rma.
template
TemplateThe Template.
orderId
stringThe order ID.
hasAddProductComment
boolif set to
true
render the has add product comment.hasAddContent
boolif set to
true
has add content.hasCancelContent
boolif 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
ReturnMerchandiseAuthorizationCommentThe comment.
template
TemplateThe Template.
hasAddContent
boolif set to
true
has add content.hasCancelContent
boolif 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
ReturnMerchandiseAuthorizationCommentCollectionThe comments.
parentTemplate
TemplateThe Template.
loopName
stringName of the loop.
hasAddContent
boolif set to
true
has add content.hasCancelContent
boolif 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
TemplateThe Template.
rma
ReturnMerchandiseAuthorizationThe rma.
orderId
stringThe order ID.
hasAddProductComment
boolif set to
true
has add product comment.hasAddContent
boolif set to
true
has add content.hasCancelContent
boolif 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
TemplateThe Template.
hasAddContent
boolif set to
true
render the HasAddContent tag.hasCancelContent
boolif 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
ReturnMerchandiseAuthorizationOrderLineThe rma order line.
prefixId
intThe preffix id.
template
TemplateThe Template.
hasAddProductComment
boolif set to
true
has add product comment.hasAddContent
boolif set to
true
has add content.hasCancelContent
boolif 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
ReturnMerchandiseAuthorizationOrderlineCollectionThe rma order lines.
parentTemplate
TemplateThe Template.
loopName
stringName of the loop.
hasAddProductComment
boolif set to
true
has add product comment.hasAddContent
boolif set to
true
has add content.hasCancelContent
boolif 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
intThe selected type ID.
types
List<KeyValuePair<ReturnMerchandiseAuthorizationType, string>>The types.
parentTemplate
TemplateThe Template.
loopName
stringName 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
OrderLineCollectionThe order lines.
template
TemplateThe Template.
RenderStockLocations(Product, Template, string, bool)
Renders the stock locations.
public void RenderStockLocations(Product product, Template template, string currentUnitId, bool isRenderInternalLoop)
Parameters
product
ProductThe product.
template
TemplateThe Template.
currentUnitId
stringThe unit id.
isRenderInternalLoop
boolIf set to
true
renders the internal loop.
RenderStockStateTotals(Product, Template)
Renders the totals for stock state.
public void RenderStockStateTotals(Product product, Template template)
Parameters
RenderStockStatus(StockStatus, Template, string)
Renders stock status.
public void RenderStockStatus(StockStatus stockStatus, Template template, string languageId)
Parameters
stockStatus
StockStatusThe stock status.
template
TemplateThe Template.
languageId
string
RenderStockUnits(Product, Template, StockLocation, bool)
Renders stock stockUnits.
public void RenderStockUnits(Product product, Template template, StockLocation currentStockLocation, bool isRenderInternalLoop)
Parameters
product
ProductThe product.
template
TemplateThe Template.
currentStockLocation
StockLocationThe stock location.
isRenderInternalLoop
boolIf set to
true
renders the internal loop.
RenderUnit(Unit, Template)
Renders the unit.
public void RenderUnit(Unit unit, Template template)
Parameters
RenderUnits(Product, Template)
Renders stockUnits.
public void RenderUnits(Product product, Template template)
Parameters
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
ProductThe product.
groupVariantOptions
IEnumerable<VariantOption>The variant options.
parentTemplate
TemplateThe Template.
loopName
stringThe 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
ProductThe product.
groupVariantOptions
IEnumerable<VariantOption>The variant options.
parentTemplate
TemplateThe Template.
loopName
stringThe loop name.
isCalledInsideRecursion
bool
RenderVariantCombinations(Product, Template, string)
Renders the variant combinations.
public void RenderVariantCombinations(Product product, Template parentTemplate, string loopName)
Parameters
RenderVariantGroup(Product, VariantGroup, Template)
Renders the variant groups.
public void RenderVariantGroup(Product product, VariantGroup variantGroup, Template template)
Parameters
product
ProductThe product.
variantGroup
VariantGroupThe variant group.
template
TemplateThe Template.
RenderVariantGroups(Product, Template, string)
Renders the variant groups.
public void RenderVariantGroups(Product product, Template parentTemplate, string loopName)
Parameters
RenderVariantOption(VariantOption, Template)
Renders the variant option.
public void RenderVariantOption(VariantOption VariantOption, Template Template)
Parameters
VariantOption
VariantOptionThe variant option.
Template
TemplateThe Template.
RenderVariantOption(VariantOption, Template, string)
Renders the variant option.
public void RenderVariantOption(VariantOption variantOption, Template template, string renderingVariantId)
Parameters
variantOption
VariantOptionThe variant option.
template
TemplateThe Template.
renderingVariantId
stringThe 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
TemplateThe Template.
loopName
stringThe loop name.