Copy-paste a Liquid snippet for utility - When search returns nothing, show popular categories - recovers the dead-end search.
Nothing found - try these instead:
1<div class="gpl-nores">2 <p class="gpl-nores__text">Nothing found - try these instead:</p>3 <div class="gpl-nores__links">4 {%- assign rows = links | newline_to_br | split: '<br />' -%}5 {%- for row in rows -%}6 {%- assign parts = row | strip | split: '|' -%}7 <a href="{{ parts[1] | strip | default: '#' }}">{{ parts[0] | strip }}</a>8 {%- endfor -%}9 </div>10</div>
Full source is for members
One payment - every snippet, guide and bundle