Template changes for Williams-Sonoma, Artera, and Instacart.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
{% include "header" %}
|
||||
{% include "catalog_popup_message" %}
|
||||
{% comment %} {% include "catalog_popup_message" %} {% endcomment %}
|
||||
|
||||
{% include "sub_navigation" %}
|
||||
<main class="np-main np-catalog np-subpage-container np-max-width">
|
||||
@ -90,13 +90,13 @@
|
||||
const courseCategories = course.getAttribute("data-categories")
|
||||
const courseDuration = course.getAttribute("data-duration")
|
||||
|
||||
if
|
||||
if
|
||||
((courseCategories.includes(selectedCategoryFilterID) || selectedCategoryFilterID == "all" ) && (!selectedDurationFilters.length || (courseDuration <= maxDuration && courseDuration >= minDuration))) {
|
||||
course.style.display = "flex"
|
||||
} else {
|
||||
course.style.display = "none"
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user