CustomOrderInfoProvider

This class manages the orders. It uses the OrderInfo class.

 

object GetOrderInfo(int orderId) returns the OrderInfo object selected by order ID.
void SetOrderInfo(object order) updates/inserts the order record based on the given OrderInfo object. If OrderID is set, updates the record, else inserts a new one.
void DeleteOrderInfo(int orderId) deletes the specified order record.
string GetInvoice(int orderId, int siteId, int countryId) returns the HTML code of an order invoice.
string GetAddress(int addressId) returns the HTML code for the given address.
string GetPaymentOption(int paymentId) returns the HTML code for the payment option.
string GetInvoiceNumber(object order) returns HTML code for the invoice number.
string GetOrderDate(object order) returns the HTML code for the order date.
string GetProductList(DataTable dt, object currency, bool renderDiscount) returns the HTML code for the product list (by default simple table of order items).
string GetTotalPrice(double value, object currency) returns the HTML code for the total price
string GetTaxRecapitulation(DataTable dt, object currency) returns the HTML code for the tax recapitulation (by default table of the tax summary).
DataSet GetOrders() returns the DataSet with the orders. See Database Reference for column details.
DataSet GetOrders(string where, string orderBy) returns the DataSet of column orders with given condition and order.
DataSet GetOrderList() returns the DataSet of the orders data joined with their customer, status and currency data.
DataSet GetOrderList(string where, string orderBy) returns the order list DataSet with given condition and order.
void SendOrderNotificationToCustomer(object cartObj) sends the order e-mail notification to the customer.
void SendOrderNotificationToAdministrator(object cartObj) sends the order e-mail notification to the administrator.