public void UpdateShipping(string name) { var cart = new CartHelper(name).Cart; cart.OrderForms[0].SetShipmentLineItemQuantity(); cart.AcceptChanges(); }
public CartActionResult ValidateCart(string name) { var cart = new CartHelper(name).Cart; string message = RunWorkflowAndReturnFormattedMessage(cart, OrderGroupWorkflowManager.CartValidateWorkflowName); cart.AcceptChanges(); return(new CartActionResult() { Success = true, Message = message }); }
public void UpdateShipping(string name) { var cart = new CartHelper(name).Cart; cart.OrderForms[0].SetShipmentLineItemQuantity(); cart.AcceptChanges(); }