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
IncludeDeliveryAddressesFromUsersWithSameCustomerNumber
Gets or sets the value indicating whether to retrieve delivery addresses for all active users with the same customer number.
public bool IncludeDeliveryAddressesFromUsersWithSameCustomerNumber { 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
pageIdintThe page id.
GetDiscountMatrix(PriceContext, string, long, Product)
Gets the product discount matrix
public DiscountInfoCollection GetDiscountMatrix(PriceContext context, string unitId, long stockLocationId, Product product)
Parameters
contextPriceContextPrice context
unitIdstringUnit identifier
stockLocationIdlongStock location identifier
productProduct
Returns
InitializeImagePatternSettings(string)
Initialize settings to render product's alternative images
public void InitializeImagePatternSettings(string imagePatternProductCatalog)
Parameters
imagePatternProductCatalogstringThe 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
countryCollectionCountryCollectionThe countries.
parentTemplateTemplateThe Template.
loopNamestringThe 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
currencyCurrencyThe currency.
templateTemplateThe Template.
tagNamestringName 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
productFieldValuesProductFieldValueCollectionThe custom fields.
templateTemplateThe 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
detailsIEnumerable<Detail>The details.
parentTemplateTemplateThe Template.
loopNamestringThe loop name.
RenderGiftCards(IEnumerable<GiftCard>, Template)
Render bought gift cards products.
public void RenderGiftCards(IEnumerable<GiftCard> giftCards, Template parentTemplate)
Parameters
giftCardsIEnumerable<GiftCard>The gift cards.
parentTemplateTemplateThe 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
groupGroupGroup to render.
templateTemplateThe Template.
renderSubGroupsboolIndicates 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
groupsIEnumerable<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
groupsIEnumerable<Group>The groups.
parentTemplateTemplateThe Template.
loopNamestringThe 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
orderOrderThe order.
templateTemplateThe Template.
extendedPropertiesboolIf set to
true, renders with the extended properties.stepNumberintThe step number.
RenderOrderContext(OrderContext, Template, string)
Renders the orderContext.
public static void RenderOrderContext(OrderContext orderContext, Template template, string tagName)
Parameters
orderContextOrderContextThe orderContext.
templateTemplateThe Template.
tagNamestringName 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
templateTemplateThe Template.
orderOrderThe order.
extendedPropertiesboolIf 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
templateTemplateThe Template.
orderOrderThe order.
extendedPropertiesboolIf set to
true, renders with the extended properties.orderContextOrderTemplateExtenderContextThe 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
orderOrderThe currently rendered Order
orderLineOrderLineThe currently rendered OrderLine
templateTemplateThe Template.
renderingStateTemplateExtenderRenderingState
RenderOrderLines(OrderLineCollection, Template, string)
Renders the order lines.
public void RenderOrderLines(OrderLineCollection orderLines, Template parentTemplate, string loopName)
Parameters
orderLinesOrderLineCollectionThe order lines.
parentTemplateTemplateThe Template.
loopNamestringThe loop name.
RenderOrderTaxes(OrderLineCollection, Template)
Render order taxes.
public void RenderOrderTaxes(OrderLineCollection orderLines, Template template)
Parameters
orderLinesOrderLineCollectionThe order lines.
templateTemplateThe Template.
RenderOrderTemplateExtenders(Order, Template, TemplateExtenderRenderingState)
Extends a Order template with TemplateExtenders.
public static void RenderOrderTemplateExtenders(Order order, Template template, TemplateExtenderRenderingState renderingState)
Parameters
orderOrderThe currently rendered Order.
templateTemplateThe Template.
renderingStateTemplateExtenderRenderingState
RenderOrderTemplateExtenders(Order, Template, TemplateExtenderRenderingState, int)
Extends an Order with TemplateExtenders.
public static void RenderOrderTemplateExtenders(Order order, Template template, TemplateExtenderRenderingState renderingState, int paragraphId)
Parameters
orderOrderThe order.
templateTemplateThe Template.
renderingStateTemplateExtenderRenderingStateThe rendering state.
paragraphIdintThe paragraph id.
RenderPriceInfo(IPriceInfo, Template, string)
Renders the price information.
public static void RenderPriceInfo(IPriceInfo price, Template template, string tagName)
Parameters
priceIPriceInfoThe price.
templateTemplateThe Template.
tagNamestringThe template tag name.
RenderProduct(Product, bool)
Renders the product.
public string RenderProduct(Product product, bool extendedProperties)
Parameters
productProductThe product.
extendedPropertiesboolIf 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
productProductThe product.
extendedPropertiesboolIf set to
true, renders with the extended properties.templateTemplateThe Template.
RenderProduct(Product, bool, Template, int)
Renders the product.
public void RenderProduct(Product product, bool extendedProperties, Template template, int loopCounter)
Parameters
productProductThe product.
extendedPropertiesboolIf set to
true, renders with the extended properties.templateTemplateThe Template.
loopCounterintThe 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
productProductThe product.
extendedPropertiesboolIf set to
true, renders with the extended properties.templateTemplateThe Template.
loopCounterintThe loop counter.
renderRelatedboolIs set to
true, renders related products.orderLineOfProductCountintThe 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
productProductThe product.
extendedPropertiesboolIf set to
true, renders with the extended properties.templateTemplateThe Template.
loopCounterintThe loop counter.
renderRelatedboolIs set to
true, renders related products.productUrlstringThe 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
productProductThe product.
extendedPropertiesboolIf set to
true, renders with the extended properties.templateTemplateThe Template.
loopCounterintThe loop counter.
renderRelatedboolIs set to
true, renders related products.productUrlstringThe product URL.
quantityintThe quantity.
wishListIdintThe 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
productProductThe product.
extendedPropertiesboolIf set to
true, renders with the extended properties.templateTemplateThe Template.
loopCounterintThe loop counter.
renderRelatedboolIs set to
true, renders related products.productUrlstringThe product URL.
quantityintThe quantity.
wishListIdintThe wishlist id.
renderPublicListboolIf set to
trueit is public list.orderLineOfProductCountintThe order line.
RenderProduct(Product, bool, string)
Renders the product.
public string RenderProduct(Product product, bool extendedProperties, string unitId)
Parameters
productProductThe product.
extendedPropertiesboolIf set to
true, renders with the extended properties.unitIdstring
Returns
- string
The HTML.
RenderProductCategories(Product, Template, string)
Renders product categories.
public void RenderProductCategories(Product product, Template template, string loopName)
Parameters
productProductProduct whose categories shold be rendered.
templateTemplateThe Template.
loopNamestringThe 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
productProductProduct whose category field values needs to be rendered.
categoryCategoryProduct category.
templateTemplateThe Template.
loopNamestringThe 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
productFieldValuesProductFieldValueCollectionThe custom fields.
parentTemplateTemplateThe Template.
loopNamestringThe loop name.
RenderProductCustomFields(ProductFieldValueCollection, Template, string)
Renders the custom fields.
public void RenderProductCustomFields(ProductFieldValueCollection productFieldValues, Template parentTemplate, string loopName)
Parameters
productFieldValuesProductFieldValueCollectionThe custom fields.
parentTemplateTemplateThe Template.
loopNamestringThe loop name.
RenderProductGroupCustomFields(ProductGroupFieldValueCollection, Template, string)
Renders the custom fields.
public void RenderProductGroupCustomFields(ProductGroupFieldValueCollection productGroupFieldValues, Template parentTemplate, string loopName)
Parameters
productGroupFieldValuesProductGroupFieldValueCollectionThe custom fields.
parentTemplateTemplateThe Template.
loopNamestringThe loop name.
RenderProductGroupCustomFields(string, ProductGroupFieldValueCollection, Template, string)
Renders the custom fields.
public void RenderProductGroupCustomFields(string languageId, ProductGroupFieldValueCollection productGroupFieldValues, Template parentTemplate, string loopName)
Parameters
languageIdstringThe language id.
productGroupFieldValuesProductGroupFieldValueCollectionThe custom fields.
parentTemplateTemplateThe Template.
loopNamestringThe 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
productsProductCollectionThe currently rendered product.
templateTemplateThe Template.
RenderProductManufacturer(Manufacturer, Template)
Renders the product manufacturer.
public virtual void RenderProductManufacturer(Manufacturer manufacturer, Template template)
Parameters
manufacturerManufacturerThe product manufacturer.
templateTemplateThe 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
orderLinesOrderLineCollectionThe order lines.
orderLineOrderLineThe order line.
templateTemplateThe 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
productProductThe currently rendered product
templateTemplateThe Template.
extendedPropertiesboolIf set to
true, renders with the extended properties.
RenderProducts(ProductCollection)
Renders the products.
public string RenderProducts(ProductCollection products)
Parameters
productsProductCollectionA collection of the products.
Returns
- string
The HTML.
RenderProducts(ProductCollection, Template)
Renders the products.
public void RenderProducts(ProductCollection products, Template parentTemplate)
Parameters
productsProductCollectionA collection of the products.
parentTemplateTemplateThe Template.
RenderProducts(ProductCollection, Template, string)
Renders the products.
public void RenderProducts(ProductCollection products, Template parentTemplate, string loopName)
Parameters
productsProductCollectionA collection of the products.
parentTemplateTemplateThe Template.
loopNamestringThe loop name.
RenderProducts(ProductCollection, Template, string, int)
Renders the products.
public void RenderProducts(ProductCollection products, Template parentTemplate, string loopName, int loopCounter)
Parameters
productsProductCollectionA collection of the products.
parentTemplateTemplateThe Template.
loopNamestringThe loop name.
loopCounterintThe 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
productDictionaryDictionary<Product, int>A dictionary of the products and quantity.
templateTemplateThe Template.
wishListIdintThe 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
rmaReturnMerchandiseAuthorizationThe rma.
templateTemplateThe Template.
orderIdstringThe order ID.
hasAddProductCommentboolif set to
truerender the has add product comment.hasAddContentboolif set to
truehas add content.hasCancelContentboolif set to
truehas cancel content.
RenderRmaComment(ReturnMerchandiseAuthorizationComment, Template, bool, bool)
Renders the RMA comment.
public void RenderRmaComment(ReturnMerchandiseAuthorizationComment comment, Template template, bool hasAddContent, bool hasCancelContent)
Parameters
commentReturnMerchandiseAuthorizationCommentThe comment.
templateTemplateThe Template.
hasAddContentboolif set to
truehas add content.hasCancelContentboolif set to
truehas 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
commentsReturnMerchandiseAuthorizationCommentCollectionThe comments.
parentTemplateTemplateThe Template.
loopNamestringName of the loop.
hasAddContentboolif set to
truehas add content.hasCancelContentboolif set to
truehas 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
templateTemplateThe Template.
rmaReturnMerchandiseAuthorizationThe rma.
orderIdstringThe order ID.
hasAddProductCommentboolif set to
truehas add product comment.hasAddContentboolif set to
truehas add content.hasCancelContentboolif set to
truehas cancel content.
RenderRmaHasContent(Template, bool, bool)
Renders the RMA tags HasAddContent and HasCancelContent.
public void RenderRmaHasContent(Template template, bool hasAddContent, bool hasCancelContent)
Parameters
templateTemplateThe Template.
hasAddContentboolif set to
truerender the HasAddContent tag.hasCancelContentboolif set to
truerender 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
rmaOrderLineReturnMerchandiseAuthorizationOrderLineThe rma order line.
prefixIdintThe preffix id.
templateTemplateThe Template.
hasAddProductCommentboolif set to
truehas add product comment.hasAddContentboolif set to
truehas add content.hasCancelContentboolif set to
truehas 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
rmaOrderLinesReturnMerchandiseAuthorizationOrderlineCollectionThe rma order lines.
parentTemplateTemplateThe Template.
loopNamestringName of the loop.
hasAddProductCommentboolif set to
truehas add product comment.hasAddContentboolif set to
truehas add content.hasCancelContentboolif set to
truehas 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
selectedTypeIdintThe selected type ID.
typesList<KeyValuePair<ReturnMerchandiseAuthorizationType, string>>The types.
parentTemplateTemplateThe Template.
loopNamestringName 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
orderLinesOrderLineCollectionThe order lines.
templateTemplateThe Template.
RenderStockLocations(Product, Template, string, bool)
Renders the stock locations.
public void RenderStockLocations(Product product, Template template, string currentUnitId, bool isRenderInternalLoop)
Parameters
productProductThe product.
templateTemplateThe Template.
currentUnitIdstringThe unit id.
isRenderInternalLoopboolIf set to
truerenders 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
stockStatusStockStatusThe stock status.
templateTemplateThe Template.
languageIdstring
RenderStockUnits(Product, Template, StockLocation, bool)
Renders stock stockUnits.
public void RenderStockUnits(Product product, Template template, StockLocation currentStockLocation, bool isRenderInternalLoop)
Parameters
productProductThe product.
templateTemplateThe Template.
currentStockLocationStockLocationThe stock location.
isRenderInternalLoopboolIf set to
truerenders 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
productProductThe product.
groupVariantOptionsIEnumerable<VariantOption>The variant options.
parentTemplateTemplateThe Template.
loopNamestringThe 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
productProductThe product.
groupVariantOptionsIEnumerable<VariantOption>The variant options.
parentTemplateTemplateThe Template.
loopNamestringThe loop name.
isCalledInsideRecursionbool
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
productProductThe product.
variantGroupVariantGroupThe variant group.
templateTemplateThe 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
VariantOptionVariantOptionThe variant option.
TemplateTemplateThe Template.
RenderVariantOption(VariantOption, Template, string)
Renders the variant option.
public void RenderVariantOption(VariantOption variantOption, Template template, string renderingVariantId)
Parameters
variantOptionVariantOptionThe variant option.
templateTemplateThe Template.
renderingVariantIdstringThe rendering variant id.
RenderVariantOptions(IEnumerable<VariantOption>, Template, string)
Renders the variant options.
public void RenderVariantOptions(IEnumerable<VariantOption> variantOptions, Template parentTemplate, string loopName)
Parameters
variantOptionsIEnumerable<VariantOption>The variant options.
parentTemplateTemplateThe Template.
loopNamestringThe loop name.