diff --git a/tailbone/views/products.py b/tailbone/views/products.py index 0b60e79d..43b6d93e 100644 --- a/tailbone/views/products.py +++ b/tailbone/views/products.py @@ -509,7 +509,7 @@ class ProductsView(MasterView): def warn_if_regprice_more_than_srp(self, product, text): sugprice = product.suggested_price.price if product.suggested_price else None regprice = product.regular_price.price if product.regular_price else None - if sugprice and regprice and sugprice > regprice: + if sugprice and regprice and sugprice < regprice: return HTML.tag('span', style='color: red;', c=text) return text