{% extends 'shop/base.html' %}
{% load staticfiles %}
{% load static %}

% block css %}
<link rel="stylesheet" type="text/css" href="{% static 'shop/order.css' %}"/>
{% endblock %}

{% block content %}
<div class="after-navbar"></div>
<div class="container">
	<div class="row">
		<div class="col-md-8">

			<!-- PRICE ITEM -->
			<div class="panel price panel-red">
				<div class="panel-heading  text-center">
				<h3>Order Detail</h3>
				</div>
				<div class="panel-body text-center">
					<p class="lead" style="font-size:40px"><strong>{{ value.price }}</strong></p>
				</div>
				{% for key,value in list.items %}
				<ul class="list-group list-group-flush text-center">
					<li class="list-group-item"><i class="icon-ok text-danger"></i>
					Product : {{ value.product_pk}} Quantity : {{value.quantity}}</li>
				</ul>
				{% endfor %}
			</div>
			<!-- /PRICE ITEM -->
		</div>
	</div>
</div>
<div class="before-footer"></div>
{% endblock %}				
{% extends 'shop/base.html' %}
{% load staticfiles %}
{% load static %}

{% block css %}
<link rel="stylesheet" type="text/css" href="{% static 'shop/order.css' %}"/>
{% endblock %}

{% block content %}
<div class="after-navbar"></div>
<div class="container">
	<div class="row">
	{% for key,value in list.items %}
		<div class="col-md-3">

			<!-- PRICE ITEM -->
			<div class="panel price panel-red">
				<div class="panel-heading  text-center">
				<h3>{{ value.product_pk}}</h3>
				</div>
				<div class="panel-body text-center">
					<p class="lead" style="font-size:40px"><strong>{{ value.price }}</strong></p>
				</div>
				
				<ul class="list-group list-group-flush text-center">
					<li class="list-group-item"><i class="icon-ok text-danger"></i>
					 Quantity : {{value.quantity}}</li>
				</ul>
				{% if forloop.counter|divisibleby:4 and not forloop.last %}
				</div><br><div class="row">
				{% endif %}
				{% endfor %}
			</div>
			<!-- /PRICE ITEM -->
		</div>
	</div>
</div>
<div class="before-footer"></div>
{% endblock %}				
Add messages for search by brand or categories
Add messages for search by brand or categories
