From 4a50479ea95928a831dee42676287683c738af1d Mon Sep 17 00:00:00 2001 From: freelancer79 <3754311+lonewolf9277@users.noreply.github.com> Date: Thu, 26 Oct 2023 19:16:25 +0500 Subject: [PATCH] buy button with price --- src/views/course.ejs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/course.ejs b/src/views/course.ejs index a392eb8..fed9b1c 100644 --- a/src/views/course.ejs +++ b/src/views/course.ejs @@ -21,6 +21,9 @@
<%= course.shortDescription %>
<%= course.duration %> <%= course.durationType %>
<%= course.difficulty %>
+ <% if(course.price){ %> + Buy for $<%= course.price %> + <% } %>