<div class="np-catalog-courses row">
  {% for course in courses.in_catalog %}
    {% if course.name == "Gainsight Associate Admin Certificate: Level 1" or course.name == "Gainsight End User Certification" or course.name == "Gainsight PX Level 1 Certification" %}
      {% continue %}
    {% else %}
      {% assign course_categories = "" | split: "" %}
      {% assign course_types = "" | split: "" %}
      {% assign is_current_product = false %}

      {% for category in course.categories %}
        {% assign category_id = category.id | split: '!@#$%^&*()' %}
        {% assign category_name = category.name | downcase %}

        {% if category_name contains "[type]" %}
          {% assign course_types = course_types | concat: category_id %}
        {% else %}
          {% assign course_categories = course_categories | concat: category_id %}
        {% endif %}

        {% if category_name contains "[product]" and category_name contains product_name %}
          {% assign is_current_product = true %}
        {% endif %}
      {% endfor %}

      {% if is_current_product == true %}
        <div
          class="col-xs-12 col-md-6 col-lg-4 np-stretch-content filterable-card"
          data-categories="{{ course_categories }}"
          data-type="course {{ course_types }}">
          {% include "cards_course" with course %}
        </div>
      {% else %}
      {% endif %}
    {% endif %}
  {% endfor %}
</div>