Class Frontend
- Namespace
- Dynamicweb.Ecommerce.Cart
- Assembly
- Dynamicweb.Ecommerce.dll
[AddInName("eCom_CartV2")]
public class Frontend : ContentModule, IModule
- Inheritance
-
Frontend
- Implements
- Inherited Members
Methods
CheckoutDone(Order)
Called by CheckoutHandler when the checkout procedure is done
[Obsolete("Method is deprecated - call CheckoutDone(order, pageId) instead")]
public static void CheckoutDone(Order order)
Parameters
order
Order- The order
CheckoutDone(Order, int)
Called by CheckoutHandler when the checkout procedure is done
public static void CheckoutDone(Order order, int pageID)
Parameters
GetContent()
Handles the front end requests and returns the HTML output for the module.
public override string GetContent()
Returns
- string
- Module output rendered as HTML.
Remarks
The markup returned is what is inserted into the template tag
ParagraphModule
in the paragraph template.Redirect(Order)
Called by the CheckoutHandler to redirect to the order. This will redirect to the first step or the first reciept step based on Order.Complete
public static void Redirect(Order order)
Parameters
order
Order- The order