Project portfolio Browse selected work

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

Developer modules / Cart, totals and promotions

Cart, totals and promotions

Render server-owned line items before totals, payments and promotion conditions.

Totals, payment types and reassurance

Distinguish discounted item totals, shipping/tax calculations and the final checkout result. Payment icons reflect configured types; validate eligibility for the target market at checkout.

Data and dependencies

  • cart.total_price with money_with_currency.
  • shop.enabled_payment_types and policy pages.

Interaction logic

  • Refresh authoritative totals after cart changes.
  • Keep reassurance linked to the same policy record.
Example code · snippets/ww-cart-summary.liquid
Liquid · WESWOO
<dl>
  <dt>Items after applied discounts</dt>
  <dd>{{ cart.total_price | money_with_currency }}</dd>
</dl>
<p>Shipping, taxes and final eligibility are confirmed at checkout.</p>
{% if shop.shipping_policy != blank %}
  <a href="{{ shop.shipping_policy.url | escape }}">Shipping conditions</a>
{% endif %}
{% if shop.refund_policy != blank %}
  <a href="{{ shop.refund_policy.url | escape }}">Return conditions</a>
{% endif %}
<ul aria-label="Supported payment types">
  {% for type in shop.enabled_payment_types %}
    <li>{{ type | payment_type_svg_tag }}</li>
  {% endfor %}
</ul>

Acceptance checks

  • Compare product, cart and checkout amounts/currencies.
  • Check payment, shipping and returns for the target market.

An icon does not establish eligibility for every shopper or that all taxes have been calculated.

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