Class ContextVoucherRenderer
- Namespace
- Dynamicweb.Ecommerce.Frontend.ContextRenderers
- Assembly
- Dynamicweb.Ecommerce.dll
Represents the context voucher renderer.
[AddInName("eCom_ContextVoucherRenderer")]
public class ContextVoucherRenderer : ContentModule, IModule
- Inheritance
-
ContextVoucherRenderer
- Implements
- Inherited Members
Methods
GetContent()
Gets the content.
public override string GetContent()
Returns
- string
- The content.
RenderVoucher(PageViewContext)
Renders the voucher.
public string RenderVoucher(PageViewContext settings)
Parameters
settings
PageViewContext- The settings.
Returns
- string
- The HTML.
RenderVoucher(string)
Renders the voucher.
public string RenderVoucher(string voucherListId)
Parameters
voucherListId
string- The voucher list id.
Returns
- string
- The HTML.