Project portfolio Browse selected work

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

Developer modules / Data and implementation foundations

Data and implementation foundations

Define ownership and inputs before choosing a Liquid or Headless implementation.

Shared specifications, policies and resources

Create a field dictionary that separates shared product facts, variant differences and reusable entries. Render only populated public records and keep product, collection, help and summary surfaces consistent.

Data and dependencies

  • custom.specification_rows: list.metaobject_reference.
  • Define label, spec_value and unit as single-line text fields.

Interaction logic

  • Handle draft, missing and removed entries explicitly.
  • Read variant-specific values from the actual variant.
Example code · snippets/ww-specifications.liquid
Liquid · WESWOO
{% assign rows = product.metafields.custom.specification_rows.value %}
{% if rows != blank %}
  <table>
    <caption>{{ product.title | escape }} — specifications</caption>
    <tbody>
      {% for row in rows %}
        {% if row.label.value != blank and row.spec_value.value != blank %}
          <tr>
            <th scope="row">{{ row.label.value | escape }}</th>
            <td>{{ row.spec_value.value | escape }} {{ row.unit.value | escape }}</td>
          </tr>
        {% endif %}
      {% endfor %}
    </tbody>
  </table>
{% endif %}

Acceptance checks

  • Compare one fact across cards, tables and explanations.
  • Recheck every reference after a value or unit changes.

The custom field names are sample definitions. They do not create admin data or grant storefront access.

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