From e33ee9701aadddec76e6c3558df22a9896a5f14c Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Tue, 17 Jun 2025 16:50:09 -0400 Subject: [PATCH] Supplier templates --- .../Walmart Supplier Prod/_cards_course.html.liquid | 3 ++- .../Walmart Supplier Prod/_search_result.html.liquid | 4 +++- .../Walmart Supplier Prod/course.html.liquid | 2 ++ .../Walmart Supplier Prod/search.html.liquid | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_course.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_course.html.liquid index cfe32b6a..bec6767b 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_course.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_course.html.liquid @@ -1,6 +1,7 @@ {% assign skip_course_page = false %} {% for category in course.categories %} - {% if category.name == 'Blog' or category.name == 'HelpDoc' %} + {% if category.name == 'Blog' %} + {% comment %}{% or category.name == 'HelpDoc' %} {% endcomment %} {% assign skip_course_page = true %} {% endif %} {% endfor %} diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_search_result.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_search_result.html.liquid index 5c2a4991..9c4e60e8 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_search_result.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_search_result.html.liquid @@ -1,4 +1,5 @@ -
+{% if result.type == "course" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/course.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/course.html.liquid index a2f0b6ca..d5dc1020 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/course.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/course.html.liquid @@ -5,11 +5,13 @@ {% endif %} {% assign skip_overview = false %} +{% comment %} {% for category in course.categories %} {% if category.name == 'HelpDoc' %} {% assign skip_overview = true %} {% endif %} {% endfor %} + {% endcomment %} {% if skip_overview %} {% if course.enrolled? %}