diff --git a/lms/djangoapps/shoppingcart/models.py b/lms/djangoapps/shoppingcart/models.py index 980d8f713f..d613903057 100644 --- a/lms/djangoapps/shoppingcart/models.py +++ b/lms/djangoapps/shoppingcart/models.py @@ -380,10 +380,6 @@ class CertificateItem(OrderItem): else: return super(CertificateItem, self).single_item_receipt_template - @property - def single_item_receipt_context(self): - return {"course_name": course_from_id(self.course_id).display_name} - @property def additional_instruction_text(self): return textwrap.dedent( diff --git a/lms/djangoapps/shoppingcart/views.py b/lms/djangoapps/shoppingcart/views.py index f9a9216b3b..fff8b22e08 100644 --- a/lms/djangoapps/shoppingcart/views.py +++ b/lms/djangoapps/shoppingcart/views.py @@ -109,11 +109,9 @@ def show_receipt(request, ordernum): 'order': order, 'order_items': order_items, 'any_refunds': any_refunds, - 'course_name' : "", } if order_items.count() == 1: receipt_template = order_items[0].single_item_receipt_template - context.update(order_items[0].single_item_receipt_context) return render_to_response(receipt_template, context) diff --git a/lms/templates/shoppingcart/receipt.html b/lms/templates/shoppingcart/receipt.html index 4a5d9acbc9..7802f88dea 100644 --- a/lms/templates/shoppingcart/receipt.html +++ b/lms/templates/shoppingcart/receipt.html @@ -18,54 +18,6 @@
- - <%include file="/verify_student/_verification_header.html" args="course_name=course_name" /> - -
-
-

${_("Your Progress")}

- -
    -
  1. - 0 - ${_("Current Step: ")}${_("Intro")} -
  2. - -
  3. - 1 - ${_("Take Photo")} -
  4. - -
  5. - 2 - ${_("Take ID Photo")} -
  6. - -
  7. - 3 - ${_("Review")} -
  8. - -
  9. - 4 - ${_("Make Payment")} -
  10. - -
  11. - - - - ${_("Confirmation")} -
  12. -
- - - - -
-
- -

${_(settings.PLATFORM_NAME + " (" + settings.SITE_NAME + ")" + " Electronic Receipt")}