Table of Contents

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

GetModuleContent()

Gets the content.

public override OutputResult GetModuleContent()

Returns

OutputResult

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.

To top