diff --git a/lms/djangoapps/shoppingcart/models.py b/lms/djangoapps/shoppingcart/models.py index 4e821e0858..4864d930f9 100644 --- a/lms/djangoapps/shoppingcart/models.py +++ b/lms/djangoapps/shoppingcart/models.py @@ -312,7 +312,12 @@ class Order(models.Model): from_email=from_address, to=[recipient[1]] ) - email.content_subtype = "html" + + # only the business order is HTML formatted + # the single seat is simple text + if is_order_type_business: + email.content_subtype = "html" + if csv_file: email.attach(u'RegistrationCodesRedemptionUrls.csv', csv_file.getvalue(), 'text/csv') email.send()