How can I alter the featured product image on the Dawn theme?

Topic summary

Main issue: On the Dawn theme, the collection page is showing a variant image instead of the product’s featured image (the first/primary product image). Desired behavior: show the product’s featured image on collection/product display.

Clarification: Collection pages are intended to show the product’s featured image; product pages default to the first variant’s image. Store link and screenshots were requested to verify behavior.

Proposed fix (code): Edit /sections/main-product.liquid

  • Change featured media assignment: product.selected_or_first_available_variant.featured_media → product.featured_media
  • Update the “unless” check: media.id == product.selected_or_first_available_variant.featured_media.id → media.id == product.featured_media.id
    This makes the product page default to the product’s featured image rather than the first variant’s image. Code changes are central.

Open questions:

  • Compatibility with Dawn v11.0 not confirmed.
  • Variant images no longer all visible on the product page in Dawn; they only show when a variant is selected. No solution provided yet.

Resource: A YouTube tutorial link was shared to achieve the change.

Status: Ongoing; awaiting store details, confirmation of version compatibility, and guidance on restoring visible variant images.

Summarized with AI on January 6. AI used: gpt-5.

You have to make changes . Edit code of DAWN theme and make changes to /sections/main-product.liquid file Line# 59 and 66

line 59

{%- assign featured_media = product.selected_or_first_available_variant.featured_media -%}

To

{%- assign featured_media = product.featured_media -%}

line : 66

{%- unless media.id == product.selected_or_first_available_variant.featured_media.id -%}

To

{%- unless media.id == product.featured_media.id -%}