Created
April 11, 2019 11:18
-
-
Save martingust/7e16b3ab3199c43241aafaf105730e22 to your computer and use it in GitHub Desktop.
Klarna checkout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@model ShoppingCartModel | |
@{ | |
Layout = "_ColumnsOne"; | |
//title | |
Html.AddTitleParts(T("PageTitle.ShoppingCart").Text); | |
//page class | |
Html.AppendPageCssClassParts("html-shopping-cart-page"); | |
} | |
@if (!Model.OnePageCheckoutEnabled) | |
{ | |
@await Component.InvokeAsync("CheckoutProgress", new {step = CheckoutProgressStep.Cart}) | |
} | |
<div class="page shopping-cart-page"> | |
<div class="page-title"> | |
<h1>@T("ShoppingCart")</h1> | |
</div> | |
<div class="page-body"> | |
@await Component.InvokeAsync("OrderSummary", new { overriddenModel = Model }) | |
@* Add this line *@ | |
@await Component.InvokeAsync("Widget", new { widgetZone = "shopping_cart_bottom" }) | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment