Afterpay Product Page assets showing twice

Hi Jason,
Thank you for your response.

Yes, I pasted the code at the end as per the instructions from AfterPay. I have inserted the code in a block, is this better?

Apologies, I am not good at coding so I am learning very quickly here.

My shop link is www.nogrow.com.au

Thank you


  
  
  
  
  

  {%- if canonical_url != blank  -%}
    
  {%- endif -%}

  {%- if settings.favicon != blank -%}
    
  {%- endif -%}

  {%- capture seo_title -%}
    {%- if request.page_type == 'search' and search.performed == true -%}
      {{ 'general.search.heading' | t: count: search.results_count }}: {{ 'general.search.results_with_count' | t: terms: search.terms, count: search.results_count }}
    {%- else -%}
      {{ page_title }}
    {%- endif -%}
    {%- if current_tags -%}
      {%- assign meta_tags = current_tags | join: ', ' -%} – {{ 'general.meta.tags' | t: tags: meta_tags -}}
    {%- endif -%}
    {%- if current_page != 1 -%}
      – {{ 'general.meta.page' | t: page: current_page }}
    {%- endif -%}
    {%- assign escaped_page_title = page_title | escape -%}
    {%- unless escaped_page_title contains shop.name -%}
      – {{ shop.name }}
    {%- endunless -%}
  {%- endcapture -%}
  

  {%- if page_description -%}
    
  {%- endif -%}

  {% include 'social-meta-tags' %}

  {{ 'theme.scss.css' | asset_url | stylesheet_tag }}

  

  {%- if request.page_type contains 'customers/' -%}
    
  {%- endif -%}

  
  
  

  {{ content_for_header }}

  {{ 'general.accessibility.skip_to_content' | t }}

  {%- if settings.enable_ajax -%}
    {% include 'cart-popup' %}
  {%- endif -%}

  {% section 'header' %}

  

    

    {% section 'footer' %}

    
      {{- 'sections.slideshow.navigation_instructions' | t -}}
    

  

  
    - {{ 'general.accessibility.refresh_page' | t }}

    - {{ 'general.accessibility.selection_help' | t }}