Project portfolio Browse selected work

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

Developer modules / Help, manuals and policies

Help, manuals and policies

Connect questions and models to resources, applicable policies, accounts and human support.

Regional shipping, returns and warranty

Match the region to applicable terms before reusing summaries across product, reassurance and help modules. Re-evaluate after a region change and do not substitute arbitrary terms for an unmatched region.

Data and dependencies

  • shop.custom.market_policies: list.metaobject_reference.
  • country_code/title/summary are text; policy_page is a page reference.

Interaction logic

  • Render only records matching the current country code.
  • Provide contact or a policy index when none match.
Example code · snippets/ww-market-policy.liquid
Liquid · WESWOO
{% assign policies = shop.metafields.custom.market_policies.value %}
{% assign country_code = localization.country.iso_code %}
{% for policy in policies %}
  {% if policy.country_code.value == country_code %}
    <section>
      <h2>{{ policy.title.value | escape }}</h2>
      <p>{{ policy.summary.value | escape }}</p>
      {% if policy.policy_page.value != blank %}
        <a href="{{ policy.policy_page.value.url | escape }}">Read the applicable policy</a>
      {% endif %}
    </section>
  {% endif %}
{% endfor %}

Acceptance checks

  • Compare policy text, summary and service ownership.
  • Check region changes, return conditions and required evidence.

Country matching is an example. Model multi-country markets, B2B contracts and product exceptions explicitly.

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