Cin7 templates, Luminate templates. Walmart scripts and directory reorg

This commit is contained in:
Norm Rasmussen
2024-08-19 17:06:01 -04:00
parent d4c72dcc79
commit 46240bb702
133 changed files with 8027 additions and 83 deletions

View File

@ -1,24 +1,7 @@
{% assign omni = false %}
{% assign core = false %}
{% assign partners = false %}
{% assign log_out = true %}
{% assign both_gorups = false %}
{% if current_person.signed_in? %}
{% assign log_out = false %}
{% for group in current_person.groups %}
{% if group.name contains 'Partners' %}
{% assign partners = true %}
{% elsif group.name contains 'Core' %}
{% assign core = true %}
{% elsif group.name contains 'Omni' %}
{% assign omni = true %}
{% endif %}
{% endfor %}
{% endif %}
{% if omni and core %}
{% assign both_gorups = true %}
{% endif %}
{% include "header" %}
@ -35,7 +18,7 @@
</div>
</div>
{% if results.items.any? %}
{% render "search_result" for results.items as result, core: core , omni: omni, partners: partners, both_gorups: both_gorups %}
{% render "search_result" for results.items as result %}
{% else %}
{% include "search_zero_state" %}
{% endif %}