From 3338a1d3e732a61b78e64b48157c0e47d923245a Mon Sep 17 00:00:00 2001 From: Artur Borecki Date: Wed, 20 May 2026 19:14:59 +0200 Subject: [PATCH] feat(course_page.html): show notice if course doesn't have an assigned product --- home/templates/home/course_page.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/templates/home/course_page.html b/home/templates/home/course_page.html index 9f559e0..dbed981 100644 --- a/home/templates/home/course_page.html +++ b/home/templates/home/course_page.html @@ -49,6 +49,10 @@ {% trans "Sign Up" %} + {% elif not page.purchasable_products.exists %} +
+

{% trans "Course is not yet available for purchase. Please check back later." %}

+
{% else %}

{% trans "You don't have access to this course. Please purchase it to view the modules." %}