Skip to content
Snippets Groups Projects
Commit c1bc6f3b authored by Aqeel Rehman's avatar Aqeel Rehman
Browse files

Upload New File

parent 4749454c
Branches
No related tags found
No related merge requests found
<!-- single_item.html -->
<!DOCTYPE html>
<html>
<head>
<title>{{ item.name }}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
</head>
<body>
<h1>{{ item.name }}</h1>
<img src="{{ url_for('static', filename=item.image) }}" alt="{{ item.name }}">
<p><strong>Price:</strong> ${{ item.price }}</p>
<p><strong>Description:</strong> {{ item.description }}</p>
<form method="POST" action="{{ url_for('addToCart', item_id=item.id) }}">
{{ form.hidden_tag() }}
<label for="quantity">Quantity:</label>
<input type="number" id="quantity" name="quantity" min="1" value="1">
<button type="submit">Add to Basket</button>
</form>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment