-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathWishlist.aspx
113 lines (105 loc) · 5.49 KB
/
Wishlist.aspx
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<%@ Page Title="" Language="VB" MasterPageFile="~/Masterpage.master" AutoEventWireup="false" CodeFile="Wishlist.aspx.vb" Inherits="Wishlist" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<meta charset="UTF-8">
<meta name="description" content="Male_Fashion Template">
<meta name="keywords" content="Male_Fashion, unica, creative, html">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Male-Fashion | Template</title>
<!-- Google Font -->
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700;800;900&display=swap"
rel="stylesheet">
<!-- Css Styles -->
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="css/font-awesome.min.css" type="text/css">
<link rel="stylesheet" href="css/elegant-icons.css" type="text/css">
<link rel="stylesheet" href="css/magnific-popup.css" type="text/css">
<link rel="stylesheet" href="css/nice-select.css" type="text/css">
<link rel="stylesheet" href="css/owl.carousel.min.css" type="text/css">
<link rel="stylesheet" href="css/slicknav.min.css" type="text/css">
<link rel="stylesheet" href="css/style.css" type="text/css">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<!-- Breadcrumb Section Begin -->
<section class="breadcrumb-option">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="breadcrumb__text">
<h4>Wishlist</h4>
<div class="breadcrumb__links">
<a href="./Default.aspx">Home</a>
<span>Wishlist</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Breadcrumb Section End -->
<!-- Shopping Cart Section Begin -->
<section class="shopping-cart span" style="margin: 5em 0em">
<div class="container">
<div class="row" style="display: flex; justify-content: center;">
<div class="col-lg-8">
<div class="shopping__cart__table">
<table>
<thead>
<tr style="text-align: center;">
<td colspan="3">
<h3 style="font-weight: bold">Your Wishlist</h3>
</td>
</tr>
</thead>
<tbody>
<tr id="empty_wishlist" runat="server" visible="false" style="text-align: center;">
<td>
<h5 style="color: darkred;">No Wishlist Products</h5>
</td>
</tr>
<asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">
<ItemTemplate>
<tr>
<td class="product__cart__item">
<div class="product__cart__item__pic">
<img src='<%# "img/product/" + Eval("pimg") %>' alt="" height="90" width="90">
</div>
<div class="product__cart__item__text">
<h4><%# Eval("pname") %></h4>
<h6>Review</h6>
</div>
</td>
<td>
<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" CommandName="pid" CommandArgument='<%# Eval("pid") %>'>See All Buying Options</asp:LinkButton>
</td>
<td class="cart__close" runat="server" id="Cancel" >
<asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click" CommandArgument='<%#Eval("id") %>' CommandName="wishlist_id">
<i class="fa fa-close"></i>
</asp:LinkButton>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
<asp:HiddenField ID="qty_hidden" runat="server" />
<asp:HiddenField ID="HiddenField1" runat="server" value ='<%#Eval("Quantity") * Eval("pprice") %>'/>
<asp:SqlDataSource runat="server" ID="SqlDataSource1" ConnectionString='<%$ ConnectionStrings:data_stu6ConnectionString %>' SelectCommand="SELECT * FROM [Wishlist_Master], Product_Master WHERE ([uid] = @uid) and Wishlist_Master.pid = Product_Master.pid">
<SelectParameters>
<asp:SessionParameter SessionField="User_id" DefaultValue="0" Name="uid" Type="Int32"></asp:SessionParameter>
</SelectParameters>
</asp:SqlDataSource>
</tbody>
</table>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="continue__btn">
<a href="Shop.aspx">Continue Shopping</a>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Shopping Cart Section End -->
</asp:Content>