{% layout none %} {%- capture contentForQuerystring -%}{{ content_for_header }}{%- endcapture -%} {%- assign page_url = contentForQuerystring | split:'"pageurl":"' | last | split:'"' | first | split:'.myshopify.com' | last | replace:'\/','/' | replace:'%20',' ' | replace:'\u0026','&' -%} {%- assign param_page = '' -%} {%- for i in (1..1) -%} {%- unless page_url contains "?" -%}{% break %}{%- endunless -%} {%- assign query_string = page_url | split:'?' | last -%} {%- assign qry_parts= query_string | split:'&' -%} {%- assign checkcon = 0 -%} {%- for part in qry_parts -%} {%- assign key_and_value = part | split:'==' -%} {%- if key_and_value.size > 1 -%} {% if key_and_value[0] == 'outerclass' %} {%- assign outerclass = key_and_value[1] | default: '' -%} {% endif%} {% if key_and_value[0] == 'outerstyle' %} {%- assign outerstyle = key_and_value[1] | default: '' -%} {% endif%} {% if key_and_value[0] == 'innerclass' %} {%- assign innerclass = key_and_value[1] | default: '' -%} {% endif%} {% if key_and_value[0] == 'innerstyle' %} {%- assign innerstyle = key_and_value[1] | default: '' -%} {% endif%} {% if key_and_value[0] == 'imageclass' %} {%- assign imageclass = key_and_value[1] | default: '' -%} {% endif%} {% if key_and_value[0] == 'imagestyle' %} {%- assign imagestyle = key_and_value[1] | default: '' -%} {% endif%} {% if key_and_value[0] == 'textclass' %} {%- assign textclass = key_and_value[1] | default: '' -%} {% endif%} {% if key_and_value[0] == 'textstyle' %} {%- assign textstyle = key_and_value[1] | default: '' -%} {% endif%} {% if key_and_value[0] == 'smarthGroup' %} {%- assign group = key_and_value[1] | default: '' -%} {% endif%} {% if key_and_value[0] == 'maxdisplay' %} {%- assign maxdisplay = key_and_value[1] | plus:0 -%} {% endif%} {%- endif -%} {%- endfor -%} {% render 'smarth',product: product,hideAssets:'0',smarthGroup:group,smarthOuterClass:outerclass,smarthOuterStyle:outerstyle,smarthInnerClass:innerclass,smarthInnerStyle:innerstyle,smarthImageClass:imageclass,smarthImageStyle:imagestyle,smarthTextClass:textclass,smarthTextStyle:textstyle,smarthMaxDisplayHighlight:maxdisplay %} {%- endfor -%}