diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_course_desktop_view.html.liquid index 6902b17e..aa39066e 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_course_desktop_view.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_course_desktop_view.html.liquid @@ -2,6 +2,7 @@ {% assign core = false %} {% assign partners = false %} {% assign redirect = false %} +{% assign both_gorups = false %} {% if current_person.signed_in? %} {% assign log_out = false %} @@ -18,15 +19,17 @@ {% endfor %} {% endif %} -{% if partners %} - {% assign redirect = false %} -{% else %} +{% if omni and core %} + {% assign both_gorups = true %} +{% endif %} + +{% unless partners or both_gorups %} {% if core and course.name contains 'Omni' %} - {% assign redirect = true %} + {% assign redirect = true %} {% elsif omni and course.name contains 'Core' %} - {% assign redirect = true %} - {% endif %} + {% assign redirect = true %} {% endif %} +{% endunless %} {% if redirect %} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid index b585bfc2..49acf7a1 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid @@ -3,7 +3,7 @@ {% for course in courses.in_catalog %} {% if current_person.signed_in? %} - {% if partners %} + {% if partners or both_gorups %}
{% include "cards_course" with course %}
diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_featured_courses.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_featured_courses.html.liquid index 5f9d6f7f..0f18622e 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_featured_courses.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_featured_courses.html.liquid @@ -2,6 +2,7 @@ {% assign core = false %} {% assign partners = false %} {% assign log_out = true %} +{% assign both_gorups = false %} {% if current_person.signed_in? %} {% assign log_out = false %} @@ -18,11 +19,21 @@ {% endfor %} {% endif %} +{% if omni and core %} + {% assign both_gorups = true %} +{% endif %}