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
MoreLess
[AddInParameter("Condition")]
[AddInParameterEditor(typeof(MoreLessParameterEditor), "")]
public string MoreLess { get; set; }
Property Value
Methods
ProcessOrder(Order)
Processes the order.
public override void ProcessOrder(Order order)
Parameters
order
Order- The order.
Examples
Look on example forSalesDiscountProvider
class