-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathCart.aspx
More file actions
57 lines (54 loc) · 3.12 KB
/
Cart.aspx
File metadata and controls
57 lines (54 loc) · 3.12 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<%@ Page Title="Cart" Language="C#" MasterPageFile="~/GeneralLayout.master" AutoEventWireup="true" CodeFile="Cart.aspx.cs" Inherits="Cart" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div class="container">
<div class="row" style="padding-top: 20px;">
<div class="col-md-9">
<h5 class="proNameViewCart" runat="server" id="h5NoItems"></h5>
<asp:Repeater ID="rptrCartProducts" runat="server">
<ItemTemplate>
<div class="media my-3" style="border: 1px solid #eaeaec;">
<div class="align-self-center mr-3">
<a href="ProductView.aspx?PID=<%#Eval("PID") %>" target="_blank">
<img width="110px" class="media-object" src="Images/ProductImages/<%#Eval("PID") %>/<%#Eval("Name") %><%#Eval("Extention") %>" alt="<%#Eval("Name") %>" onerror="this.src='images/noimage.jpg'">
</a>
</div>
<div class="media-body">
<h5 class="media-heading proNameViewCart"><%#Eval("PName") %></h5>
<p class="proPriceDiscountView">Size : <%#Eval("SizeNamee") %></p>
<span class="proPriceView"><%#Eval("PSelPrice","{0:c}") %></span>
<span class="proOgPriceView"><%#Eval("PPrice","{0:0,00}") %></span>
<p>
<asp:Button CommandArgument='<%#Eval("PID")+"-"+ Eval("SizeIDD")%>' ID="btnRemoveItem" OnClick="btnRemoveItem_Click" CssClass="removeButton" runat="server" Text="REMOVE" />
</p>
</div>
</div>
</ItemTemplate>
</asp:Repeater>
</div>
<div class="col-md-3 pt-5" runat="server" id="divPriceDetails">
<div style="border-bottom: 1px solid #eaeaec;">
<h5 class="proNameViewCart">PRICE DETAILS</h5>
<div>
<label>Cart Total</label>
<span class="float-right priceGray" id="spanCartTotal" runat="server"></span>
</div>
<div>
<label>Cart Discount</label>
<span class="float-right priceGreen" id="spanDiscount" runat="server"></span>
</div>
</div>
<div>
<div class="proPriceView">
<label>Total</label>
<span class="float-right" id="spanTotal" runat="server"></span>
</div>
<div>
<asp:Button ID="btnBuyNow" OnClick="btnBuyNow_Click" CssClass="buyNowBtn" runat="server" Text="BUY NOW" />
</div>
</div>
</div>
</div>
</div>
</asp:Content>