Product

Featured Media (OS 2.0)

Accesses the primary media object, which may be an image, video, or 3D model.

Copy or embed this snippet

{% if product.featured_media %}
  {% render 'product-media', media: product.featured_media %}
{% endif %}

Embed this snippet on your blog or docs — attribution link appreciated: HTMLToLiquid Converter · Convert to Shopify section →

Generate Shopify sections

Free AI-powered converter — OS 2.0 compatible output with schema validation.

Start converting HTML