I tried your solution but I get a weird result. Part of the code is shown as text on the product page:
This is the code I was using:
{% for variant in product.variants %}
{% if product.selected_or_first_available_variant.id == variant.id %}
{{ variant.metafields.custom.angezeigte_lieferzeit }}
{% endif %}
{% endfor %}
What am I missing? This is the page I am trying to add it to:
https://studiowohnglueck.de/products/90-wandleuchte?variant=49189101273356
