Class Item
Filename
CourseClassItem.tml
Produces the brief, panelled class descriptions.
![Snapshot display of Course Class and Class Times](https://files.readme.io/b87aa31-image.png)
Snapshot display of Course Class and Class Times
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
![Snapshot display of Course Class and Class Times](https://files.readme.io/233b93e-image.png)
Snapshot display of Course Class and Class Times
Updated 9 months ago