Move positioning of SIZE GUIDE snippet on product page

Hi there,

I followed the steps for the size guide snippet here:

https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-vintage-themes/add-size-chart

The size guide is great and works, but I would like it to sit below the product description. I can’t drag in the customisation section as it is attached to the ADD TO CART button for some reason, and I want this to stay where it is.

This is the code I have within main-product.liquid to get me the size guide:

{% if product.options contains 'Size' %}
      {% assign chart = product.type | handleize | append: "-size-chart" %}
      {% unless pages[chart].empty? or pages[chart].content == blank %}
        SIZE GUIDE
      {% endunless %}
    {% endif %}

I’ve tried moving where this is written but have only managed to get it to sit beneath the photos on the left hand side. which I don’t want. I’d like it to sit beneath the product description.

Right now it is sitting directly underneath this code:


Any help with telling me where it should be written to sit as I want it would be amazing!

Preview to website: https://cztnwrh9s3509j7z-55043031221.shopifypreview.com

You can click through and size guide will be visible on every product that is not a hat.

Thanks!

Hi @Elliott94 ,

Please find ‘product__description’ and add code here:

it will show below the product description.

Hope it helps!

Hi @Elliott94

Custom themes will have different sections structure, so you need to see in the file where the ‘product__description’ section is located and add it after:


...

-> Paste code here

If it doesn’t work, please share the structures in the file with us. Then, we will check it for you.