From ef47fa96d4a95eb1cf633f4fcaa6e7b2739c7930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Tue, 31 May 2016 20:35:20 +0200 Subject: [PATCH] Add price to product detail --- shop/templates/product_detail.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/shop/templates/product_detail.html b/shop/templates/product_detail.html index d2794126..d0d295b0 100644 --- a/shop/templates/product_detail.html +++ b/shop/templates/product_detail.html @@ -1,6 +1,7 @@ {% extends 'shop_base.html' %} {% load bootstrap3 %} {% load commonmark %} +{% load shop_tags %} {% block shop_content %} @@ -13,6 +14,13 @@
+

+ Price
+ {{ product.price|currency }} +

+ +
+

Add to order

{% if user.is_authenticated %}