-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduct-add.php
50 lines (49 loc) · 2.21 KB
/
product-add.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Add Product</title>
<link rel="stylesheet" href="css/product-add.css">
</head>
<body>
<div class="container">
<h2>Add Product</h2>
<form id="addProductForm" action="add_product_process.php" method="post" enctype="multipart/form-data">
<input type="text" name="product_name" placeholder="Product Name">
<input type="text" name="product_price" placeholder="Product Price">
<select name="product_category">
<option value="">Select Category</option>
<option value="Electronics">Electronics</option>
<option value="Fashion Clothing">Fashion Clothing</option>
<option value="Household Items">Household Items</option>
<option value="Home Appliances">Home Appliances</option>
</select>
<textarea name="product_description" placeholder="Product Description"></textarea>
<input type="file" name="product_image" id="product_image" accept="image/*">
<label for="product_image" class="file-upload-btn">Upload Product Image</label>
<div class="stock-number">
<input type="number" name="stock_number" value="stock_number" placeholder="Stock Number">
</div>
<div class="stock-available">
<label for="stock-status">Stock Status</label><br>
<label><input type="checkbox" name="stock_available" value="Yes"> Stock Available</label><br>
<label><input type="checkbox" name="stock_available" value="No"> Not Available</label><br>
</div>
<div class="selling-status"><br>
<label for="selling">Selling Status</label><br>
<label><input type="radio" name="selling_status" value="High"> High</label>
<label><input type="radio" name="selling_status" value="Medium"> Medium</label>
<label><input type="radio" name="selling_status" value="Low"> Low</label>
</div>
<button type="submit">Add Product</button>
<div class="reset-button">
<button type="reset">Reset</button>
</div>
<div class="back-button">
<a href="dashboard.php">Back to Product List</a>
</div>
</form>
</div>
</body>
</html>