Table of Contents

Class SalesDiscountSample

Namespace
Dynamicweb.Ecommerce.Examples.Orders.SalesDiscount
Assembly
Dynamicweb.Ecommerce.Examples.dll
[AddInName("Total price discount")]
[AddInDescription("If the total sum of the products purchased on an order is equal or bigger that the specified amount a discount will be triggered.")]
public class SalesDiscountSample : SalesDiscountProvider
Inheritance
SalesDiscountSample
Inherited Members

Properties

BuyLimit

[AddInParameter("Order buylimit")]
[AddInParameterEditor(typeof(TextParameterEditor), "")]
public double BuyLimit { get; set; }

Property Value

double

MoreLess

[AddInParameter("Condition")]
[AddInParameterEditor(typeof(MoreLessParameterEditor), "")]
public string MoreLess { get; set; }

Property Value

string

Methods

ProcessOrder(Order)

Processes the order.
public override void ProcessOrder(Order order)

Parameters

order Order
The order.

Examples

Look on example for SalesDiscountProvider class
To top