HTML Amazon Spreadr app need to possibly add to store

jasiri63
Excursionist
33 0 7

I downloaded Amazon Spreadr to my store (prestige theme) and from what I can tell it automatically added the integration html. I am aadding in that html below...all of the sections and snipets that I checked don't look like the guide section html. Can someone tell if I need to do anything? I found it on the sidebar as it's own section.

 

Thanks

Sandra

 

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] == 's_classes' %}
{%- assign s_classes = key_and_value[1] | default: '' -%}
{% endif%}
{% if key_and_value[0] == 's_style' %}
{%- assign s_style = key_and_value[1] | default: '' -%}
{% endif%}
{%- endif -%}
{%- endfor -%}

{% render 'spreadr-custom', product:product, s_showSpreadr:1, s_hideCart:1 , s_classes: s_classes, s_style: s_style %}

{%- endfor -%}

Reply 1 (1)

jasiri63
Excursionist
33 0 7

It's been resolved