<div class="np-catalog-courses row">
  {% for learning_path in learning_paths.available %}
    {% assign learning_path_categories = "" | split: "" %}
    {% assign learning_path_types = "" | split: "" %}
    {% assign is_current_product = false %}

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

      {% if category_name contains "[type]" %}
        {% assign learning_path_types = learning_path_types | concat: category_id %}
      {% else %}
        {% assign learning_path_categories = learning_path_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="{{ learning_path_categories }}"
        data-type="learning-path {{ learning_path_types }}"
        data-id="{{ learning_path.id }}">
        {% include "cards_learning_path_vertical" with learning_path %}
      </div>
    {% endif %}
  {% endfor %}
</div>