From 9f14d01c22d3673248652d76af1de2a84ba220dd Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 20 Dec 2017 19:01:53 -0600 Subject: [PATCH] Add "price required" flag to product view --- tailbone/templates/products/view.mako | 1 + tailbone/views/products.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tailbone/templates/products/view.mako b/tailbone/templates/products/view.mako index 4be1a675..e7026713 100644 --- a/tailbone/templates/products/view.mako +++ b/tailbone/templates/products/view.mako @@ -121,6 +121,7 @@ <%def name="render_price_fields(form)"> + ${render_field_readonly(form.fieldset.price_required)} ${render_field_readonly(form.fieldset.regular_price)} ${render_field_readonly(form.fieldset.current_price)} ${render_field_readonly(form.fieldset.current_price_ends)} diff --git a/tailbone/views/products.py b/tailbone/views/products.py index 6f5619f8..05757bf9 100644 --- a/tailbone/views/products.py +++ b/tailbone/views/products.py @@ -350,6 +350,7 @@ class ProductsView(MasterView): fs.category, fs.family, fs.report_code, + fs.price_required, fs.regular_price, fs.current_price, fs.current_price_ends,