Esempio n. 1
0
 /// <summary>
 /// Gets the customers current order.
 /// </summary>
 /// <param name="storeId">Id of the store.</param>
 /// <param name="autoCreate">If <c>true</c> - creates a new order if no current order is present in the session.</param>
 /// <returns>An order object.</returns>
 public static Order GetCurrentOrder(long storeId, bool autoCreate = true)
 {
     return(TeaCommerceHelper.GetCurrentOrder(storeId, autoCreate));
 }