Add price to product detail
This commit is contained in:
parent
ce70df9918
commit
ef47fa96d4
|
@ -1,6 +1,7 @@
|
||||||
{% extends 'shop_base.html' %}
|
{% extends 'shop_base.html' %}
|
||||||
{% load bootstrap3 %}
|
{% load bootstrap3 %}
|
||||||
{% load commonmark %}
|
{% load commonmark %}
|
||||||
|
{% load shop_tags %}
|
||||||
|
|
||||||
{% block shop_content %}
|
{% block shop_content %}
|
||||||
|
|
||||||
|
@ -13,6 +14,13 @@
|
||||||
|
|
||||||
<div class="col-sm-12 col-md-4">
|
<div class="col-sm-12 col-md-4">
|
||||||
|
|
||||||
|
<h3>
|
||||||
|
<small>Price</small><br />
|
||||||
|
{{ product.price|currency }}
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
<h3>Add to order</h3>
|
<h3>Add to order</h3>
|
||||||
|
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
|
|
Loading…
Reference in a new issue