diff --git a/tailbone/views/products.py b/tailbone/views/products.py index 2f7bf02d..a59df32f 100644 --- a/tailbone/views/products.py +++ b/tailbone/views/products.py @@ -558,8 +558,10 @@ class ProductView(MasterView): def render_suggested_price(self, product, column): text = self.render_price(product, column) + if not text: + return - if text and self.show_price_effective_dates(): + if self.show_price_effective_dates(): history = self.get_suggested_price_history(product) if history: date = localtime(self.rattail_config, history[0]['changed'], from_utc=True).date()