Project portfolio Browse selected work

Shopify Plus Upgrade Monthly Fee Reduction + Up to $4800 Development Fee Credit - Exclusive WesWoo Offer

Developer modules / Home, collections and trust

Home, collections and trust

Move from the first-view proposition to collections and products, supported by attributable evidence.

Hero, heading and video

Keep the heading and primary destination in HTML. Let a poster carry the first view and expose video controls. Review crop and copy length on phones.

Data and dependencies

  • heading/summary are text; poster is image_picker.
  • video is a Shopify video setting; collection is a collection setting.

Interaction logic

  • Show the heading, poster and link first.
  • Expose playback controls and avoid forced autoplay.
Example code · snippets/ww-hero.liquid
Liquid · WESWOO
<section aria-labelledby="Hero-{{ section.id }}">
  <h1 id="Hero-{{ section.id }}">{{ section.settings.heading | escape }}</h1>
  <p>{{ section.settings.summary | escape }}</p>
  {% if section.settings.poster != blank %}
    {{ section.settings.poster | image_url: width: 1600 | image_tag: widths: '480, 800, 1200, 1600', sizes: '100vw', loading: 'eager' }}
  {% endif %}
  {% if section.settings.video != blank %}
    {{ section.settings.video | video_tag: controls: true, autoplay: false, preload: 'none' }}
  {% endif %}
  {% if section.settings.collection != blank %}
    <a href="{{ section.settings.collection.url | escape }}">Explore {{ section.settings.collection.title | escape }}</a>
  {% endif %}
</section>

Acceptance checks

  • Keep one main H1 outside the image.
  • Check long headings, media failure and phone controls.

Use this fragment for the main page hero. Use the appropriate heading level for a section further down the page.

Read it, integrate it, verify it

  1. Choose a module and confirm the data contract.
  2. Connect the fragment to the current theme or framework.
  3. Check real variants, markets and recovery states.

Examples target Shopify Online Store 2.0 themes. Headless has separate data and version boundaries. Integrate fragments with actual fields, theme components and locale files.

Architecture references

Original educational examples with Shopify documentation and pinned upstream references. Follow the applicable license when adopting repository code.

Shopify/dawn · Licensecommit 3e9ee2281dc4 · Shopify-integration theme license; architecture reference without copying the implementation.
Shopify/hydrogen · Licensecommit 9e358a2462ba · MIT; retain copyright and license when using substantial code.

References checked 2026-11-12