@using MrCMS.Helpers
@using MrCMS.Web.Apps.Ecommerce.Models
@model MrCMS.Web.Apps.Ecommerce.Pages.SetShippingDetails
@{
    var cart = ViewData["cart"] as CartModel;
}

<div class="row">
    <div class="col-sm-8">
        <div id="address-info">
            @{
                Html.RenderAction(cart.ShippingAddress == null ? "ShippingAddress" : "ShowShippingAddress", "SetShippingAddress");
            }
        </div>
        <div id="method-info">
            @{
                Html.RenderAction(cart.ShippingAddress == null ? "AwaitingAddress" : "ShippingOptions", "SetShippingMethod");
            }
        </div>
    </div>
    <div class="col-sm-4">
        @{Html.RenderAction("Summary", "Checkout");}
        @{Html.RenderAction("OrderEmail", "Checkout");}
    </div>
</div>

@{ Html.IncludeScript("~/Apps/Ecommerce/Content/Scripts/custom/shipping-methods.js"); }