Class Item
Filename
CourseClassItem.tml
Produces the brief, panelled class descriptions.
You can add some extra detail to show the number of places left in a class by adding the following piece of code to this template.
<t:if test="isInStock">
<link itemprop="availability" href="http://schema.org/InStock"/>
<p:else>
<link itemprop="availability" href="http://schema.org/OutOfStock"/>
</p:else>
</t:if>
When added correctly you should see the following text below your Enrol Now buttons
Updated 6 months ago