Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @using UCommerce.EntitiesV2
- @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
- @using UCommerce.Api;
- @{
- Layout = null;
- string strOrderGuid = Request.QueryString["orderGuid"] as string;
- Guid orderGuid = Guid.Empty;
- PurchaseOrder purchaseOrder = null;
- if (Guid.TryParse(strOrderGuid, out orderGuid))
- {
- purchaseOrder = TransactionLibrary.GetPurchaseOrder(orderGuid);
- }
- }
- @if(purchaseOrder != null)
- {
- <div>
- @foreach(var ol in purchaseOrder.OrderLines)
- {
- <h1>@ol.Sku</h1>
- }
- </div>
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement