{% if current_path %} {% set path_parts = current_path.strip('/').split('/') %} {% if path_parts|length == 1 %}

Products


{% set categories = category_list.distinct(fields=["Category", "Category Image", "Category Slug"]) %} {% for category in categories %}

{{ category['Category'] }}

View Products
{% endfor %}
{% elif path_parts|length == 2 %} {% set pathvalue = path_parts[1] %} {% set mycategory = category_list.filter({"Category Slug": pathvalue }) %} {% set catproducts = product_info.filter({"category": mycategory[0]['Category'] } , limit=100) %} {% set allCatproducts = product_info.filter({"category": mycategory[0]['Category'] } , limit=50000) %} {% set allAssets = assets.filter({} , limit=50000) %}

{{ mycategory[0]['Category'] }}


{% for product in catproducts %} {% set productassets = assets.filter({"mfg-part-oem": product['mfg-part-oem'] }) %}
{{ product['product-name'] }} Image

{{ product['product-name'] }}

Learn More
{% endfor %}
{% for product in allCatproducts %} {% endfor %} {% for asset in allAssets %} {% endfor %} {% elif path_parts|length == 3 %} {% set pathvalue = path_parts[2]|upper %} {% set pathvalue2 = path_parts[1] %} {% set productdetail = product_info.filter({"mfg-part-oem": pathvalue}) %} {% set assetdetail = assets.filter({"mfg-part-oem": pathvalue}) %} {% set overrides = {'title': productdetail[0]['product-name']} %} {% do set_page_overrides(overrides) %}
{% if productdetail[0]['mfg-part-oem'] %}

{{ productdetail[0]['mfg-part-oem'] }}

{% endif %}
{% if productdetail[0]['product-name'] %}

{{ productdetail[0]['product-name'] }}

{% endif %} {% if productdetail[0]['marketing-copy'] %} {% set marketingcopy = productdetail[0]['marketing-copy'] %}

{{ marketingcopy[:250] }}

{% endif %}
    {% set count = namespace(value=0) %} {% for i in range(1, 23) %} {% set feature_value_key = 'feature-benefit-bullet-%s' % i %} {% if productdetail[0][feature_value_key] %} 4 %} class="hidden"{% set count.value = count.value + 1 %}{% endif %}>{{ productdetail[0][feature_value_key] }} {% endif %} {% endfor %}
{% if count.value > 0 %} View More {% endif %}
{% if site.custom_fields['member_account_id'] == 'AC20030000502435' %} Get More Info {% else %} Buy Now {% endif %}
{% if productdetail[0]['assembled-height-in'] %}

Height

{{ productdetail[0]['assembled-height-in'] }}"

{% endif %} {% if productdetail[0]['assembled-weight-lbs'] %}

Weight

{{ productdetail[0]['assembled-weight-lbs'] }} lbs

{% endif %} {% if productdetail[0]['assembled-width-in'] %}

Width

{{ productdetail[0]['assembled-width-in'] }}"

{% endif %}
{% if productdetail[0]['manufacturer-warranty'] %}

Tool Warranty

{{ productdetail[0]['manufacturer-warranty'] }}

{% endif %} {% if productdetail[0]['assembled-depth-in'] %}

Depth

{{ productdetail[0]['assembled-depth-in'] }}"

{% endif %}
{% endif %} {% endif %}