Browse Source
Merge pull request #183 from dotnet-architecture/display-total-once-in-cart
Move the "Total" div out of the for loop so it only appears once in t…
main
Eric Fleming
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
25 additions and
21 deletions
-
src/WebRazorPages/Pages/Basket/Index.cshtml
|
|
|
@ -47,6 +47,8 @@ |
|
|
|
@item.ProductId |
|
|
|
</div>*@ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
<div class="container"> |
|
|
|
<article class="esh-basket-titles esh-basket-titles--clean row"> |
|
|
|
<section class="esh-basket-title col-xs-10"></section> |
|
|
|
@ -65,10 +67,12 @@ |
|
|
|
</section> |
|
|
|
</article> |
|
|
|
</div> |
|
|
|
} |
|
|
|
|
|
|
|
<section class="esh-basket-item col-xs-push-8 col-xs-4"> |
|
|
|
<button class="btn esh-basket-checkout" name="updatebutton" value="" type="submit" |
|
|
|
asp-page-handler="Update">[ Update ]</button> |
|
|
|
asp-page-handler="Update"> |
|
|
|
[ Update ] |
|
|
|
</button> |
|
|
|
<input type="submit" asp-page="Checkout" |
|
|
|
class="btn esh-basket-checkout" |
|
|
|
value="[ Checkout ]" name="action" /> |
|
|
|
|