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.

Collection selection and switching

Render collection positioning and real links before enhancing them into switchable panels. Keep names, images and introductions tied to the same collection record.

Data and dependencies

  • Collection block settings and actual collection objects.
  • Collection custom.selection_summary: single-line text.

Interaction logic

  • Keep a readable default and an explicit selected state.
  • Switch visibility without replacing destination links.
Example code · snippets/ww-series.liquid
Liquid · WESWOO
<section aria-labelledby="Series-{{ section.id }}">
  <h2 id="Series-{{ section.id }}">Choose a collection</h2>
  {% for block in section.blocks %}
    {% assign series = block.settings.collection %}
    {% if series != blank %}
      <article {{ block.shopify_attributes }}>
        <h3><a href="{{ series.url | escape }}">{{ series.title | escape }}</a></h3>
        <p>{{ series.metafields.custom.selection_summary.value | escape }}</p>
      </article>
    {% endif %}
  {% endfor %}
</section>

Acceptance checks

  • Open the correct collection from every entry.
  • Check keyboard access, repeated instances and phones.

The example is a stable linked-list baseline. A tab enhancement also needs aria-controls, keyboard movement and panel state.

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