Browse Source

Format price

pull/37/head
Halil İbrahim Kalkan 5 years ago
parent
commit
ad6bddf8bc
  1. 4
      apps/public-web/src/EShopOnAbp.PublicWeb/Components/Basket/Default.cshtml
  2. 3
      apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Catalog.css

4
apps/public-web/src/EShopOnAbp.PublicWeb/Components/Basket/Default.cshtml

@ -23,12 +23,12 @@
{
<text> (@("x" + item.Count))</text>
}
- $@item.TotalPrice
- $@item.TotalPrice.ToString("0.00")
</div>
}
<hr/>
<div class="basket-total-area">
Total: $@Model.TotalPrice
Total: $@Model.TotalPrice.ToString("0.00")
</div>
<div>
<abp-button class="basket-purchase-button" text="Purchase" button-type="Primary" />

3
apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Catalog.css

@ -54,10 +54,11 @@
}
.basket-list-item img {
width: 20px;
height: 1em;
}
.basket-total-area
{
margin-bottom: 1em;
font-weight: bold;
}
Loading…
Cancel
Save