Not really done videos before, i leave that to Marketing dept., but please let me give some more detail which may help
So we have a product called a CP P4 and CP Y4 (just using these to sort issue)
CP P4 has 3 pdf url’s listed on page currently Data sheet, Manual and Technical Datasheet - Data Sheet is the model detail and shows available variants, manual is basically instructions, but technical data sheet is related to the variant, so each variant has its own technical data sheet (variant is what we call model on the pages)
Obviously i can list them all with product.metafield, but would need to rename each one for every product and the number of variants can be much larger than these examples, so ideally a different technical datasheet is added when a guest selects a different model on the product page
Yes i can list each variant as a single product and avoid this as i can list the individual datasheets on each page, but that then means a huge collection page and not that user friendly maybe
The links are listed via a custom liquid file shown in theme edit here
Metafields
and the code so far
{% comment %} Manuals and data sheets links to sites pulling from product metafeilds only shows if info is there Can show multiple items with the for loop. {% endcomment %}
{% for item in product.metafields.custom.data_sheets.value -%}
{%- if item != blank -%}
{%- endif -%}
{%- endfor %}
{% for item in product.metafields.custom.manuals.value -%}
{%- if item != blank -%}
{%- endif -%}
{%- endfor %}
{% for item in product.metafields.custom.technical_datasheet.value -%}
{%- if item != blank -%}
{%- endif -%}
{%- endfor %}
{% for variant in product.variants %}
{{ variant.metafields.custom.technical_datasheet.value }}
{%- if item != blank -%}
{%- endif -%}
{%- endfor -%}
Sorry its a bit long winded and maybe confusing, but not sure how else to detail it


