-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathAddToCartResult.cshtml
More file actions
34 lines (33 loc) · 1.32 KB
/
AddToCartResult.cshtml
File metadata and controls
34 lines (33 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
@model SimplCommerce.Module.ShoppingCart.Areas.ShoppingCart.ViewModels.AddToCartResultVm
<div class="modal-header">
<h5 class="modal-title" id="myModalLabel">@Localizer["The product has been added to your cart"]</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-3">
<img alt="@Model.ProductName" class="img-fluid" src="@Model.ProductImage">
</div>
<div class="col-md-6">
<h4>@Model.ProductName</h4>
<h6>@Model.VariationName</h6>
</div>
<div class="col-md-3">
@Model.Quantity x @Model.CalculatedProductPrice.PriceString
</div>
</div>
<div class="row">
<div class="col-md-7">
@Localizer["You have"] <span class="cart-item-count">@Model.CartItemCount</span> @Localizer["products in your cart"]
</div>
<div class="col-md-5">
@Localizer["Cart subtotal"]: @Model.CartAmountString
</div>
</div>
</div>
<div class="modal-footer">
<a href="/@Model.CategoryName" class="btn btn-light">
@Localizer["Continue shopping"]
</a>
<a href="~/cart" role="button" class="btn btn-light">@Localizer["View cart"]</a>
</div>