Adding a course-specific completion time to a certificate?

Thanks so much @Andres.Aulasneo! I got it working by adding the

{
 "hours": "50"
}

you mentioned, to the class Advanced Settings + adding the following to my certificate template, with a basic conditional check based on other stuff I saw in the file already.

                    <div class="accomplishment-regular-text subscript">
                        <p>
                        % if hours:
                        This class takes ${hours} hours to complete.
                        % endif
                    </div>

Now if a class has the hours set, it will be included, but other classes will just work the same until I figure out the hours.

I’m pumped :smiley:

1 Like