From 183b3e82f0ed50926f3cf3ecba11dd633db8e8de Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Mon, 8 Sep 2025 16:47:28 -0400 Subject: [PATCH] Walmart supplier, new templates. --- .../_filter_by_category.html.liquid | 10 +++---- .../Walmart Supplier Prod/_header.html.liquid | 28 +++++++++++++++---- .../_welcome_section_opencall.html.liquid | 4 +-- .../Walmart Supplier Prod/contact.html.liquid | 1 - .../opencall.html.liquid | 7 +++-- 5 files changed, 34 insertions(+), 16 deletions(-) diff --git a/Custom_Templates/customer_templates/Anthology Academy/_filter_by_category.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_filter_by_category.html.liquid index 88738ccf..fe964f95 100644 --- a/Custom_Templates/customer_templates/Anthology Academy/_filter_by_category.html.liquid +++ b/Custom_Templates/customer_templates/Anthology Academy/_filter_by_category.html.liquid @@ -98,13 +98,13 @@ console.log(allCategoryFilters.length); for(let i = 1; i < allProductFiltersEntry.length; i++){ allProductFiltersEntry[i].style.display = 'block'; } - + if(event.target.value != 'Default'){ for(let i = 1; i < allProductFiltersEntry.length; i++){ let productFound = false; - + for(let j = 0; j < allFilteredResults.length; j++){ - + if(allFilteredResults[j].dataset.product){ if(allFilteredResults[j].dataset.product.indexOf(allProductFiltersEntry[i].getAttribute('value')) > -1){ if(!allFilteredResults[j].classList.contains('filtered')){ @@ -113,7 +113,7 @@ console.log(allCategoryFilters.length); } } } - + if(!productFound){ allProductFiltersEntry[i].style.display = 'none'; } @@ -146,7 +146,7 @@ console.log(allCategoryFilters.length); // if(catFound){ // allCategoryFiltersEntry[i].style.display = 'block'; - // } + // } // } // Last step is to return cat dropdown to always be all cats on product selection diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_header.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_header.html.liquid index 2a709ba0..b2c91132 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_header.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_header.html.liquid @@ -215,11 +215,29 @@ -
  • - - Contact - -
  • + + + diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_welcome_section_opencall.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_welcome_section_opencall.html.liquid index ad37fbf9..f1f4be59 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_welcome_section_opencall.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_welcome_section_opencall.html.liquid @@ -8,8 +8,8 @@ diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/contact.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/contact.html.liquid index 60711678..94b309b1 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/contact.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/contact.html.liquid @@ -5,7 +5,6 @@ {% endif %} {% include "header" %} -{% include "sub_navigation" %}

    Complete the form below to contact the Supplier Academy team.

    diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/opencall.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/opencall.html.liquid index 8fee74b3..54675f3d 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/opencall.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/opencall.html.liquid @@ -17,9 +17,10 @@
    {% include 'welcome_section_opencall' %}
    - {% for learning_path in learning_paths.enrolled %} + {% assign opencall_enrolled_lps = learning_paths.enrolled | sort: "name" %} + {% for learning_path in opencall_enrolled_lps %} {% for category in learning_path.categories %} - {% if category.name == "Sam's Club" %} + {% if category.name == "Open Call" %} {% include "cards_learning_paths_squares" %} {% endif %} {% endfor %} @@ -38,4 +39,4 @@ .grid { flex-direction: column; } - \ No newline at end of file +